POST /sale-imports.json

POST /sale-imports.json
application/json

Body Required

Responses

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"
}