v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-29208421.4 MB
SKU file

Get SKU files

Retrieves general information about all files in the SKU.

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
CatalogContentSKUs

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/pvt/stockkeepingunit/{skuId}/file

Path parameters

skuIdinteger required
Example:310118490

SKU's unique numerical identifier.

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

Idinteger

Unique identifier of the association of the image to the SKU.

ArchiveIdinteger

Unique identifier of the image.

SkuIdinteger

SKU unique identifier.

Namestring

Image name.

IsMainboolean

Defines if the image is the SKU main image (true) or not (false). This field will always be true when the image Position is 0, and false otherwise.

Textstring

SKU image text.

Labelstring nullable

Image label.

Urlstring

SKU image URL.

FileLocationstring

Location where the file is stored.

Positioninteger

Position of the SKU image as displayed in the storefront, where 0 corresponds to the first position, 1 to the second position, and so on. The position 0 will always make the isMain value true.