Amazon SP API
  1. Service
Amazon SP API
  • Overview
  • Authorization Workflow
  • Permissions
  • Sandbox
  • API Models
  • Available API Models
  • Request Apidog Access
  • OPENAPI SPECIFICATION
  • Research Docs
    • Amazon Seller Order Fulfillment Workflow
  • Amazon Warehousing and Distribution
    • getInboundShipment
      GET
    • listInboundShipments
      GET
    • listInventory
      GET
  • Authorization
    • Authorization
  • Catalog Items
    • searchCatalogItems
    • getCatalogItem
  • Catalog [Deprecated]
    • listCatalogItems
    • getCatalogItem
    • listCatalogCategories
  • Definitions
    • searchDefinitionsProductTypes
    • getDefinitionsProductType
  • Easy Ship
    • listHandoverSlots
    • getScheduledPackage
    • createScheduledPackage
    • updateScheduledPackages
    • createScheduledPackageBulk
  • FBAInbound
    • listInboundPlans
    • createInboundPlan
    • getInboundPlan
    • listInboundPlanBoxes
    • cancelInboundPlan
    • listInboundPlanItems
    • updateInboundPlanName
    • listPackingGroupBoxes
    • listPackingGroupItems
    • setPackingInformation
    • listPackingOptions
    • generatePackingOptions
    • confirmPackingOption
    • listInboundPlanPallets
    • listPlacementOptions
    • generatePlacementOptions
    • confirmPlacementOption
    • getShipment
    • listShipmentBoxes
    • listShipmentContentUpdatePreviews
    • generateShipmentContentUpdatePreviews
    • getShipmentContentUpdatePreview
    • confirmShipmentContentUpdatePreview
    • getDeliveryChallanDocument
    • listDeliveryWindowOptions
    • generateDeliveryWindowOptions
    • confirmDeliveryWindowOptions
    • listShipmentItems
    • updateShipmentName
    • listShipmentPallets
    • cancelSelfShipAppointment
    • getSelfShipAppointmentSlots
    • generateSelfShipAppointmentSlots
    • scheduleSelfShipAppointment
    • updateShipmentSourceAddress
    • updateShipmentTrackingDetails
    • listTransportationOptions
    • generateTransportationOptions
    • confirmTransportationOptions
    • listItemComplianceDetails
    • updateItemComplianceDetails
    • createMarketplaceItemLabels
    • listPrepDetails
    • setPrepDetails
    • getInboundOperationStatus
    • getItemEligibilityPreview
  • FBAInventory
    • getInventorySummaries
    • createInventoryItem
    • deleteInventoryItem
    • addInventory
  • FBAOutbound
    • getFulfillmentPreview
    • deliveryOffers
    • listAllFulfillmentOrders
    • createFulfillmentOrder
    • getPackageTrackingDetails
    • listReturnReasonCodes
    • createFulfillmentReturn
    • getFulfillmentOrder
    • updateFulfillmentOrder
    • cancelFulfillmentOrder
    • submitFulfillmentOrderStatusUpdate
    • getFeatures
    • getFeatureInventory
    • getFeatureSKU
  • Feeds
    • getFeeds
    • createFeed
    • cancelFeed
    • getFeed
    • createFeedDocument
    • getFeedDocument
  • Fees
    • getMyFeesEstimateForSKU
    • getMyFeesEstimateForASIN
    • getMyFeesEstimates
  • Finance
    • listTransactions
    • listFinancialEventGroups
    • listFinancialEventsByGroupId
    • listFinancialEventsByOrderId
    • listFinancialEvents
  • Invoices [Brazil]
    • getInvoicesAttributes
    • getInvoicesDocument
    • createInvoicesExport
    • getInvoicesExports
    • getInvoicesExport
    • getInvoices
    • getInvoice
  • Listings Items
    • getListingsRestrictions
    • deleteListingsItem
    • getListingsItem
    • patchListingsItem
    • putListingsItem
  • Merchant Fulfillment
    • getEligibleShipmentServices
    • getShipment
    • cancelShipment
    • createShipment
    • getAdditionalSellerInputs
  • Orders
    • getOrders
    • getOrder
    • getOrderBuyerInfo
    • getOrderAddress
    • getOrderItems
    • getOrderItemsBuyerInfo
    • updateShipmentStatus
    • getOrderRegulatedInfo
    • updateVerificationStatus
    • confirmShipment
  • ProductPricing
    • deprecated
      • getPricing
      • getCompetitivePricing
      • getListingOffers
      • getItemOffers
      • getItemOffersBatch
      • getListingOffersBatch
    • getFeaturedOfferExpectedPriceBatch
    • getCompetitiveSummary
  • Reports
    • getReports
    • createReport
    • cancelReport
    • getReport
    • getReportSchedules
    • createReportSchedule
    • cancelReportSchedule
    • getReportSchedule
    • getReportDocument
  • Sales
    • getOrderMetrics
  • Sellers
    • getMarketplaceParticipations
    • getAccount
  • Service
    • getServiceJobByServiceJobId
      GET
    • cancelServiceJobByServiceJobId
      PUT
    • completeServiceJobByServiceJobId
      PUT
    • getServiceJobs
      GET
    • addAppointmentForServiceJobByServiceJobId
      POST
    • rescheduleAppointmentForServiceJobByServiceJobId
      POST
    • assignAppointmentResources
      PUT
    • setAppointmentFulfillmentData
      PUT
    • getRangeSlotCapacity
      POST
    • getFixedSlotCapacity
      POST
    • updateSchedule
      PUT
    • createReservation
      POST
    • updateReservation
      PUT
    • cancelReservation
      DELETE
    • getAppointmmentSlotsByJobId
      GET
    • getAppointmentSlots
      GET
    • createServiceDocumentUploadDestination
      POST
  • ShipmentInvoice[Brazil]
    • getShipmentDetails
    • submitInvoice
    • getInvoiceStatus
  • Shipping
    • getRates
    • createShipment
    • directPurchaseShipment
    • getShipment
    • purchaseShipment
    • cancelShipment
    • oneClickShipment
    • purchaseLabels
    • getTracking
    • retrieveShippingLabel
    • getShipmentDocuments
    • purchaseShipment
    • cancelShipment
    • getRates
    • getAdditionalInputs
    • getAccount
    • getCarrierAccountFormInputs
    • getTrackingInformation
    • getCarrierAccounts
    • linkCarrierAccount
    • unlinkCarrierAccount
    • generateCollectionForm
    • getCollectionFormHistory
    • getUnmanifestedShipments
    • getCollectionForm
    • getAccessPoints
  • Supply Sources
    • getSupplySources
    • createSupplySource
    • getSupplySource
    • updateSupplySource
    • archiveSupplySource
    • updateSupplySourceStatus
  • Tokens
    • createRestrictedDataToken
  • Uploads
    • createUploadDestinationForResource
  • Notifications
    • getSubscription
    • createSubscription
    • getSubscriptionById
    • deleteSubscriptionById
    • getDestinations
    • createDestination
    • getDestination
    • deleteDestination
  1. Service

getRangeSlotCapacity

Pending
POST
/service/v1/serviceResources/{resourceId}/capacity/range
service
Last modified:2024-11-28 09:36:30
Maintainer:Not configured
Provides capacity slots in a format similar to availability records.
Usage Plan:
Rate (requests per second)Burst
520
The 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.

Request

Path Params
resourceId
string 
required
Resource Identifier.
>= 1 characters<= 100 characters
Query Params
marketplaceIds
array[string]
required
An identifier for the marketplace in which the resource operates.
<= 1 items
nextPageToken
string 
optional
Next page token returned in the response of your previous request.
Body Params application/json
Request schema for the `getRangeSlotCapacity` operation. This schema is used to define the time range and capacity types that are being queried.
capacityTypes
array[string]
optional
An array of capacity types which are being requested. Default value is [SCHEDULED_CAPACITY].
Allowed values:
SCHEDULED_CAPACITYAVAILABLE_CAPACITYENCUMBERED_CAPACITYRESERVED_CAPACITY
startDateTime
string <date-time>
required
Start date time from which the capacity slots are being requested in ISO 8601 format.
endDateTime
string <date-time>
required
End date time up to which the capacity slots are being requested in ISO 8601 format.
Example
{
    "capacityTypes": [
        "SCHEDULED_CAPACITY"
    ],
    "startDateTime": "2019-08-24T14:15:22Z",
    "endDateTime": "2019-08-24T14:15:22Z"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox.sellingpartnerapi-na.amazon.com/service/v1/serviceResources//capacity/range?marketplaceIds' \
--header 'Content-Type: application/json' \
--data-raw '{
    "capacityTypes": [
        "SCHEDULED_CAPACITY"
    ],
    "startDateTime": "2019-08-24T14:15:22Z",
    "endDateTime": "2019-08-24T14:15:22Z"
}'

Responses

🟢200OK
application/json
Success response.
Headers
x-amzn-RateLimit-Limit
string 
optional
Your rate limit (requests per second) for this operation.
x-amzn-RequestId
string 
optional
Unique request reference identifier.
Body
Response schema for the `getRangeSlotCapacity` operation.
resourceId
string 
optional
Resource Identifier.
capacities
array[object (RangeCapacity) {2}] 
optional
Array of range capacities where each entry is for a specific capacity type.
capacityType
enum<string> 
optional
Type of capacity
Allowed values:
SCHEDULED_CAPACITYAVAILABLE_CAPACITYENCUMBERED_CAPACITYRESERVED_CAPACITY
slots
array[object (RangeSlot) {3}] 
optional
Array of capacity slots in range slot format.
nextPageToken
string 
optional
Next page token, if there are more pages.
Example
{
    "resourceId": "string",
    "capacities": [
        {
            "capacityType": "SCHEDULED_CAPACITY",
            "slots": [
                {
                    "startDateTime": "2019-08-24T14:15:22Z",
                    "endDateTime": "2019-08-24T14:15:22Z",
                    "capacity": 0
                }
            ]
        }
    ],
    "nextPageToken": "string"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠413413
🟠415415
🟠429429
🔴500Server Error
🔴503Service Unavailable
Previous
setAppointmentFulfillmentData
Next
getFixedSlotCapacity
Built with