Manage orders, products, origins, and value chains for supply chain transparency and compliance.
Supply Chain API//
- Orders Statistics List
Orders List
Orders Read
Orders Delete
Orders Batch Create
Orders Batch Partial Update
Orders Purchase Create
Orders Purchase Partial Update
Orders Sale Create
Orders Sale Partial Update
Orders Batch List
Orders Batch Read
Orders Batch Delete
Orders Purchase List
Orders Purchase Read
Orders Purchase Delete
Orders Sale List
Orders Sale Read
Orders Sale Delete
Orders Statistics List
Coolset Supply Chain API (1.0)
Download OpenAPI description
Overview
URL
E-mail
Languages
Servers
Mock server
https://api.coolset.com/_mock/supply-chain-api/
Production server
https://developers-scranton.coolset.com/api/
- Mock serverhttps://api.coolset.com/_mock/supply-chain-api/orders/sale/{id}
- Production serverhttps://developers-scranton.coolset.com/api/orders/sale/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api.coolset.com/_mock/supply-chain-api/orders/sale/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"type": "order",
"buyer_external_id": "string",
"seller_external_id": "string",
"order_created_at": "2019-08-24",
"order_arrival_at": "2019-08-24",
"order_status": "draft",
"assessment_status": "pending",
"value_chain": 0,
"value_chain_detail": {
"company_name": "string",
"description": "string",
"status": "revoked",
"country_code": "st",
"external_id": "string",
"permission_granted": true,
"is_self_managed": true,
"contact_name": "string",
"contact_email": "user@example.com",
"invitation_id": "a6e6785a-3ea9-406c-b873-17eaf2ed5fc9",
"reciprocal_company_id": 2147483647
},
"buyer_company_id": 2147483647,
"company": {},
"buyer_company": {},
"seller_company": {},
"items": [
{
"id": 0,
"buyer_product": 0,
"buyer_product_detail": {},
"seller_product": 0,
"seller_product_detail": {},
"volume": 0,
"unit": "str",
"line_number": 2147483647,
"external_id": "string"
}
]
}'Response
application/json
{ "id": 0, "type": "order", "buyer_external_id": "string", "seller_external_id": "string", "order_created_at": "2019-08-24", "order_arrival_at": "2019-08-24", "order_status": "draft", "assessment_status": "pending", "value_chain": 0, "value_chain_detail": { "id": 0, "company_name": "string", "description": "string", "status": "revoked", "assessment_status": "pending", "country_code": "st", "external_id": "string", "permission_granted": true, "is_self_managed": true, "contact_name": "string", "contact_email": "user@example.com", "invitation_id": "a6e6785a-3ea9-406c-b873-17eaf2ed5fc9", "reciprocal_company_id": 2147483647, "has_account": "string", "is_invited": "string", "pulse_params": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "assessment_summary": {} }, "buyer_company_id": 2147483647, "company": { "id": 0, "name": "string", "slug": "string", "type": "string", "city": "string", "country": "string", "nr_of_employees": 0, "nr_of_locations": 0, "default_currency": "string", "default_locale": "string", "data_room_consumer_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "buyer_company": { "id": 0, "name": "string", "slug": "string", "type": "string", "city": "string", "country": "string", "nr_of_employees": 0, "nr_of_locations": 0, "default_currency": "string", "default_locale": "string", "data_room_consumer_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "seller_company": { "id": 0, "name": "string", "slug": "string", "type": "string", "city": "string", "country": "string", "nr_of_employees": 0, "nr_of_locations": 0, "default_currency": "string", "default_locale": "string", "data_room_consumer_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "items": [ { … } ], "due_diligence_statements": [ 0 ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- Mock serverhttps://api.coolset.com/_mock/supply-chain-api/orders/statistics
- Production serverhttps://developers-scranton.coolset.com/api/orders/statistics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.coolset.com/_mock/supply-chain-api/orders/statistics?type=order&type__in=string&order_created_at=string&order_created_at__gte=string&order_created_at__lte=string&order_arrival_at=string&order_arrival_at__gte=string&order_arrival_at__lte=string&order_status=draft&order_status__in=string&assessment_status=pending&assessment_status__in=string&value_chain=string&items__buyer_product=string&items__buyer_product__in=string&items__buyer_product__isnull=string&items__seller_product=string&items__seller_product__in=string&items__seller_product__isnull=string&items__volume=string&items__volume__gte=string&items__volume__lte=string&items__unit=string&items__external_id=string&items__external_id__icontains=string&items__external_id__startswith=string&items__external_id__endswith=string&items__external_id__in=string&items__buyer_product__sku=string&items__buyer_product__sku__icontains=string&items__buyer_product__sku__startswith=string&items__buyer_product__sku__endswith=string&items__buyer_product__name=string&items__buyer_product__name__icontains=string&items__buyer_product__name__startswith=string&items__buyer_product__name__endswith=string&items__buyer_product__commodity=cattle&items__buyer_product__commodity__in=string&items__buyer_product__composition=simple&items__buyer_product__composition__in=string&items__seller_product__sku=string&items__seller_product__sku__icontains=string&items__seller_product__sku__startswith=string&items__seller_product__sku__endswith=string&items__seller_product__name=string&items__seller_product__name__icontains=string&items__seller_product__name__startswith=string&items__seller_product__name__endswith=string&items__seller_product__commodity=cattle&items__seller_product__commodity__in=string&items__seller_product__composition=simple&items__seller_product__composition__in=string&passing_percentage_gte=string&failing_percentage_gte=string&order_action=buying&group_by=type&delimit_by=yearly' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
[ { "order_count": 0, "date": "2019-08-24", "type": "string", "order_status": "string", "assessment_status": "string" } ]
- Mock serverhttps://api.coolset.com/_mock/supply-chain-api/orders/batch
- Production serverhttps://developers-scranton.coolset.com/api/orders/batch
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.coolset.com/_mock/supply-chain-api/orders/batch?type=order&type__in=string&order_created_at=string&order_created_at__gte=string&order_created_at__lte=string&order_arrival_at=string&order_arrival_at__gte=string&order_arrival_at__lte=string&order_status=draft&order_status__in=string&assessment_status=pending&assessment_status__in=string&value_chain=string&items__buyer_product=string&items__buyer_product__in=string&items__buyer_product__isnull=string&items__seller_product=string&items__seller_product__in=string&items__seller_product__isnull=string&items__volume=string&items__volume__gte=string&items__volume__lte=string&items__unit=string&items__external_id=string&items__external_id__icontains=string&items__external_id__startswith=string&items__external_id__endswith=string&items__external_id__in=string&items__buyer_product__sku=string&items__buyer_product__sku__icontains=string&items__buyer_product__sku__startswith=string&items__buyer_product__sku__endswith=string&items__buyer_product__name=string&items__buyer_product__name__icontains=string&items__buyer_product__name__startswith=string&items__buyer_product__name__endswith=string&items__buyer_product__commodity=cattle&items__buyer_product__commodity__in=string&items__buyer_product__composition=simple&items__buyer_product__composition__in=string&items__seller_product__sku=string&items__seller_product__sku__icontains=string&items__seller_product__sku__startswith=string&items__seller_product__sku__endswith=string&items__seller_product__name=string&items__seller_product__name__icontains=string&items__seller_product__name__startswith=string&items__seller_product__name__endswith=string&items__seller_product__commodity=cattle&items__seller_product__commodity__in=string&items__seller_product__composition=simple&items__seller_product__composition__in=string&passing_percentage_gte=string&failing_percentage_gte=string&ordering=string&search=string&limit=0&offset=0' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "count": 0, "next": "http://example.com", "previous": "http://example.com", "results": [ { … } ] }