POST /amazon-account-reports.json
Body Required
-
Amazon account
-
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
.
POST /amazon-account-reports.json
curl \
-X POST http://api.example.com/v1/amazon-account-reports.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"amazonAccountId":42,"reportId":"string","reportProcessingStatus":"_SUBMITTED_","reportRequestId":"string","reportType":"_POST_INVENTORY_AVAILABILITY_DATA_","status":"pending"}'
Request example
{
"amazonAccountId": 42,
"reportId": "string",
"reportProcessingStatus": "_SUBMITTED_",
"reportRequestId": "string",
"reportType": "_POST_INVENTORY_AVAILABILITY_DATA_",
"status": "pending"
}
Response examples (200)
{
"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"
}