PUT /amazon-account-reports/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
Amazon account
-
createdAt string(date-time)
Created at
-
id integer(int32)
Id
-
reportId string | null
Report
-
Report processing status
Values are
_SUBMITTED_
,_IN_PROGRESS_
,_CANCELLED_
,_DONE_
, or_DONE_NO_DATA_
. -
Report request
-
Report type
Value is
_POST_INVENTORY_AVAILABILITY_DATA_
. -
Status
Values are
pending
,processing
,success
, orerror
. Default value ispending
. -
updatedAt string(date-time)
Updated at
PUT
/amazon-account-reports/{id}.json
curl \
-X PUT http://api.example.com/v1/amazon-account-reports/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"amazonAccountId":42,"createdAt":"2024-05-04T09:42:00+00:00","id":42,"reportId":"string","reportProcessingStatus":"_SUBMITTED_","reportRequestId":"string","reportType":"_POST_INVENTORY_AVAILABILITY_DATA_","status":"pending","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"amazonAccountId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"reportId": "string",
"reportProcessingStatus": "_SUBMITTED_",
"reportRequestId": "string",
"reportType": "_POST_INVENTORY_AVAILABILITY_DATA_",
"status": "pending",
"updatedAt": "2024-05-04T09:42:00+00:00"
}