Create
Creates a one-time discount and attaches it to a specific item, order, or shipping rate for an individual customer.
Authentication
x-api-keystring
API Key authentication via header
Request
This endpoint expects an object.
merchant
Merchant ID
customer
Customer ID
description
Description
expires
Date by which Order Must Place to Apply discount
item
Send Item ID to apply a One Time Incentive to a specific item. This field and order are mutually exclusive, but one is required.
order
Send Order ID to apply a One Time Incentive to a specific order. This field and item are mutually exclusive, but one is required.
stacking_type
Choose ‘base’ or ‘additional’ for a standard discount or an additive one (defaults to ‘base’)
external_code
External Code
incentive
Incentive Object
Response
201
One Time Item Discount
OR
One Time Order Total Discount
OR
One Time Order Shipping Discount
OR
One Time Order Total Discount (With Threshold)
OR
One Time All Order Items Discount
Errors
400
Bad Request Error