Skip to content

Connect platform carrier account

POST/admin/v1/stores/{store_id}/carrier-accounts/platform
  • settings:write
  • Idempotency-Key supported

Connects a carrier on the platform's contract: no credentials, labels paid from the shipping balance. Platform shipping must be on.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • carrierenumrequired
    • aramex
    • smsa
    • jt
    • bosta
    • mylerz
    • app
  • namestring · or null

    Defaults to the carrier's name.

  • location_idstring · or null

    Where parcels are collected from; defaults to the store's default location.

  • default_servicestring · or null

    The service labels are bought for (a rate card's service).

  • cod_enabledboolean

Returns

201 Connected.

Errors

  • 409Platform shipping isn't available for this carrier.