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

updateReservation

Pending
PUT
/service/v1/reservation/{reservationId}
service
Last modified:2024-11-28 09:36:30
Maintainer:Not configured
Update a reservation.
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
reservationId
string 
required
Reservation 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 `updateReservation` operation.
resourceId
string 
required
Resource (store) identifier.
reservation
object (Reservation) 
required
Reservation object reduces the capacity of a resource.
reservationId
string 
optional
Unique identifier for a reservation. If present, it is treated as an update reservation request and will update the corresponding reservation. Otherwise, it is treated as a new create reservation request.
type
enum<string> 
required
Type of reservation.
Allowed values:
APPOINTMENTTRAVELVACATIONBREAKTRAINING
availability
object (AvailabilityRecord) 
required
AvailabilityRecord to represent the capacity of a resource over a time range.
Example
{
    "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
        }
    }
}

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/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
        }
    }
}'

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 `updateReservation` operation.
payload
object (UpdateReservationRecord) 
optional
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.
reservation
object (Reservation) 
optional
Reservation object reduces the capacity of a resource.
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": {
        "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"
        }
    ]
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
🟠413413
🟠415415
🟠429429
🔴500Server Error
🔴503Service Unavailable
Previous
createReservation
Next
cancelReservation
Built with