API reference
markOrderAsPickedUp
Required permission: RestaurantRead
markOrderAsPickedUp(
restaurantId: ID!
digitalSlipId: ID!
): DigitalSlipArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
digitalSlipId |
ID! |
Returns
Example
mutation MarkOrderAsPickedUp($restaurantId: ID!, $digitalSlipId: ID!) {
markOrderAsPickedUp(restaurantId: $restaurantId, digitalSlipId: $digitalSlipId) {
id
backgroundColor
createdAt
deliveryTime
estimatedDeliveryTime
html
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { markOrderAsPickedUp(...) { __typename } }"}'