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.[SCHEDULED_CAPACITY]
.Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= slotDuration
<= 360.
{
"capacityTypes": [
"SCHEDULED_CAPACITY"
],
"slotDuration": 0,
"startDateTime": "2019-08-24T14:15:22Z",
"endDateTime": "2019-08-24T14:15:22Z"
}
curl --location --request POST 'https://sandbox.sellingpartnerapi-na.amazon.com/service/v1/serviceResources//capacity/fixed?marketplaceIds' \
--header 'Content-Type: application/json' \
--data-raw '{
"capacityTypes": [
"SCHEDULED_CAPACITY"
],
"slotDuration": 0,
"startDateTime": "2019-08-24T14:15:22Z",
"endDateTime": "2019-08-24T14:15:22Z"
}'
The duration of each slot which is returned. This value will be a multiple of 5 and fall in the following range: 5 <= slotDuration
<= 360.
{
"resourceId": "string",
"slotDuration": 0,
"capacities": [
{
"startDateTime": "2019-08-24T14:15:22Z",
"scheduledCapacity": 0,
"availableCapacity": 0,
"encumberedCapacity": 0,
"reservedCapacity": 0
}
],
"nextPageToken": "string"
}