POST
/
supply-chains
/
companies
/
curl --request POST \
  --url http://localhost:3000/connect/v1/supply-chains/companies/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "currency": "<string>",
  "created_on": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "house_name": "<string>",
  "street": "<string>",
  "city": "<string>",
  "sub_province": "<string>",
  "province": "<string>",
  "latitude": 123,
  "longitude": 123,
  "zipcode": "<string>",
  "country": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "name": "<string>",
  "buy_enabled": true,
  "sell_enabled": true,
  "quality_correction": true,
  "allow_multiple_login": true,
  "creator": "<string>",
  "updater": "<string>",
  "buyer": "<string>",
  "entity_card": "<string>"
}'
{
  "id": "<string>",
  "currency": "<string>",
  "updated_on": "2023-11-07T05:31:56Z",
  "created_on": "2023-11-07T05:31:56Z",
  "image": "<string>",
  "description": "<string>",
  "house_name": "<string>",
  "street": "<string>",
  "city": "<string>",
  "sub_province": "<string>",
  "province": "<string>",
  "latitude": 123,
  "longitude": 123,
  "zipcode": "<string>",
  "country": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "name": "<string>",
  "buy_enabled": true,
  "sell_enabled": true,
  "quality_correction": true,
  "allow_multiple_login": true,
  "creator": "<string>",
  "updater": "<string>",
  "buyer": "<string>",
  "entity_card": "<string>",
  "members": [
    "<string>"
  ],
  "products": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Body

application/json

Response

201 - application/json

The response is of type object.