Update

View as Markdown

Updates an existing one-time incentive.

This endpoint accepts the Application API Scope only. Storefront API Scope signatures are rejected.

Authentication

x-api-keystring

Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.

Path parameters

one_time_incentive_idstringRequired

Request

This endpoint expects an object.
external_codestringOptional
External Code
descriptionstringOptional
Description
orderstringOptional
Order ID
itemstringOptional
Item ID
incentiveobjectOptional
Incentive Object

Response

200
public_idstringOptional
external_codestringOptional
descriptionstringOptional
merchantstringOptional
customerstringOptional
orderstringOptional
createdstringOptional
last_updatedstringOptional
incentiveobjectOptional

Errors

400
Bad Request Error