Manufacture Orders
Delete Manufacture Order
This endpoint deletes an existing manufacturer order.
DELETE
/v1/manufacture_orders/:id
Bearer*
Body
manufacture_order_id
string
The ID provided in the data tab may be used to identify the manufacture order
Response
id
string
The ID provided in the data tab may be used to identify the manufacture order
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/manufacture_orders/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "mo_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "mo_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "return",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/manufacture_orders/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "mo_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "mo_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "return",
"deleted": true
}