GET
List production orders
Scope:
inventory:production-orders.readhttps://api.holded.com/api/v2/production-ordersReturns a paginated list of production orders in your account. Results are cursor-paginated: the response includes a `cursor` value and a `has_more` boolean. Pass the `cursor` to the next request to fetch the following page.
Parameters
Query parameters
limit
integeroptional= 50Maximum number of production orders to return per page. Defaults to 50, maximum 200.
cursor
stringoptionalPagination cursor returned by the previous response. Omit to start from the first page.
Request
python
import requests
url = "https://api.holded.com/api/v2/production-orders?limit=50&cursor=value"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
json
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"document_number": "string",
"contact_id": "string",
"contact_name": "string",
"supplier_id": "string",
"supplier_name": "string",
"description": "string",
"date": "2024-01-15",
"due_date": "2024-02-15",
"cost": "150.00",
"currency": "EUR",
"tags": [
"string"
],
"manufacturing_pipeline_id": "string",
"manufactured_product": {
"product_id": "string",
"name": "string",
"sku": "string",
"kind": "string",
"quantity": "10.00",
"variant_ids": [
"..."
]
},
"source_warehouse_id": "string",
"destination_warehouse_id": "string",
"is_built": false,
"is_valued": false
}
],
"cursor": "string",
"has_more": false
}Success responses
200List of production ordersapplication/jsonobject
items[]object[]
idstring
document_numberstring
contact_idstring | null
contact_namestring | null
supplier_idstring | null
supplier_namestring | null
descriptionstring
datestring<date> | null
Issue date in ISO 8601 format
due_datestring<date> | null
Due date in ISO 8601 format
coststring
Total cost as a decimal string
currencystring
tags[]string[]
manufacturing_pipeline_idstring | null
manufactured_productobject | null
source_warehouse_idstring | null
destination_warehouse_idstring | null
is_builtboolean
is_valuedboolean
cursorstring | null
has_moreboolean
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json