Rate (requests per second) | Burst |
---|---|
5 | 20 |
x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.AvailabilityRecord
to represent the capacity of a resource over a time range.{
"resourceId": "string",
"reservation": {
"reservationId": "string",
"type": "APPOINTMENT",
"availability": {
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"recurrence": {
"endTime": "2019-08-24T14:15:22Z",
"daysOfWeek": [
"MONDAY"
],
"daysOfMonth": [
1
]
},
"capacity": 1
}
}
}
curl --location --request PUT 'https://sandbox.sellingpartnerapi-na.amazon.com/service/v1/reservation/?marketplaceIds' \
--header 'Content-Type: application/json' \
--data-raw '{
"resourceId": "string",
"reservation": {
"reservationId": "string",
"type": "APPOINTMENT",
"availability": {
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"recurrence": {
"endTime": "2019-08-24T14:15:22Z",
"daysOfWeek": [
"MONDAY"
],
"daysOfMonth": [
1
]
},
"capacity": 1
}
}
}'
UpdateReservationRecord
entity contains the Reservation
if there is an error/warning while performing the requested operation on it, otherwise it will contain the new reservationId
.{
"payload": {
"reservation": {
"reservationId": "string",
"type": "APPOINTMENT",
"availability": {
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"recurrence": {
"endTime": "2019-08-24T14:15:22Z",
"daysOfWeek": [
"MONDAY"
],
"daysOfMonth": [
1
]
},
"capacity": 1
}
},
"warnings": [
{
"code": "string",
"message": "string",
"details": "string"
}
],
"errors": [
{
"code": "string",
"message": "string",
"details": "string"
}
]
},
"errors": [
{
"code": "string",
"message": "string",
"details": "string"
}
]
}