cURL
curl --request PUT \ --url https://api.example.com/api/v1/orders/{order_id}/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "<string>" } '
{ "id": "<string>", "pump_id": 123, "client_bill_choice": "<string>", "date": "2023-11-07T05:31:56Z", "amount": "<string>", "quantity": "<string>", "ppu": "<string>", "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "user_id": "<string>", "client_tax_id": "<string>", "client_email": "<string>", "updated_at": "2023-11-07T05:31:56Z" }
Update order status (completed or canceled).
The access token received from the authorization server in the OAuth 2.0 flow.
Schema for updating order status.
Successful Response
Schema for order response.