API referenceAffiliates
Reverse the remaining affiliate commission of an invoice
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
orderId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/stores/string/invoices/string/affiliate/reverse" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'{ "ok": true}