Product identifier
Understand the product identifier.
Last updated
Understand the product identifier.
Last updated
A product identifier is the client's unique stock keeping unit (SKU) for a product. A product's unique identifier is represented by an id
. The product identifier value (productID
or PID
) is the identifier associated with a product.
When you create a product programmatically or through , Digital River automatically assigns a product identifieDigital River assigns a product identifier when.
The productId
or PID
variable can be one of the following values: an , , or product identifier. If you want to use your company's internal product identifiers, see for instructions.
You can use a product identifier to search for a product or add a product to a cart. The following examples demonstrate how you can use the product identifier (id
) with the product-related resource. If you want to use your company's internal product identifiers, see for instructions.
The following request gets a product by its product identifier of 64578500
.
Using the externalReferenceId
query parameter, the following request example adds a product to a cart.
A successful request with this particular API results in a 302 redirect
to a Digital River-hosted guest checkout page.
In a typical anonymous customer workflow, you can add products to a cart by external reference identifier, making a single POST call with a payload to the resource. The following payload (request entity) adds a product with the id
of 64578500
, with a quantity
of 2
, to a cart.