Manage orders, products, origins, and value chains for supply chain transparency and compliance.
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-items
- Production serverhttps://developers-scranton.coolset.com/api/orders-items
- 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-items?buyer_product=string&buyer_product__in=string&buyer_product__isnull=string&seller_product=string&seller_product__in=string&seller_product__isnull=string&volume=string&volume__gte=string&volume__lte=string&unit=string&assessment_status=pending&assessment_status__in=string&order__type=order&order__type__in=string&order__order_created_at=string&order__order_created_at__gte=string&order__order_created_at__lte=string&order__order_status=draft&order__order_status__in=string&buyer_product__sku=string&buyer_product__sku__icontains=string&buyer_product__sku__startswith=string&buyer_product__sku__endswith=string&buyer_product__name=string&buyer_product__name__icontains=string&buyer_product__name__startswith=string&buyer_product__name__endswith=string&buyer_product__commodity=cattle&buyer_product__composition=simple&seller_product__sku=string&seller_product__sku__icontains=string&seller_product__sku__startswith=string&seller_product__sku__endswith=string&seller_product__name=string&seller_product__name__icontains=string&seller_product__name__startswith=string&seller_product__name__endswith=string&seller_product__commodity=cattle&seller_product__composition=simple&passing_percentage_gte=string&failing_percentage_gte=string&traced_orders_exists=string&traced_origins_exists=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": [ { … } ] }
- Mock serverhttps://api.coolset.com/_mock/supply-chain-api/orders-items
- Production serverhttps://developers-scranton.coolset.com/api/orders-items
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.coolset.com/_mock/supply-chain-api/orders-items \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"order": 0,
"order_detail": {
"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",
"value_chain": 0,
"buyer_company_id": 2147483647,
"seller_company_id": 2147483647,
"company": {},
"buyer_company": {},
"seller_company": {}
},
"buyer_product": 0,
"buyer_product_detail": {},
"seller_product": 0,
"seller_product_detail": {},
"volume": 0,
"unit": "str",
"line_number": 2147483647,
"external_id": "string",
"traced_orders": [
0
]
}'Response
application/json
{ "id": 0, "order": 0, "order_detail": { "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, "buyer_company_id": 2147483647, "seller_company_id": 2147483647, "company": { … }, "buyer_company": { … }, "seller_company": { … }, "assessment_summary": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "buyer_product": 0, "buyer_product_detail": { "id": 0, "company_id": 0, "sku": "string", "name": "string", "description": "string", "scientific_name": "string", "common_name": "string", "type": "manufactured", "hs_code": "string", "commodity": "cattle", "composition": "simple", "external_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "seller_product": 0, "seller_product_detail": { "id": 0, "company_id": 0, "sku": "string", "name": "string", "description": "string", "scientific_name": "string", "common_name": "string", "type": "manufactured", "hs_code": "string", "commodity": "cattle", "composition": "simple", "external_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "volume": 0, "unit": "str", "line_number": 2147483647, "external_id": "string", "traced_orders": [ 0 ], "traced_orders_detail": [ { … } ], "is_complete_match": "string", "pulse_params": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "assessment_summary": {}, "assessment_status": "pending" }
- Mock serverhttps://api.coolset.com/_mock/supply-chain-api/orders-items/{id}
- Production serverhttps://developers-scranton.coolset.com/api/orders-items/{id}
- 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-items/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "id": 0, "order": 0, "order_detail": { "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, "buyer_company_id": 2147483647, "seller_company_id": 2147483647, "company": { … }, "buyer_company": { … }, "seller_company": { … }, "assessment_summary": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "buyer_product": 0, "buyer_product_detail": { "id": 0, "company_id": 0, "sku": "string", "name": "string", "description": "string", "scientific_name": "string", "common_name": "string", "type": "manufactured", "hs_code": "string", "commodity": "cattle", "composition": "simple", "external_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "seller_product": 0, "seller_product_detail": { "id": 0, "company_id": 0, "sku": "string", "name": "string", "description": "string", "scientific_name": "string", "common_name": "string", "type": "manufactured", "hs_code": "string", "commodity": "cattle", "composition": "simple", "external_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "volume": 0, "unit": "str", "line_number": 2147483647, "external_id": "string", "traced_orders": [ 0 ], "traced_orders_detail": [ { … } ], "is_complete_match": "string", "pulse_params": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "assessment_summary": {}, "assessment_status": "pending" }
- Mock serverhttps://api.coolset.com/_mock/supply-chain-api/orders-items/{id}
- Production serverhttps://developers-scranton.coolset.com/api/orders-items/{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-items/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"order": 0,
"order_detail": {
"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",
"value_chain": 0,
"buyer_company_id": 2147483647,
"seller_company_id": 2147483647,
"company": {},
"buyer_company": {},
"seller_company": {}
},
"buyer_product": 0,
"buyer_product_detail": {},
"seller_product": 0,
"seller_product_detail": {},
"volume": 0,
"unit": "str",
"line_number": 2147483647,
"external_id": "string",
"traced_orders": [
0
]
}'Response
application/json
{ "id": 0, "order": 0, "order_detail": { "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, "buyer_company_id": 2147483647, "seller_company_id": 2147483647, "company": { … }, "buyer_company": { … }, "seller_company": { … }, "assessment_summary": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "buyer_product": 0, "buyer_product_detail": { "id": 0, "company_id": 0, "sku": "string", "name": "string", "description": "string", "scientific_name": "string", "common_name": "string", "type": "manufactured", "hs_code": "string", "commodity": "cattle", "composition": "simple", "external_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "seller_product": 0, "seller_product_detail": { "id": 0, "company_id": 0, "sku": "string", "name": "string", "description": "string", "scientific_name": "string", "common_name": "string", "type": "manufactured", "hs_code": "string", "commodity": "cattle", "composition": "simple", "external_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "volume": 0, "unit": "str", "line_number": 2147483647, "external_id": "string", "traced_orders": [ 0 ], "traced_orders_detail": [ { … } ], "is_complete_match": "string", "pulse_params": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "assessment_summary": {}, "assessment_status": "pending" }
- Mock serverhttps://api.coolset.com/_mock/supply-chain-api/orders-items/{id}
- Production serverhttps://developers-scranton.coolset.com/api/orders-items/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.coolset.com/_mock/supply-chain-api/orders-items/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'