POST /sale-imports.json
Body Required
-
channelId integer(int32) | null
Channel
-
Email sent
Default value is
false
. -
externalId string | null
External
-
Read
Default value is
true
. -
saleId integer(int32) | null
Sale
-
Status
Values are
success
,error
, orskipped
. Default value issuccess
.
POST /sale-imports.json
curl \
-X POST http://api.example.com/v1/sale-imports.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"emailSent":false,"externalId":"string","payload":{},"problem":{},"read":true,"saleId":42,"status":"success"}'
Request example
{
"channelId": 42,
"emailSent": false,
"externalId": "string",
"payload": {},
"problem": {},
"read": true,
"saleId": 42,
"status": "success"
}
Response examples (200)
{
"channelId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"emailSent": false,
"externalId": "string",
"id": 42,
"payload": {},
"problem": {},
"read": true,
"saleId": 42,
"status": "success",
"updatedAt": "2024-05-04T09:42:00+00:00"
}