company_id
as a path parameter.activation_type
set to api
.shipping.read_write
- Shipping Read & WriteAuthorization: Bearer ********************
{
"name": "Shipping Company"
}
curl --location --request PUT 'https://api.salla.dev/admin/v2/shipping/companies/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Shipping Company"
}'
{
"status": 200,
"success": true,
"data": {
"id": 976721503,
"name": "شحن شركة",
"app_id": 7654567,
"activation_type": "api",
"slug": ""
}
}