Create
Creates a one-time discount and attaches it to a specific item, order, or shipping rate for an individual customer.
This endpoint accepts the Application API Scope only. Storefront API Scope signatures are rejected.
Authentication
Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.
Request
Send Item ID to apply a One Time Incentive to a specific item. This field and order are mutually exclusive, but one is required.
Send Order ID to apply a One Time Incentive to a specific order. This field and item are mutually exclusive, but one is required.
Choose ‘base’ or ‘additional’ for a standard discount or an additive one (defaults to ‘base’)
Incentive Object. type selects the shape: send Discount for a discount incentive or Gift to add a free product. The remaining fields differ between the two.