Product

Get product and SKU IDs

Retrieves the IDs of products and SKUs.

⚠️ This request returns a maximum of 250 records per response. The difference between the _from and _to query parameters cannot exceed 250. For example, _from=750 and _to=1000 is valid, but _from=1 and _to=500 is not. If the range is larger than 250, the API returns: Page can have at most 250 registers, check _from and _to parameters.

Permissions

Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:

ProductCategoryResource
CatalogContentProduct management

There are no applicable predefined roles for this resource list. You must create a custom role and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see Authentication overview.

❗ To prevent integrations from having excessive permissions, consider the best practices for managing API keys when assigning License Manager roles to integrations.

get/api/catalog_system/pvt/products/GetProductAndSkuIds

Query parameters

categoryIdinteger
Example:1

ID of the category from which you need to retrieve products and SKUs.

_frominteger
Example:1

Index of the first record to retrieve. The difference between _from and _to cannot exceed 250.

_tointeger
Example:10

Index of the last record to retrieve. The difference between _from and _to cannot exceed 250.

Headers

Content-Typestring required

Type of the content being sent.

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Response

OK

Changes