Modify an order
curl --request PATCH \
--url https://api.hyra.io/players/orders/{workspaceId}/{orderId} \
--header 'Content-Type: application/json' \
--data '{
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted"
}'
{
"order_number": 123,
"items": [
"<string>"
],
"submitted_by": "<string>",
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted",
"customer": "<string>",
"workspace": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "<string>"
}
curl --request PATCH \
--url https://api.hyra.io/players/orders/{workspaceId}/{orderId} \
--header 'Content-Type: application/json' \
--data '{
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted"
}'
{
"order_number": 123,
"items": [
"<string>"
],
"submitted_by": "<string>",
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted",
"customer": "<string>",
"workspace": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "<string>"
}
Modify an order
curl --request PATCH \
--url https://api.hyra.io/players/orders/{workspaceId}/{orderId} \
--header 'Content-Type: application/json' \
--data '{
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted"
}'
{
"order_number": 123,
"items": [
"<string>"
],
"submitted_by": "<string>",
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted",
"customer": "<string>",
"workspace": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "<string>"
}
curl --request PATCH \
--url https://api.hyra.io/players/orders/{workspaceId}/{orderId} \
--header 'Content-Type: application/json' \
--data '{
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted"
}'
{
"order_number": 123,
"items": [
"<string>"
],
"submitted_by": "<string>",
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted",
"customer": "<string>",
"workspace": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "<string>"
}