v1

latestOpenAPI 3.0.12026-07-242871595.3 MB
ORDERS

Get all discounts for an order

Returns all discount details for an orderid.

get/v3/merchants/{mId}/orders/{orderId}/discounts

Path parameters

mIdstring required

Merchant Id

orderIdstring required

Order Id

Headers

User-Agentstring required

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

Response

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