Skip to main content

Sale line

One line of an order in a sale event.

Fields​

FieldTypeRequiredDescription
seller_refstringYesThe seller id of the product, as pushed in the seller catalog.
product_idstringYesThe product id from the catalog push. Never its sku.
quantityintegerYesUnits bought on this line.
unit_pricenumberYesPrice of one unit.
channelstringNoWhere the line was sold. Offline (in-store) lines need sale_date and location_id on the event. One of ONLINE, OFFLINE. Default ONLINE.
line_idstringNoYour order line id. Keeps lines apart when one product appears twice.
brandstringNoBrand of the product, kept on the event.
retailer_taxonomystringNoCategory 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>"
}