Skip to main content

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

NameDescriptionTypeRequired
outlet_idID of the outlet for which you want to update the menu.StringRequired
order_typeThe order type, either delivery or pickup.StringRequired
order_idID of the order for which you want to update the status.StringRequired

Request Parameters

JSON AttributeDescriptionTypeRequired
country_codeCountry code of the outlet registered country. Value: ID.StringRequired

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, and 408. Please refer Error Glossary.