Skip to main content
POST
Get Discounts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
profileId
string<uuid>
required

Profile ID of member

Example:

"67460e74-02e3-11e8-b443-00163e990bdb"

entityReference
string
required

External reference of the store where the transaction occurred

Minimum string length: 1
Example:

"Company_Club"

transactionTimestamp
string<date-time>
required

Transaction timestamp (UTC format)

Example:

"2020-02-08 09:30:26"

taxAmount
number<float>
required

Tax amount

Example:

1

grossAmount
number<float>
required

Gross amount of the transaction (before discount)

Example:

6

netAmount
number<float>
required

Net amount of the transaction (after discount).

Example:

5

transactionItems
object[]

Response

Ok

Response of the Discounts API

status
integer<int32>

Status of the call

Example:

200

message
string
default:Exception message

Message corresponding to the call

Example:

"Created"

errors
Errors · object

Error details, if applicable

Example:
data
Data · object[]