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