name | The name of the product | String, up to 1024 characters | — |
product_id | The unique identifier of the product in your database | String, up to 64 characters | — |
sku | The product’s SKU | String, up to 64 characters | — |
groups (optional) | Used for SKU Swap and Incentives. All products assigned to the same group will be swappable between each other | String, up to 64 characters | — |
price | The price of the product | Decimal up to 99999999.99 | Must be a decimal (not wrapped in quotation marks) with two digits after the decimal point. Should not be set to anything other than what the customer should be charged (e.g. do not set to $0). |
details_url | Fully qualified URL of the product details page | String, up to 400 characters | — |
image_url | Fully qualified URL of the product’s image file | String, up to 400 characters | Must be HTTPS |
autoship_eligible (optional) | A flag that marks the product as eligible for subscription. 0 = not eligible, 1 = eligible | Tinyint(1) | Must be 1 or 0, not wrapped in quotation marks |
in_stock | A flag that marks the product as available in terms of inventory. 1 = In stock, 0 = Out of Stock. A product can become temporarily out of stock, which will temporarily stop orders from being placed with that product. No checkout flow offers will be served for out-of-stock products, but Instant Upsell offers will still be served as the product may come back in stock prior to order placement. | Tinyint(1) | Must be 1 or 0, not wrapped in quotation marks |
discontinued (optional) | An optional flag that marks the product as no longer available. 0 = Not discontinued, 1 = Discontinued. When discontinued, all subscriptions with that product will be cancelled and the customer notified via email. A discontinued product must also be set to autoship_eligible = 0 and in_stock = 0. | Tinyint(1) | Must be 1 or 0, not wrapped in quotation marks. NOTE: To discontinue a product it must also be marked as Not Eligible and Out of Stock. |
extra_data (optional) | The value to be displayed in the SKU swap dropdown. Can be used to display a name other than the full product name | String, up to 1024 characters | — |
relationships (optional) | Defines the related product ID for discontinued product replacement SKU swap. If relationship name = discontinued_silent_replacement, subscribers will NOT be notified of the swap. If relationship name = discontinued_replacement, an email will be sent to all subscribers informing them of the swap. The subscriber is only notified once the swap has been completed. | String, up to 64 characters | — |
every (optional) | The number of days, weeks, or months used to specify a product-specific default frequency | INT, up to 10 characters | — |
every_period (optional) | The frequency period for the product-specific default frequency. 1 = days, 2 = weeks, 3 = months, 4 = years | INT, up to 6 characters | Example: <every>4</every> with <every_period>2</every_period> = every 4 weeks |
product_type | The type of product. Default is standard. Options: standard, static price bundle, dynamic price bundle | String | Defaults to standard if not provided. product_type cannot be changed after product creation. |