# Order Components

An order relayed from our platform will have the below key elements:

1. Customer Info
2. Order Details
3. Item and Option Details
4. Payment Details
5. Store Details

#### Customer Info

While the aggregators generally do not share most of the customer-related information, we share whatever is made available to you. For instance, in most cases, the phone number is not shared and hence you can expect a dummy number to be sent from our side. However, in the case of orders delivered by the restaurant themselves, aggregators share the delivery location and in such cases, it would be shared with you in customer info.

#### Order Details

There are some vital information about the order like order ID, order total, discount (if applied), taxes and charges (if applied), aggregator specific details, delivery type, special instructions etc. which we would relay as a part of the order. We recommend that you map all the details to your system so that everything is readily available in the POS.

#### Item and Option Details

Under the item and option details, we share the POS id of the items and the associated options, name, the prices, additional item-level instructions, taxes and charges (if applied), discount (if applied), quantity etc. These should help you formulate all the calculations at the item level (including the customisations).

#### Payment Details

Inside payment details, we will share some important information like mode of payment of order (cash or online), the amount paid etc. This will help you in your reconciliation module in the POS

#### Store Details

Under store details, we pass you the store id configured in POS for you to route the orders to the right location. We also share the store name as an added element.

The Order Relay webhook will facilitate the relay of orders from our system to the POS. The details regarding this webhook are elaborated in the [API Documentation](/downstream/api/endpoints/order-management/order-relay.md). While you start, please do put the status of this webhook in the Gamma dashboard to *In-Progress* and change it to *To-be-verified* once the same is tested and implemented on your side.

![Order Relay Feature Update in Gamma](/files/dQLkmDqPAj3JSz1OLoV0)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.urbanpiper.com/downstream/order/order-components.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
