Products
Understand the basics of products.
Last updated
Understand the basics of products.
Last updated
A product (a stock keeping unit or SKU) is a sellable item or service. Products in your Digital River catalog contain all the required attributes to complete an end-consumer transaction (payments, tax, and fulfillment). You can generally configure the product in one of two ways:
An individual product (single sellable SKU)
A base product with product variations (base product with multiple sellable SKU variants)
You can retrieve the catalog product information, including applicable discounted prices, by leveraging the available product endpoints.
An individual product is a single item, such as a downloadable song, or a collection of items, such as a box set. Use the POST /v1/products
request to and the POST /products/{productId}
request to . There are no product variations associated with it.
An individual product is a single sellable stock keeping unit (SKU). The following image shows an example of a SKU:
If a product comes in different colors, sizes, or versions, it is easier to maintain a base product with product variations than a handful of nearly identical products.
Note: A shopper cannot add a base product to a cart. They can only add the product variation to the cart. For example, a shopper can go to the Digital River-hosted storefront and choose a product variation from an interstitial page. The store template automates and controls this behavior.
You must change at least one common attribute to make the product variation unique. Only change those settings or attributes that are unique to the variation to reduce operational maintenance.
The following image shows an example of a product variant on a store's website:
You can choose to either:
Define as many common attributes as possible for the base product before you create a product variation.
You can add the product variations to that base product later.
The following example adds or updates a base product and its product variations.
The following example verifies the successful completion of the request shown above.
Use the Admin API fulfillment types (fulfillmentTypes
) to define how to deliver products to shoppers. The options are empty (""
), physical
or download
. When the value is empty, the product is neither physical nor digital (download
). The empty value reflects the Other setting in Global Commerce for service, warranty, entitlement, etc. Digital River supports two types of digital products: subscription and download.
You can (parent) that contains the common attributes for all product variations (children) of that product. All product variations inherit common attributes. For example, if two variations of a base product require the same product images, add those images to the base product before creating your variations.
Use the POST /v1/products
request to and the POST /v1/products/{productId}
request to .
Product variations are different versions of a base product that a shopper can purchase, such as different versions, sizes, or capacities. When you , the request copies the common attributes from the base product to the variation. You must change the appropriate attributes and settings to make that variation unique. Each product variation contains attributes and settings that are unique to that product variation.
first and include the common attributes. If you choose not to define some of the common attributes, those attributes will not be available when you .
You can using one call by adding the variations
object to the payload. The request copies the common attributes from the base product to each product variation. You modify the attributes for each product variation in the payload when you .