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:
| Product | Category | Resource |
|---|---|---|
| Catalog | Content | Product 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.
Query parameters
ID of the category from which you need to retrieve products and SKUs.
Index of the first record to retrieve. The difference between _from and _to cannot exceed 250.
Index of the last record to retrieve. The difference between _from and _to cannot exceed 250.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Response
OK