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_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
carrierenumrequired- aramex
- smsa
- jt
- bosta
- mylerz
- app
namestring · or nullDefaults to the carrier's name.
location_idstring · or nullWhere parcels are collected from; defaults to the store's default location.
default_servicestring · or nullThe service labels are bought for (a rate card's
service).cod_enabledboolean
Returns
201 Connected.
Errors
- 409Platform shipping isn't available for this carrier.