Update carrier account
PATCH
/ admin/ v1/ stores/ {store_id}/ carrier-accounts/ {account_id}- settings:write
Changes an account; new credentials, mode or location are checked with the carrier.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.account_idstringrequiredThe carrier account's ID, like
carr_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
namestring · or nullmodeenum · or nullWhether an account moves real money.
- test
- live
credentialsobject · or nulllocation_idstring · or nullTypeID with the
locprefix.default_servicestring · or nullcod_enabledboolean · or nullactiveboolean · or null
Returns
200 Saved.
Errors
- 404
not_foundNo such account. - 422
validation_failedInvalid input or refused credentials.