Skip to main content
File PrefixSALE
Current VersionV2
AttributeFormatLengthRequiredDescriptionExample
sale_refAlphanumeric1-255YesUnique sale reference descriptor103495
product_refAlphanumeric1-255YesSale of given productB01N53LF
quantityNumeric1-7YesQuantity3
priceNumeric1-10YesUnit Price of the sale599.90
currency_codeISO 4217 Must belong to our supported currencies3YesCurrency for the saleUSD
created_atDate and time ISO 8601 (UTC)19YesDate and time the sale occurred (in UTC)2022-01-17T10:15:18
skuAlphanumeric1-255NoSKU of product variant of the saleB01N53LF
shopper_refAlphanumeric1-255YesShopper who made the purchasedSHOPPER-1
store_refAlphanumeric1-255NoStore where the sale happenedSTORE-1
sales_associate_refAlphanumeric1-255NoSales associate who sold this line. Rows of one sale can name different associates — see Several associates on one saleSALES_ASSOCIATE-1

Price

It is essential to communicate the sale price based on the unit price of each individual item, rather than the total price for all units. For example, if a sale comprises 2 identical belts, each priced at $20, the reporting should reflect the following:

Rows and lines

Each row is one line of a sale. The rows that share a sale_ref make up the sale, and its shopper, store, date and currency come from its first row. Sending a sale_ref again replaces its lines. Rows with the same product_ref, sku and price, whose quantities have the same sign, are added together into one line. Two rows for the same $20 belt, each with quantity 1, become one line with quantity 2 — the same as sending a single row with quantity 2. Rows that differ in sku or price, or in the sign of quantity (in an exchange, a return beside the re-purchase), stay separate lines.

Several associates on one sale

Rows of the same sale can name different sales_associate_ref values, and rows naming different associates are never added together. Each associate is credited with the revenue and units of the lines they sold, and the sale counts toward each associate who sold something on it. On an exchange, the returned lines reduce each seller’s credit in proportion to their share, and an associate who appears only on returned lines isn’t credited. The sale itself is attributed to the associate with the largest share; on a tie, to the one whose row comes first. A row with no sales_associate_ref, or one that matches no sales associate, is credited to the associate on the sale’s first row — or, when that one doesn’t match either, to the associate the sale is attributed to.
This applies to accounts created on or after October 7, 2026, and to earlier accounts where BSPK has turned it on. On other accounts, the whole sale is credited to the associate on its first row, and rows that differ only in sales_associate_ref are added together. Ask your BSPK contact to turn it on for an earlier account; sales imported before it was turned on keep their credit until they are sent again.