Supplier Orders
Changed onList of orders for a given supplier.
Orders are sorted by most recently placed first.
Request
- Base URLhttps://api.isometric.com/registry/v0
- URLhttps://api.isometric.com/registry/v0/suppliers/{id}/orders
- AuthHTTP bearer
Path parameters
Query parameters
An integer number of items to retrieve before the item represented by the cursor passed in the before parameter. Defaults to 10 with a maximum value of 50.
An opaque cursor representing the first item in the previously requested page to select items ordered before it. Submit the previously requested page’s start_cursor here when paginated backwards.
An integer number of items to retrieve after the item represented by the cursor passed in the after parameter. Defaults to 10 with a maximum value of 50.
An opaque cursor representing the last item in the previously requested page to select items ordered after it. Submit the previously requested page’s end_cursor here when paginated forwards.
Headers
A secret token identifying the client connecting to the API
Response
Successful Response
Example response
{
"nodes": [
{
"id": "ord_1FAN3S3WV1S0B842",
"buyer_organisation": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"supplier": {
"id": "spl_1CC712KFS1S0YKPS",
"organisation": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"location": {
"country_code": "GBR",
"latitude": 51.5072,
"longitude": -0.1276
}
},
"credits_ordered": {
"credits": 125.632,
"credit_kgs": 125632
},
"credits_delivered": {
"credits": 125.632,
"credit_kgs": 125632
}
}
]
}Changes
- breaking
for the
pathrequest parameterid, the minLength was increased from0to20 - warning
for the
pathrequest parameterid, the maxLength was set to37 - info
for the
pathrequest parameterid, the type was generalized from no type tostring
- breaking
- info
added the required property
///to the response with the status
- info