curl --request PUT \
--url https://api.sanka.com/v1/public/companies/{company_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "<string>",
"name": "<string>",
"address": "<string>",
"email": "<string>",
"phone_number": "<string>",
"url": "<string>",
"status": "<string>",
"allowed_in_store": true
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"company_id": "<string>",
"ctx_id": "<string>"
}curl --request PUT \
--url https://api.sanka.com/v1/public/companies/{company_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "<string>",
"name": "<string>",
"address": "<string>",
"email": "<string>",
"phone_number": "<string>",
"url": "<string>",
"status": "<string>",
"allowed_in_store": true
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"company_id": "<string>",
"ctx_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.