- 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
Authorization
Tested
POST
{{auth_url}}/auth/o2/token
Authorization
Last modified:2025-04-16 12:08:58
Maintainer:Sarath S
Request
Body Params application/json
grant_type
stringÂ
required
refresh_token
stringÂ
required
client_id
stringÂ
required
client_secret
stringÂ
required
Example
{
"grant_type": "refresh_token",
"refresh_token": "{{refresh_token}}",
"client_id": "{{client_id}}",
"client_secret": "{{client_secret}}",
"scope":"sellingpartnerapi::reports"
}
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 -g --request POST 'https://api.amazon.com/auth/o2/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"grant_type": "refresh_token",
"refresh_token": "",
"client_id": "amzn1.application-oa2-client.533f4c6416a8474f93bff7ee7252bb76",
"client_secret": "amzn1.oa2-cs.v1.9a12388c25ce08847f03f7346becb92976707f5ab2a7ec981b3af5ccd28b82cb",
"scope":"sellingpartnerapi::reports"
}'
Responses
🟢200Success
application/json
Body
access_token
stringÂ
required
refresh_token
stringÂ
required
token_type
stringÂ
required
expires_in
integerÂ
required
Examples
{
"access_token": "Atza|IwEBIMGQoe2HHUETvR2qDQwr62XFGz70wpApgpsPKDjAbh_xLM4GY3Ge-clLM0zDLa9usdXD2CgsWQasFzRis9dnGHMgE0XQA56UiNJ_jonpSxPo0oAookUYbkWKt43M8LNF-HggV09yRYURLlewyB93KcCsmw7xaqqE_5NN3aGLWXwlghl-7twRLxlodGrAvJVlcdJDVQYeCSVJiqIgVMl49b5K3evtuSPxc2a_ue4i1sZvXNByz89AGvLHnX_MspkXFUMIWLJcbVxNAHbfw6vk3wru8GH4joyO9oKvm3yoUc4529AYLatvzWqhWGn4ARC0qqjlrSPlryyqSPpphUMHug0e",
"refresh_token": "Atzr|IwEBINWWe9asFu6sqP84GMQzNq7dAKbCH_RrL5Sl-5XY1nhMVRbvGX3x_c6xWjAWAzOMkaimM5xV6uhJY2LMesd7Vw-8ekLlf8RQzMqTjYqZos1ASROOQ8MD40nyoXopbmV8J2NjdqkATIHfE3CHjXY4etpWbvvGXmiO2tJGAKaoUfcCiYng-e3zJvJS6ZCjwDntaK6q7KuquvkEICzGFhKHMp1f4r1Cftg-WAZkMAt39lHytmlAlKrWFK1EYSKkfu6_njNUOFqUq7QxKDNKhfsEP07HkcNQ0cn8RO6WnjIy7ApxSH33JD_AE9ckt-aSXXgEJPg",
"token_type": "bearer",
"expires_in": 3600
}
🟠400Bad Request