Mark Food Ready
This section specifies how you can update the status of GoFood order.
- On
pickup
type, it will notify the consumers that the order can be picked up. - On
delivery
type, it will notify the drivers that the order can be picked up to be delivered to consumers.
Endpoint
PUT /integrations/gofood/outlets/{outlet_id}/v1/orders/{order_type}/{order_id}/food-prepared
Sample Request
curl -X PUT https://api.partner-sandbox.gobiz.co.id/integrations/gofood/outlets/{outlet_id}/v1/orders/{order_type}/{order_id}/food-prepared \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {access-token}' \
-d $'
{
"country_code" : "ID"
}
'
Path Parameters
Name | Description | Type | Required |
---|---|---|---|
outlet_id | ID of the outlet for which you want to update the menu. | String | Required |
order_type | The order type, either delivery or pickup . | String | Required |
order_id | ID of the order for which you want to update the status. | String | Required |
Request Parameters
JSON Attribute | Description | Type | Required |
---|---|---|---|
country_code | Country code of the outlet registered country. Value: ID. | String | Required |
Sample Response - 200
Sample Response
{
"success": true,
"data": {}
}
note
- To perform this operation, you must be authenticated using
go_auth_client_credentials(gofood:order:write)
. - Possible error responses are
401
,404
,406
, and408
. Please refer Error Glossary.