curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/cancelPoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "storesAdmin.mutation.cancelBalance",
"tag": "storeAdmin",
"variables": {
"recipients_data": {
"recipients": [
{
"unique_id": 987654321
}
]
}
}
}
'{
"data": {
"cancelBalance": {
"error": false,
"message": "Cancellation processed successfully",
"recipients": [
{
"unique_id": 987654321,
"success": true,
"message": "Points cancelled successfully"
}
]
}
}
}Cancel previously issued points for one or more recipients using their unique transaction ID.
Real URL: POST https://accounts.xoxoday.com/chef/v1/oauth/api
curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/cancelPoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "storesAdmin.mutation.cancelBalance",
"tag": "storeAdmin",
"variables": {
"recipients_data": {
"recipients": [
{
"unique_id": 987654321
}
]
}
}
}
'{
"data": {
"cancelBalance": {
"error": false,
"message": "Cancellation processed successfully",
"recipients": [
{
"unique_id": 987654321,
"success": true,
"message": "Points cancelled successfully"
}
]
}
}
}Documentation Index
Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
| Property | Type | Description |
|---|---|---|
recipients_data.recipients | array | List of recipients for whom points cancellation is requested. |
recipients_data.recipients[].unique_id | number | Unique transaction ID of the points issuance that needs to be cancelled. |
| Property | Type | Description |
|---|---|---|
data.cancelBalance.error | boolean | Indicates whether the cancellation operation failed (false = success). |
data.cancelBalance.message | string | Summary message describing the overall cancellation result. |
data.cancelBalance.recipients | array | List of point transactions processed in the cancellation request. |
data.cancelBalance.recipients[].unique_id | number | Unique transaction ID of the points issuance. |
data.cancelBalance.recipients[].success | boolean | Indicates whether the transaction cancellation was successful. |
data.cancelBalance.recipients[].message | string | Transaction-level status message explaining the outcome of the cancellation. |
Authorization: Bearer <access_token>
Always use storesAdmin.mutation.cancelBalance.
storesAdmin.mutation.cancelBalance Always use storeAdmin.
storeAdmin Show child attributes
Cancellation result returned.
Show child attributes