StateSet One API Documentation
Orders
- GETList Orders
- GETRetrieve Order
- POSTAdd Item to Order
- POSTRemove Item from Order
- Add discount
- POSTRemove Discount
- POSTApply Promotion
- POSTRemove Promotion
- POSTCreate Order
- POSTCancel Order
- POSTHold Order
- POSTRelease Order
- POSTShip Order
- POSTReturn Order
- POSTRefund Order
- POSTExchange Order
- POSTSplit Order
- POSTMerge Order
- POSTTag Order
- POSTUpdate Order
Returns
Return Line Items
Warranty Line Items
Wholesale Orders
Inventory Items
Packing List
Packing List Items
Purchase Orders
Bill of Materials
Bill of Materials Line Item
Work Orders
Work Order Line Items
Cycle Counts
Manufacture Orders
Manufacture Order Line Items
Leads
Cases
List Manufacture Orders
This endpoint list manufacture orders.
curl --location --request GET 'https://api.stateset.com/v1/manufacture_orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "ASC"
}'
{
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
"memo": "This is a manufacture order",
"number": "MO-0001",
"priority": "High",
"site": "Site 1",
"yield_location": "Location 1",
"created_on": "2021-01-01T00:00:00.000000Z",
"expected_completion_date": "2021-01-01",
"issued_on": "2021-01-01",
"manufacture_order_line_items": [
{
"bom_name": "BOM 1",
"bom_number": "BOM-0001",
"id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
"expected_date": "2021-01-01",
"line_status": "In Progress",
"line_type": "Manufacture",
"manufacture_order_number": "MO-0001",
"output_type": "Product",
"part_name": "Part 1",
"part_number": "PART-0001",
"priority": "High",
"quantity": 100,
"site": "Site 1",
"work_order_number": "WO-0001",
"yield_location": "Location 1"
}
]
}
]
}
}
Body
This is the limit of the manufacture orders.
This is the offset of the manufacture orders.
This is the order direction of the manufacture orders.
Response
Unique identifier for the manufacture order
Additional notes or information about the manufacture order
Number assigned to the manufacture order
Priority level of the manufacture order
Site or location associated with the manufacture order
Location where the manufactured product will be stored
Date and time when the manufacture order was created
Expected date of completion for the manufacture order
Date when the manufacture order was issued
Name of the bill of materials (BOM) associated with the line item
Number assigned to the bill of materials (BOM)
Unique identifier for the line item
Expected date for the completion of the line item
Status of the line item (e.g., in progress, completed, etc.)
Type or category of the line item
Number of the associated manufacture order
Type of output produced by the line item (e.g., product, component)
Name of the part associated with the line item
Number assigned to the part associated with the line item
Priority level of the line item
Quantity of the part to be manufactured or processed
Site or location associated with the line item
Number of the associated work order
Location of the yield of the manufacture order line item
curl --location --request GET 'https://api.stateset.com/v1/manufacture_orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "ASC"
}'
{
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
"memo": "This is a manufacture order",
"number": "MO-0001",
"priority": "High",
"site": "Site 1",
"yield_location": "Location 1",
"created_on": "2021-01-01T00:00:00.000000Z",
"expected_completion_date": "2021-01-01",
"issued_on": "2021-01-01",
"manufacture_order_line_items": [
{
"bom_name": "BOM 1",
"bom_number": "BOM-0001",
"id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
"expected_date": "2021-01-01",
"line_status": "In Progress",
"line_type": "Manufacture",
"manufacture_order_number": "MO-0001",
"output_type": "Product",
"part_name": "Part 1",
"part_number": "PART-0001",
"priority": "High",
"quantity": 100,
"site": "Site 1",
"work_order_number": "WO-0001",
"yield_location": "Location 1"
}
]
}
]
}
}
curl --location --request GET 'https://api.stateset.com/v1/manufacture_orders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"limit": 10,
"offset": 0,
"order_direction": "ASC"
}'
{
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
"memo": "This is a manufacture order",
"number": "MO-0001",
"priority": "High",
"site": "Site 1",
"yield_location": "Location 1",
"created_on": "2021-01-01T00:00:00.000000Z",
"expected_completion_date": "2021-01-01",
"issued_on": "2021-01-01",
"manufacture_order_line_items": [
{
"bom_name": "BOM 1",
"bom_number": "BOM-0001",
"id": "b1b1b1b1-b1b1-b1b1-b1b1-b1b1b1b1b1b1",
"expected_date": "2021-01-01",
"line_status": "In Progress",
"line_type": "Manufacture",
"manufacture_order_number": "MO-0001",
"output_type": "Product",
"part_name": "Part 1",
"part_number": "PART-0001",
"priority": "High",
"quantity": 100,
"site": "Site 1",
"work_order_number": "WO-0001",
"yield_location": "Location 1"
}
]
}
]
}
}