Create an order event
Create a new order event
scopes:
- admin:shopping
- write:shopping
- write:shopping:/orders/ANY/events
Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
Authorization: Bearer {access_token}where the access_token is JSON Web Tokens (JWT).
Path Parameters
An id that uniquely identifies the account.
9The resource identifier string
Body
order event
The state of the event
error, failure, success, pending The type of service used, used to differentiate this status from other services
The status reported by the service
"ready_for_pickup"
A short description of the reason for the status
"food prepared"
Additional service data related to the event
{
"pickup_location": {
"latitude": 37.42242,
"longitude": -122.08585,
"postal_code": "0342",
"address": "Smallwei"
}
}Response
event
- Order Status Event
- Order Status Event
The state of the event
error, failure, success, pending The type of service used, used to differentiate this status from other services
The status reported by the service
"ready_for_pickup"
The resource ID. Defaults to UUID v4
40"bd04c959-d159-49b4-a096-2d84e014a8da"
The date-time when the resource was created
The ID of the user/client created the resource
40"bd04c959-d159-49b4-a096-2d84e014a8da"
The version of the resource when the request was done.
Included in events that was created when the resource was updated.
Included in audit events where the order was created or updated by a draft.
A short description of the reason for the status
"food prepared"
Additional service data related to the event
{
"pickup_location": {
"latitude": 37.42242,
"longitude": -122.08585,
"postal_code": "0342",
"address": "Smallwei"
}
}The links related to resource
1