You can access production orders in your Uphance account by using these API calls. You can retrieve all production orders or new production orders since a certain ID.
GET all production orders
Retrieve all production orders. This endpoint will return 50 orders at most (see the Pagination section to learn how to access all pages).
$ curl https://api.uphance.com/production_orders
-H "Authorization: ACCESS_TOKEN"
Example response:
{
"production_orders": [
{
"id": 60958,
"production_order_number": "604",
"created_at": "2025-04-03T05:40:39.000Z",
"updated_at": "2025-04-04T11:33:27.000Z",
"items_total": "509.6",
"items_tax": "0.0",
"subtotal": "509.6",
"total_tax": "0.0",
"grand_total": "509.6",
"total_quantity": 14,
"tax_level": "0.0",
"shipping_cost": "0.0",
"shipping_tax": "0.0",
"confirmed_at": "2025-04-03T05:40:59.000Z",
"due_date": null,
"in_warehouse_date": null,
"drop_id": null,
"notes": null,
"internal_notes": null,
"currency": "AUD",
"company_id": 548308,
"company_name": "PJB Atelier",
"season_id": 17417,
"organisation_id": 36619,
"status": "COMPLETE",
"delivery_status": "All Received",
"financial_status": "Not Paid",
"warehouses": [
"Primary warehouse"
],
"payment_terms": null,
"delivery_terms": null,
"line_items": [
{
"id": 533503,
"product_id": 423287,
"product_name": "MathildeLL Jumpsuit SS Copy (YSL)",
"product_identifier": "24190-4002 Copy - YSL",
"variation_id": 865222,
"color": "Leopard Print",
"unit_tax": "0.0",
"tax_level": "0.0",
"unit_price": "36.4",
"original_price": "36.4",
"percentage_discount": "0.0",
"bundle_line_item": false,
"comments": "Test in Stage for Comments on Compact & Detailed Order Documents\r\n",
"product_brand": null,
"country_of_origin": "IN",
"intrastat_code": "",
"line_quantities": [
{
"id": 3065692,
"size": "XS",
"quantity": 2,
"sku_number": "24190-4002 COPY - YSL-L-XS",
"sku_id": 4272054,
"inventory_id": {
"id": 13885279,
"sku_id": 4272054,
"created_at": "2025-04-03T03:34:57.000Z",
"updated_at": "2025-04-03T05:49:20.000Z",
"ordered_count": 1,
"invoiced_count": 0,
"remaining_to_ship": 0,
"remaining_to_pack": 0,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 2,
"warehouse_id": 2694,
"product_identifier": "24190-4002 Copy - YSL",
"season_name": "LL 24.1",
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "1234567895383",
"bundle_components": []
},
{
"id": 3065693,
"size": "S",
"quantity": 3,
"sku_number": "24190-4002 COPY - YSL-L-S",
"sku_id": 4272055,
"inventory_id": {
"id": 13885284,
"sku_id": 4272055,
"created_at": "2025-04-03T03:34:57.000Z",
"updated_at": "2025-04-03T05:49:20.000Z",
"ordered_count": 2,
"invoiced_count": 0,
"remaining_to_ship": 0,
"remaining_to_pack": 0,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 3,
"warehouse_id": 2694,
"product_identifier": "24190-4002 Copy - YSL",
"season_name": "LL 24.1",
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "1234567895390",
"bundle_components": []
},
{
"id": 3065694,
"size": "M",
"quantity": 4,
"sku_number": "24190-4002 COPY - YSL-L-M",
"sku_id": 4272056,
"inventory_id": {
"id": 13885289,
"sku_id": 4272056,
"created_at": "2025-04-03T03:34:58.000Z",
"updated_at": "2025-04-03T05:49:20.000Z",
"ordered_count": 3,
"invoiced_count": 0,
"remaining_to_ship": 0,
"remaining_to_pack": 0,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 4,
"warehouse_id": 2694,
"product_identifier": "24190-4002 Copy - YSL",
"season_name": "LL 24.1",
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "1234567895406",
"bundle_components": []
},
{
"id": 3065695,
"size": "L",
"quantity": 5,
"sku_number": "24190-4002 COPY - YSL-L-L",
"sku_id": 4272057,
"inventory_id": {
"id": 13885294,
"sku_id": 4272057,
"created_at": "2025-04-03T03:34:58.000Z",
"updated_at": "2025-04-03T05:49:20.000Z",
"ordered_count": 4,
"invoiced_count": 0,
"remaining_to_ship": 0,
"remaining_to_pack": 0,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 5,
"warehouse_id": 2694,
"product_identifier": "24190-4002 Copy - YSL",
"season_name": "LL 24.1",
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "1234567895413",
"bundle_components": []
},
{
"id": 3065696,
"size": "XL",
"quantity": 0,
"sku_number": "24190-4002 COPY - YSL-L-XL",
"sku_id": 4272058,
"inventory_id": {
"id": 13885299,
"sku_id": 4272058,
"created_at": "2025-04-03T03:34:58.000Z",
"updated_at": "2025-04-03T03:34:58.000Z",
"ordered_count": 0,
"invoiced_count": 0,
"remaining_to_ship": 0,
"remaining_to_pack": 0,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24190-4002 Copy - YSL",
"season_name": "LL 24.1",
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "1234567895420",
"bundle_components": []
},
{
"id": 3065697,
"size": "XXL",
"quantity": 0,
"sku_number": "24190-4002 COPY - YSL-L-XXL",
"sku_id": 4272059,
"inventory_id": {
"id": 13885304,
"sku_id": 4272059,
"created_at": "2025-04-03T03:34:59.000Z",
"updated_at": "2025-04-03T03:34:59.000Z",
"ordered_count": 0,
"invoiced_count": 0,
"remaining_to_ship": 0,
"remaining_to_pack": 0,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24190-4002 Copy - YSL",
"season_name": "LL 24.1",
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "1234567895437",
"bundle_components": []
}
]
}
]
},
{
"id": 60956,
"production_order_number": "603",
"created_at": "2025-04-02T12:13:02.000Z",
"updated_at": "2025-04-02T18:47:52.000Z",
"items_total": "805.0",
"items_tax": "0.0",
"subtotal": "805.0",
"total_tax": "0.0",
"grand_total": "805.0",
"total_quantity": 23,
"tax_level": "0.0",
"shipping_cost": "0.0",
"shipping_tax": "0.0",
"confirmed_at": null,
"due_date": null,
"in_warehouse_date": null,
"drop_id": 15624,
"notes": null,
"internal_notes": null,
"currency": "EUR",
"company_id": 701229,
"company_name": "Lollys Laundry",
"season_id": 17417,
"organisation_id": 36619,
"status": "DRAFT",
"delivery_status": "Not Received",
"financial_status": "Not Paid",
"warehouses": [
"Primary warehouse"
],
"payment_terms": null,
"delivery_terms": null,
"line_items": [
{
"id": 533502,
"product_id": 376200,
"product_name": "IrishLL Jacket LS",
"product_identifier": "24153-6008",
"variation_id": 758929,
"color": "Grey",
"unit_tax": "0.0",
"tax_level": "0.0",
"unit_price": "35.0",
"original_price": "35.0",
"percentage_discount": "0.0",
"bundle_line_item": false,
"comments": "",
"product_brand": null,
"country_of_origin": "IN",
"intrastat_code": "",
"line_quantities": [
{
"id": 3065686,
"size": "XS",
"quantity": 0,
"sku_number": "24153-6008-10 GREY-XS",
"sku_id": 3795459,
"inventory_id": {
"id": 10019658,
"sku_id": 3795459,
"created_at": "2023-08-29T10:27:47.000Z",
"updated_at": "2023-08-29T10:27:47.000Z",
"ordered_count": 0,
"invoiced_count": 0,
"remaining_to_ship": 0,
"remaining_to_pack": 0,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24153-6008",
"season_name": null,
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "",
"bundle_components": []
},
{
"id": 3065687,
"size": "S",
"quantity": 0,
"sku_number": "24153-6008-10 GREY-S",
"sku_id": 3795460,
"inventory_id": {
"id": 10019660,
"sku_id": 3795460,
"created_at": "2023-08-29T10:27:47.000Z",
"updated_at": "2023-08-29T10:27:47.000Z",
"ordered_count": 2,
"invoiced_count": 0,
"remaining_to_ship": 2,
"remaining_to_pack": 2,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 0,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24153-6008",
"season_name": null,
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "",
"bundle_components": []
},
{
"id": 3065688,
"size": "M",
"quantity": 6,
"sku_number": "24153-6008-10 GREY-M",
"sku_id": 3795461,
"inventory_id": {
"id": 10019662,
"sku_id": 3795461,
"created_at": "2023-08-29T10:27:47.000Z",
"updated_at": "2023-08-29T10:27:47.000Z",
"ordered_count": 6,
"invoiced_count": 0,
"remaining_to_ship": 6,
"remaining_to_pack": 6,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 6,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24153-6008",
"season_name": null,
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "",
"bundle_components": []
},
{
"id": 3065689,
"size": "L",
"quantity": 3,
"sku_number": "24153-6008-10 GREY-L",
"sku_id": 3795462,
"inventory_id": {
"id": 10019664,
"sku_id": 3795462,
"created_at": "2023-08-29T10:27:48.000Z",
"updated_at": "2023-08-29T10:27:48.000Z",
"ordered_count": 3,
"invoiced_count": 0,
"remaining_to_ship": 3,
"remaining_to_pack": 3,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 3,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24153-6008",
"season_name": null,
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "",
"bundle_components": []
},
{
"id": 3065690,
"size": "XL",
"quantity": 9,
"sku_number": "24153-6008-10 GREY-XL",
"sku_id": 3795463,
"inventory_id": {
"id": 10019666,
"sku_id": 3795463,
"created_at": "2023-08-29T10:27:48.000Z",
"updated_at": "2023-08-29T10:27:48.000Z",
"ordered_count": 9,
"invoiced_count": 0,
"remaining_to_ship": 9,
"remaining_to_pack": 9,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 9,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24153-6008",
"season_name": null,
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "",
"bundle_components": []
},
{
"id": 3065691,
"size": "XXL",
"quantity": 5,
"sku_number": "24153-6008-10 GREY-XXL",
"sku_id": 3795464,
"inventory_id": {
"id": 10019668,
"sku_id": 3795464,
"created_at": "2023-08-29T10:27:48.000Z",
"updated_at": "2023-08-29T10:27:48.000Z",
"ordered_count": 5,
"invoiced_count": 0,
"remaining_to_ship": 5,
"remaining_to_pack": 5,
"remaining_to_receive": 0,
"remaining_to_receive_unconfirmed": 5,
"packed_unshipped": 0,
"stocked": 0,
"warehouse_location": "",
"production_ordered_count": 0,
"warehouse_id": 2694,
"product_identifier": "24153-6008",
"season_name": null,
"consignment_sold_count": 0,
"consignment_save_count": 0,
"allocated": 0,
"reorder_level": 0,
"quantity_to_order": 0
},
"upc_number": "",
"bundle_components": []
}
]
}
]
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 2
}
}
GET production orders with filter parameters
Retrieve all production orders since a certain order ID. This endpoint will return 50 orders at most (see the Pagination section to learn how to access all pages).
$ curl https://api.uphance.com/production_orders?since_id=PRODUCTION_ORDER_ID
-H "Authorization: ACCESS_TOKEN"
Retrieve all production orders created since a certain date
$ curl https://api.uphance.com/production_orders?since_created_at=DD/MM/YYYY
-H "Authorization: ACCESS_TOKEN"
Filter by season
$ curl https://api.uphance.com/production_orders?by_season=SEASON_ID
-H "Authorization: ACCESS_TOKEN"
Filter by warehouse
$ curl https://api.uphance.com/production_orders?by_warehouse=WAREHOUSE_ID
-H "Authorization: ACCESS_TOKEN"
Filter by manufacturer
$ curl https://api.uphance.com/production_orders?by_company=MANUFTURER_COMPANY_ID
-H "Authorization: ACCESS_TOKEN"
Filter by search query
$ curl https://api.uphance.com/production_orders?by_q=QUERY
-H "Authorization: ACCESS_TOKEN"
GET a production order
Retrieve a single production order by passing the order ID.
$ curl https://api.uphance.com/production_orders/[PRODUCTION_ORDER_ID]
-H "Authorization: ACCESS_TOKEN"
Retrieve a production order by passing the order number
$ curl https://api.uphance.com/production_orders?by_production_order_number=PRODUCTION_ORDER_NUMBER
-H "Authorization: ACCESS_TOKEN"
GET production stages/timeline for a production line
$ curl https://api.uphance.com/production_order_line_items/[PRODUCTION_ORDER_LINE_ITEM_ID]/production_timeline
-H "Authorization: ACCESS_TOKEN"
Example response:
{
"production_order_line_item": {
"id": 140828,
"product_id": 118145,
"product_name": "Tia Tank Dress",
"product_identifier": "Tia Tank Dress",
"variation_id": 251816,
"color": "Black",
"unit_tax": "0.99",
"tax_level": "3.0",
"unit_price": "33.0",
"original_price": "33.0",
"percentage_discount": "0.0",
"current_stage": {
"name": "Packing",
"start_time": "2025-03-28T18:23:15.000+05:30",
"end_time": null,
"stage_color": "#a29090",
"status": "In Progress"
},
"past_stages": [
{
"name": "Cutting",
"start_time": "2025-03-28T12:53:00.000Z",
"end_time": "2025-03-28T12:53:03.000Z",
"stage_color": "#b86f6f",
"status": "Completed"
},
{
"name": "Sewing",
"start_time": "2025-03-28T12:53:07.000Z",
"end_time": "2025-03-28T12:53:10.000Z",
"stage_color": "#973094",
"status": "Completed"
}
]
}
}
Pagination
GET API endpoints that return multiple records use pagination to limit the number of records returned in a single request. You should use the paging metadata included in the response JSON body to navigate to the subsequent page if you require all records. To avoid rate limiting, you should download each page sequentially and not in parallel.
The metadata is included in a meta
hash at the top level of the JSON document. The following example shows the metadata for the first page in a two-page collection.
"meta": {
"current_page": 1,
"next_page": 2,
"prev_page": null,
"total_pages": 2,
"total_count": 128
}
To fetch the second or subsequent pages, repeat the same call with a page parameter. For example, to get page 2 on Get all SKUs, your call would look like this:
GET https://api.uphance.com/skus?page=2
If no meta
hash is present in the response, you can assume that responses from that endpoint are not paginated.