Order
POST /{applicationId}/orders
Push an order to the Grubtech platform.
Request
- Base URLhttps://virtserver.swaggerhub.com/GrubTech/grubtech-grocery-integration-apis/1.0.0
- URLhttps://virtserver.swaggerhub.com/GrubTech/grubtech-grocery-integration-apis/1.0.0/{applicationId}/orders
- AuthOAuth 2Authorization code: https://id.staging.grubtech.io/oauth2/authorizeToken URL: https://id.staging.grubtech.io/oauth2/token
Path parameters
applicationIdstring required
Application ID provided by GrubTech to identify the integration
Request body
Example request
{
"id": "703546147070869504",
"storeId": "a9f3ded6-c10b-4f17-ad42-5788e061b0a6",
"displayId": "4212331",
"currencyCode": "AED",
"instructions": "Please readuce the bag count of the order",
"delivery": {
"pickupTime": "2021-01-01T09:23:54.723Z"
},
"items": [
{
"price": {
"unitPrice": 1200,
"discountAmount": 1200,
"totalPrice": 1200
}
}
],
"archivedItems": [
{
"price": {
"unitPrice": 1200,
"discountAmount": 1200,
"totalPrice": 1200
},
"amendItems": [
{
"quantity": 10
}
]
}
],
"scheduledOrder": {
"scheduledAt": "2020-08-02T09:23:54.723Z"
},
"placedAt": "2020-08-02T09:23:54.723Z"
}Response
Successful response OK
No Content required(unresolved $ref)
Changes
No recorded changes to this operation across all 1 revision of this API.