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

updateSchedule

Pending
PUT
/service/v1/serviceResources/{resourceId}/schedules
service
Last modified:2024-11-28 09:36:30
Maintainer:Not configured
Update the schedule of the given resource.
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 (store) Identifier
>= 1 characters<= 100 characters
Query Params
marketplaceIds
array[string]
required
An identifier for the marketplace in which the resource operates.
<= 1 items
Body Params application/json
Request schema for the `updateSchedule` operation.
schedules
array[object (AvailabilityRecord) {4}] 
required
List of AvailabilityRecords to represent the capacity of a resource over a time range.
startTime
string <date-time>
required
Denotes the time from when the resource is available in a day in ISO-8601 format.
endTime
string <date-time>
required
Denotes the time till when the resource is available in a day in ISO-8601 format.
recurrence
object (Recurrence) 
optional
Repeated occurrence of an event in a time range.
capacity
integer 
optional
Signifies the capacity of a resource which is available.
>= 1
Example
{
    "schedules": [
        {
            "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
        }
    ]
}

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 PUT 'https://sandbox.sellingpartnerapi-na.amazon.com/service/v1/serviceResources//schedules?marketplaceIds' \
--header 'Content-Type: application/json' \
--data-raw '{
    "schedules": [
        {
            "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
        }
    ]
}'

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 `updateSchedule` operation.
payload
array[object (UpdateScheduleRecord) {3}] 
optional
Contains the UpdateScheduleRecords for which the error/warning has occurred.
availability
object (AvailabilityRecord) 
optional
AvailabilityRecord to represent the capacity of a resource over a time range.
warnings
array[object (Warning) {3}] 
optional
A list of warnings returned in the sucessful execution response of an API request.
errors
array[object (Error) {3}] 
optional
A list of error responses that are returned when a request is unsuccessful.
errors
array[object (Error) {3}] 
optional
A list of error responses that are returned when a request is unsuccessful.
Example
{
    "payload": [
        {
            "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"
        }
    ]
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠413413
🟠415415
🟠429429
🔴500Server Error
🔴503Service Unavailable
Previous
getFixedSlotCapacity
Next
createReservation
Built with