- Overview
- Authorization Workflow
- Permissions
- Sandbox
- API Models
- Available API Models
- Request Apidog Access
- OPENAPI SPECIFICATION
- Research Docs
- Amazon Warehousing and Distribution
- Authorization
- Catalog Items
- Catalog [Deprecated]
- Definitions
- Easy Ship
- 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
- FBAOutbound
- Feeds
- Fees
- Finance
- Invoices [Brazil]
- Listings Items
- Merchant Fulfillment
- Orders
- ProductPricing
- Reports
- Sales
- Sellers
- Service
- getServiceJobByServiceJobId
- cancelServiceJobByServiceJobId
- completeServiceJobByServiceJobId
- getServiceJobs
- addAppointmentForServiceJobByServiceJobId
- rescheduleAppointmentForServiceJobByServiceJobId
- assignAppointmentResources
- setAppointmentFulfillmentData
- getRangeSlotCapacity
- getFixedSlotCapacity
- updateSchedule
- createReservation
- updateReservation
- cancelReservation
- getAppointmmentSlotsByJobId
- getAppointmentSlots
- createServiceDocumentUploadDestination
- ShipmentInvoice[Brazil]
- 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
- Tokens
- Uploads
- Notifications
createRestrictedDataToken
POST
/tokens/2021-03-01/restrictedDataToken
tokens
Last modified:2024-11-29 11:21:47
Maintainer:Not configured
Rate (requests per second) | Burst |
---|---|
1 | 10 |
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
Header Params
x-amz-access-token
stringÂ
optional
Example:
{{access_token}}
Body Params application/json
The request schema for the createRestrictedDataToken operation.
targetApplication
stringÂ
optional
restrictedResources
array[object (RestrictedResource) {3}]Â
required
Maximum: 50
method
enum<string>Â
required
Allowed values:
GETPUTPOSTDELETE
path
stringÂ
required
/orders/v0/orders
. For getting an RDT for the getOrders operation of the Orders API. For bulk orders./orders/v0/orders/123-1234567-1234567
. For getting an RDT for the getOrder operation of the Orders API. For a specific order./orders/v0/orders/123-1234567-1234567/orderItems
. For getting an RDT for the getOrderItems operation of the Orders API. For the order items in a specific order./mfn/v0/shipments/FBA1234ABC5D
. For getting an RDT for the getShipment operation of the Shipping API. For a specific shipment./mfn/v0/shipments/{shipmentId}
. For getting an RDT for the getShipment operation of the Shipping API. For any of a selling partner's shipments that you specify when you call the getShipment operation.dataElements
array[string]
optional
Example
{
"targetApplication": "amzn1.sellerapps.app.target-application",
"restrictedResources": [
{
"method": "GET",
"path": "/orders/v0/orders/{orderId}/address"
}
]
}
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/tokens/2021-03-01/restrictedDataToken' \
--header 'x-amz-access-token: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"targetApplication": "amzn1.sellerapps.app.target-application",
"restrictedResources": [
{
"method": "GET",
"path": "/orders/v0/orders/{orderId}/address"
}
]
}'
Responses
🟢200OK
application/json
Headers
x-amzn-RateLimit-Limit
stringÂ
optional
x-amzn-RequestId
stringÂ
optional
Body
The response schema for the createRestrictedDataToken operation.
restrictedDataToken
stringÂ
optional
expiresIn
integerÂ
optional
Example
{
"restrictedDataToken": "string",
"expiresIn": 0
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠415415
🟠429429
🔴500Server Error
🔴503Service Unavailable