APIOrderNotification
This method allows you to set an order notification for email and SMS
/api/plain/?type=APIOrderNotification&[payload]&HashString=[hashstring]
URL Parameters
Payload Parameters
| Field | Type | Description |
|---|
| SendConfirmationEmail | Boolean | |
| SendConfirmationSMS | Boolean | |
Success 200
| Field | Type | Description |
|---|
| Reference | Varchar | |
| EmailNotification | Boolean | |
| SMSNotification | Boolean | |
- Success-Response:
HTTP/1.1 200 OK
{
"Reference": "ABC123",
"EmailNotification": "1",
"SMSNotification": "0"
}
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":"12", "Error":"Not found order"}
]
}