Sale line
One line of an order in a sale event.
- Sent to:
sales[]
Fields
| Field | Type | Required | Description |
|---|---|---|---|
seller_ref | string | Yes | The seller id of the product, as pushed in the seller catalog. |
product_id | string | Yes | The product id from the catalog push. Never its sku. |
quantity | integer | Yes | Units bought on this line. |
unit_price | number | Yes | Price of one unit. |
channel | string | No | Where the line was sold. Offline (in-store) lines need sale_date and location_id on the event. One of ONLINE, OFFLINE. Default ONLINE. |
line_id | string | No | Your order line id. Keeps lines apart when one product appears twice. |
brand | string | No | Brand of the product, kept on the event. |
retailer_taxonomy | string | No | Category path of the product, kept on the event. |
Shape
{
"seller_ref": "ADV003",
"product_id": "P30007",
"quantity": 1,
"unit_price": 100.78,
"channel": "ONLINE",
"line_id": "<line_id>",
"brand": "<brand>",
"retailer_taxonomy": "<retailer_taxonomy>"
}