cURL
curl --request PUT \ --url https://take.app/api/platform/orders \ --header 'Content-Type: application/json' \ --data '{ "status": "ORDER_STATUS_PENDING", "paymentStatus": "PAYMENT_STATUS_PENDING", "fulfillmentStatus": "UNFULFILLED" }'
{ "id": "<string>", "status": "ORDER_STATUS_PENDING", "paymentStatus": "PAYMENT_STATUS_PENDING", "fulfillmentStatus": "UNFULFILLED", "customer": { "name": "<string>", "phone": "<string>", "email": "jsmith@example.com" }, "items": [ { "productId": "<string>", "quantity": 123 } ], "totalAmount": 123, "createdAt": "2023-11-07T05:31:56Z" }
Update order status
Order ID
Input for updating order status
Order updated successfully
The response is of type object.
object