Once you start operating with YOM, you can receive the purchase intents of your Commerces. These are reflected in the Order entity.
What is an Order?
An Order in YOM represents a purchase request from a Commerce made through the platform. Each Order contains detailed information about the Commerce, the selected Products, the shipping address, the total price, and other details that matter for executing the sale.
POST order.created
POST order.updated
An Order includes the complete information of the entities related to it, with their state at the time it was created.
<aside> <img src="/icons/shop_gray.svg" alt="/icons/shop_gray.svg" width="40px" />
Commerce
</aside>
<aside> <img src="/icons/profile_gray.svg" alt="/icons/profile_gray.svg" width="40px" />
Seller
</aside>
<aside> <img src="/icons/hair-care_gray.svg" alt="/icons/hair-care_gray.svg" width="40px" />
Products
</aside>
<aside> <img src="/icons/user-circle-filled_gray.svg" alt="/icons/user-circle-filled_gray.svg" width="40px" />
User
</aside>
An Order includes the base amounts, taxes, discounts, and shipping costs applied to each Product and to the complete Order.
Each Pricing contains each of the amounts above, with the breakdown of the discounts and taxes applied.
The order entity represents the purchase request for Products made by a Commerce through Yom. It contains the main information of a purchase request made by a Commerce, including details of the Commerce, Products, Prices, and the order status.
| --- | --- | --- | --- | --- |
The user object defines the details of the User who places the Order. This includes personal information, contact details, and a unique identifier generated by Yom.