Update Shipping Company

PUT {{baseUrl}}/shipping/companies/:company_id

This endpoint allows you to update a custom shipping company for your store.

💡 Note

You can't update a Shipping Company with activation_type set to api.

Request Body

{"name"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:true,&quot;data&quot;:{&quot;id&quot;:&quot;\u003cnumber\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;app_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;activation_type&quot;:&quot;api&quot;,&quot;slug&quot;:&quot;\u003cstring\u003e&quot;}}