v1

latestOpenAPI 3.0.12026-07-242871595.3 MB
INVENTORY

Create a discount

post/v3/merchants/{mId}/discounts

Path parameters

mIdstring required

Merchant Id

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>

Request body

idstring

Unique identifier

namestring required

Name of the discount

amountinteger

Discount amount in fraction of currency unit (e.g. cents) based on currency fraction digits supported.

percentageinteger

Discount amount in percent