Skip to navigation

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
itemstring or nullOptional

ID of the item the incentive is attached to, or null.

createdstringOptional
last_updatedstringOptional
expiresstring or nullOptional

When the incentive expires, or null if it doesn’t.

stacking_typeenumOptional
Allowed values:
incentiveobjectOptional
applied_atstring or nullOptional

When the incentive was applied, or null if it hasn’t been.

Errors

400
Bad Request Error