Skip to content

Rew 2629 SKU and id documentation#74

Merged
gmanningcr merged 3 commits intomasterfrom
rew-2629_sku-and-id-documentation
Dec 16, 2025
Merged

Rew 2629 SKU and id documentation#74
gmanningcr merged 3 commits intomasterfrom
rew-2629_sku-and-id-documentation

Conversation

@gmanningcr
Copy link
Contributor

sanketp85
sanketp85 previously approved these changes Dec 16, 2025

**Important note**

All products and product variants are assigned an id upon creation. It is important to note that the id assigned to product variants is subject to change regularly due to how updates are managed, and any product that is deleted and recreated will also receive a new id. Therefore, it is vital that the SKU of a product or variant is considered as the unique identifier when evaluating products and their variants. When you update or create a product via our api's we will return the product id and the id's of all of the products variants if it has any, so if you do require the current variant id's then you can get them from the product response, or you can list all of your products and variants using our [list products endpoint](#products-list-all-products).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[suggestion]

Some grammar changes to consider.

Suggested change
All products and product variants are assigned an id upon creation. It is important to note that the id assigned to product variants is subject to change regularly due to how updates are managed, and any product that is deleted and recreated will also receive a new id. Therefore, it is vital that the SKU of a product or variant is considered as the unique identifier when evaluating products and their variants. When you update or create a product via our api's we will return the product id and the id's of all of the products variants if it has any, so if you do require the current variant id's then you can get them from the product response, or you can list all of your products and variants using our [list products endpoint](#products-list-all-products).
All products and product variants are assigned an id upon creation. It is important to note that the id assigned to product variants is subject to change regularly due to how updates are managed, and any product that is deleted and recreated will also receive a new id; therefore, it is vital that the SKU of a product or variant is considered as the unique identifier when evaluating products and their variants. \
When you update or create a product via the API, the product id and the ids of all of the product's variants _(if it has any)_ will be returned. If you require the current variant ids then you can get them from the product response, or you can list all of your products and variants using our [list products endpoint](#products-list-all-products).

reissjohnson
reissjohnson previously approved these changes Dec 16, 2025
@gmanningcr gmanningcr dismissed stale reviews from reissjohnson and sanketp85 via 9b28704 December 16, 2025 11:29
@gmanningcr gmanningcr merged commit f0cb183 into master Dec 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants