Supply Chain
Update Company Details Endpoint
Update Company Details endpoint allows you to update information about a specific company within the supply chain by making a PATCH request. Provide the hash ID of the company in the endpoint URL and include the fields to be updated in the request body.
PATCH
/
supply-chains
/
companies
/
{hashid}
/
Authorizations
Authorization
string
headerrequiredPath Parameters
hashid
string
requiredBody
application/json
id
string
currency
string
created_on
string
description
string | null
house_name
string | null
street
string | null
city
string | null
sub_province
string | null
province
string | null
latitude
number
longitude
number
zipcode
string | null
country
string | null
email
string | null
phone
string | null
name
string
requiredbuy_enabled
boolean
sell_enabled
boolean
quality_correction
boolean
allow_multiple_login
boolean
creator
string
updater
string
buyer
string
entity_card
string
Response
200 - application/json
id
string
currency
string
updated_on
string
created_on
string
image
string | null
description
string | null
house_name
string | null
street
string | null
city
string | null
sub_province
string | null
province
string | null
latitude
number
longitude
number
zipcode
string | null
country
string | null
email
string | null
phone
string | null
name
string
requiredbuy_enabled
boolean
sell_enabled
boolean
quality_correction
boolean
allow_multiple_login
boolean
creator
string
updater
string
buyer
string
entity_card
string
members
string[]
products
string[]