APICancelOrder
Call to cancel an order and send email of cancellation.
/api/plain/?type=APICancelOrder&[payload]&HashString=[hashstring]URL Parameters
| Field | Type | Description |
|---|---|---|
| Type | String | API that will be called |
| Payload | URL_ENCODED | An URL encoded JSON array |
| HashString | Varchar | sha256 encoded string. Read how to create payload and hashstring |
Payload Parameters
| Field | Type | Description |
|---|---|---|
| Reference | Varchar | Order reference |
Success 200
| Field | Type | Description |
|---|---|---|
| Errors | Array() |
- Success-Response:
HTTP/1.1 200 OK { "Errors": [] }
Error 4xx
| Field | Type | Description |
|---|---|---|
| Errors | array() | |
| - Code | Int | Number of error |
| - Error | String | Error message |
- Error-Response:
HTTP/1.1 200 OK { "Errors": [ {"Code":"403", "Error":"Not found order"} ] }