PUT /sale-imports/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
channelId integer(int32) | null
Channel
-
createdAt string(date-time)
Created at
-
Email sent
Default value is
false
. -
externalId string | null
External
-
id integer(int32)
Id
-
Read
Default value is
true
. -
saleId integer(int32) | null
Sale
-
Status
Values are
success
,error
, orskipped
. Default value issuccess
. -
updatedAt string(date-time)
Updated at
PUT /sale-imports/{id}.json
curl \
-X PUT http://api.example.com/v1/sale-imports/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}