sale/customer/addReward
POST
/sale/customer/addRewardThis adds a reward transaction to add or subtract points for a specific customer in the Equotix One account.
Request
Body Params application/json
domain
string
required
The domain you are assigned to authenticate your Equotix One account.
api_key
string
required
The email address assigned to the user account in your Equotix One.
auth_timestamp
integer
required
The unix timestamp used to sign this API request.
auth_signature
string
required
The calculated signature for this API request.
customer_id
integer
required
The customer ID to update specifically.
reward
integer
required
The number of points to add or subtract.
description
string
required
The transaction description
Example
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"customer_id": 0,
"reward": 0,
"description": "string"
}
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
array[string]
optional
Returns only if there is an error.
success
boolean
optional
Returns only if there is no error.
Example
{
"error": [
"string"
],
"success": true
}
Last modified: 4 months ago