Data Tables
Product Table
This table should include all products, product variants and unique identifier
information. We use this as a source of truth for all skus in your store. Each
product can contain an attributes
field which is an object of additional
product attributes.
Time Period: Current
Why do we need this? We use this information to aid in training our pricing models, implementing margin constraints and correctly calculating P&L metrics.
Schema
Unique Constraint:
sku_primary
.Name | Required? | Type | Description | Example |
---|---|---|---|---|
Identifiers | ||||
sku_primary | required | string | Must be unique (including by price zone). This is the sku identifier at the most granular at which you would want to manage pricing. | "sku_1_zone_12" |
sku_secondary | optional | string | Secondary sku value. Does not need to be unique | "sku_1" |
barcode | optional | string | 12345678905 | |
barcode_type | optional | string | E.g asin/ upc/ gtin | "ups" |
Price | ||||
list_price | required | float | 14.99 | |
member_price | optional | float | 12.99 | |
subscriber_price | optional | float | 12.99 | |
discounted_price | optional | float | 14.49 | |
Costs | ||||
cost | required | float | The unit cost to be used when calculating product margins in the dashboard and for forecasting. | 7.10 |
custom_costs | optional | ZodJsonObject | {} | |
Details | ||||
name | required | string | "Blue T-Shirt" | |
description | optional | string | "The best blue t-shirt." | |
sku_brand | optional | string | Brand of product being sold. | "Gap" |
price_zone | optional | string | Price zone identifier. A price zone defines the region where the primary sku is sold. | "zone_1" |
category | required | string[] | Sku category | ["Men", "Shirts"] |
attributes | optional | ProductAttributes | Product attributes - see below for schema definition | ProductAttributesSchema |
tags | optional | string[] | Tags for this sku, which will be applied as imported product tags in the dashboard. | ["Basics", "Snacks"] |
is_active | required | boolean | Note that we do not suggest price changes or track price changes for inactive SKUs. | true |
price_pushing_id | optional | json | The sku identifier we will use to push price changes live on your behalf. | |
Product Attributes | ||||
count | optional | string | ||
count_unit_of_measurement | optional | string | ||
collection | optional | string | ||
color | optional | string | "red" | |
comparison_price | optional | string | e.g a per ounce price | |
comparison_quantity | optional | string | ||
comparison_unit_of_measurement | optional | string | ||
country_of_origin | optional | string | "USA" | |
custom_attributes | optional | ZodJsonObject | Any other product fields that are not in our schema, but you want to include? | {} |
department | optional | string | ||
discontinued | optional | boolean | false | |
expiration_date | optional | ZodDateInput | "2023-12-31" | |
fit | optional | string | "regular" | |
gender | optional | string | "unisex" | |
height | optional | string | "6ft" | |
kvi | optional | string | high_kvi | |
material | optional | string | "cotton" | |
product_image | optional | string | URL link to image for product. | "exampleimagelink.com" |
product_url | optional | string | Link to product page. | "example.com/sku1" |
sold_by | optional | string | Should be either “COUNT” or “WEIGHT” | "WEIGHT" |
producer_name | optional | string | "Company A" | |
producer_type | optional | string | "OEM" | |
product_brand_name | optional | string | ||
product_type | optional | string | "Electronics" | |
rating | optional | string | "4.5" | |
release_date | optional | ZodDateInput | "2023-01-01" | |
search_keywords | optional | string | "keyword1, keyword2" | |
store_id | optional | string | Id of the store where the product is sold | "store_1" |
sub_category | optional | string[] | Sku subcategories | ["T-shirt", "Casual"] |
version | optional | string | "1.0" | |
weight | optional | string | "500g" | |
weight_unit_of_measurement | optional | string | "g" | |
width | optional | string | "10cm" |