Amazon SP API
  1. Shipping
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
    • listInboundShipments
    • listInventory
  • 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
    • cancelServiceJobByServiceJobId
    • completeServiceJobByServiceJobId
    • getServiceJobs
    • addAppointmentForServiceJobByServiceJobId
    • rescheduleAppointmentForServiceJobByServiceJobId
    • assignAppointmentResources
    • setAppointmentFulfillmentData
    • getRangeSlotCapacity
    • getFixedSlotCapacity
    • updateSchedule
    • createReservation
    • updateReservation
    • cancelReservation
    • getAppointmmentSlotsByJobId
    • getAppointmentSlots
    • createServiceDocumentUploadDestination
  • ShipmentInvoice[Brazil]
    • getShipmentDetails
    • submitInvoice
    • getInvoiceStatus
  • Shipping
    • getRates
      POST
    • createShipment
      POST
    • directPurchaseShipment
      POST
    • getShipment
      GET
    • purchaseShipment
      POST
    • cancelShipment
      POST
    • oneClickShipment
      POST
    • purchaseLabels
      POST
    • getTracking
      GET
    • retrieveShippingLabel
      POST
    • getShipmentDocuments
      GET
    • purchaseShipment
      POST
    • cancelShipment
      PUT
    • getRates
      POST
    • getAdditionalInputs
      GET
    • getAccount
      GET
    • getCarrierAccountFormInputs
      GET
    • getTrackingInformation
      GET
    • getCarrierAccounts
      PUT
    • linkCarrierAccount
      PUT
    • unlinkCarrierAccount
      PUT
    • generateCollectionForm
      POST
    • getCollectionFormHistory
      PUT
    • getUnmanifestedShipments
      PUT
    • getCollectionForm
      GET
    • getAccessPoints
      GET
  • Supply Sources
    • getSupplySources
    • createSupplySource
    • getSupplySource
    • updateSupplySource
    • archiveSupplySource
    • updateSupplySourceStatus
  • Tokens
    • createRestrictedDataToken
  • Uploads
    • createUploadDestinationForResource
  • Notifications
    • getSubscription
    • createSubscription
    • getSubscriptionById
    • deleteSubscriptionById
    • getDestinations
    • createDestination
    • getDestination
    • deleteDestination
  1. Shipping

linkCarrierAccount

Pending
PUT
/shipping/v2/carrierAccounts/{carrierId}
shipping
Last modified:2024-11-28 09:36:30
Maintainer:Not configured
This API associates/links the specified carrier account with the merchant.
Usage Plan:
Rate (requests per second)Burst
80100
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 then those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

Request

Path Params
carrierId
string 
required
The unique identifier associated with the carrier account.
Header Params
x-amzn-shipping-business-id
enum<string> 
optional
Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
Allowed values:
AmazonShipping_USAmazonShipping_INAmazonShipping_UKAmazonShipping_UAEAmazonShipping_SAAmazonShipping_EGAmazonShipping_ITAmazonShipping_ESAmazonShipping_FRAmazonShipping_JP
Body Params application/json
The request schema for verify and add the merchant's account with a certain carrier.
clientReferenceDetails
array[object (ClientReferenceDetail) {2}] 
optional
Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
clientReferenceType
enum<string> 
required
Client Reference type.
Allowed values:
IntegratorShipperIdIntegratorMerchantId
clientReferenceId
string 
required
The Client Reference Id.
carrierAccountType
string 
required
CarrierAccountType associated with account.
carrierAccountAttributes
array[object (CarrierAccountAttribute) {3}] 
required
A list of all attributes required by the carrier in order to successfully link the merchant's account
attributeName
string 
optional
Attribute Name .
propertyGroup
string 
optional
Property Group.
value
string 
optional
Value .
encryptedCarrierAccountAttributes
array[object (CarrierAccountAttribute) {3}] 
optional
A list of all attributes required by the carrier in order to successfully link the merchant's account
Example
{
    "clientReferenceDetails": [
        {
            "clientReferenceType": "IntegratorShipperId",
            "clientReferenceId": "string"
        }
    ],
    "carrierAccountType": "string",
    "carrierAccountAttributes": [
        {
            "attributeName": "string",
            "propertyGroup": "string",
            "value": "string"
        }
    ],
    "encryptedCarrierAccountAttributes": [
        {
            "attributeName": "string",
            "propertyGroup": "string",
            "value": "string"
        }
    ]
}

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/shipping/v2/carrierAccounts/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clientReferenceDetails": [
        {
            "clientReferenceType": "IntegratorShipperId",
            "clientReferenceId": "string"
        }
    ],
    "carrierAccountType": "string",
    "carrierAccountAttributes": [
        {
            "attributeName": "string",
            "propertyGroup": "string",
            "value": "string"
        }
    ],
    "encryptedCarrierAccountAttributes": [
        {
            "attributeName": "string",
            "propertyGroup": "string",
            "value": "string"
        }
    ]
}'

Responses

🟢200OK
application/json
Success.
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
The Response for the LinkCarrierAccount operation.
registrationStatus
enum<string> 
optional
Account Status.
Allowed values:
ACTIVEINACTIVEPENDINGSUSPENDED
Example
{
    "registrationStatus": "ACTIVE"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠413413
🟠415415
🟠429429
🔴500Server Error
🔴503Service Unavailable
Previous
getCarrierAccounts
Next
unlinkCarrierAccount
Built with