Body
Required
-
amazonAccountId
integer(int32) Required Amazon account
-
reportId
string | null Report
-
reportProcessingStatus
string Required Report processing status
Values are
_SUBMITTED_
,_IN_PROGRESS_
,_CANCELLED_
,_DONE_
, or_DONE_NO_DATA_
. -
reportRequestId
string Required Report request
-
reportType
string Required Report type
Value is
_POST_INVENTORY_AVAILABILITY_DATA_
. -
status
string Required Status
Values are
pending
,processing
,success
, orerror
. Default value ispending
.
POST
/amazon-account-reports.json
curl \
--request POST 'http://api.example.com/v1/amazon-account-reports.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"amazonAccountId":42,"reportId":"string","reportProcessingStatus":"_SUBMITTED_","reportRequestId":"string","reportType":"_POST_INVENTORY_AVAILABILITY_DATA_","status":"pending"}'
Request examples
{
"amazonAccountId": 42,
"reportId": "string",
"reportProcessingStatus": "_SUBMITTED_",
"reportRequestId": "string",
"reportType": "_POST_INVENTORY_AVAILABILITY_DATA_",
"status": "pending"
}
Response examples (200)
{
"amazonAccountId": 42,
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"reportId": "string",
"reportProcessingStatus": "_SUBMITTED_",
"reportRequestId": "string",
"reportType": "_POST_INVENTORY_AVAILABILITY_DATA_",
"status": "pending",
"updatedAt": "2025-05-04T09:42:00Z"
}