Skip to main content
PUT
/
v1
/
public
/
companies
/
{company_id}
Update Company
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

company_id
string
required

Body

application/json
external_id
string | null
name
string | null
address
string | null
email
string | null
phone_number
string | null
url
string | null
status
string | null
allowed_in_store
boolean | null

Response

OK

ok
boolean
required
status
string
required
external_id
string | null
company_id
string | null
ctx_id
string | null