action vtex_product_variations { label: "Get Product's SKUs by Product ID" description: "Retrieves data about the product and all SKUs related to it by the product's ID. \n## Response body example \n \n```json \n{ \n \"productId\": 9, \n \"name\": \"Camisa Masculina\", \n \"salesChannel\": \"2\", \n \"available\": true, \n \"displayMode\": \"lista\", \n \"dimensions\": [ \n \"Cores\", \n \"Tamanho\", \n \"País de origem\", \n \"Gênero\" \n ], \n \"dimensionsInputType\": { \n \"Cores\": \"Combo\", \n \"Tamanho\": \"Combo\", \n \"País de origem\": \"Combo\", \n \"Gênero\": \"Combo\" \n }, \n \"dimensionsMap\": { \n \"Cores\": [ \n \"Amarelo\", \n \"Azul\", \n \"Vermelho\" \n ], \n \"Tamanho\": [ \n \"P\", \n \"M\", \n \"G\" \n ], \n \"País de origem\": [ \n \"Brasil\" \n ], \n \"Gênero\": [ \n \"Masculino\" \n ] \n }, \n \"skus\": [ \n { \n \"sku\": 310118454, \n \"skuname\": \"Amarela - G\", \n \"dimensions\": { \n \"Cores\": \"Amarelo\", \n \"Tamanho\": \"G\", \n \"País de origem\": \"Brasil\", \n \"Gênero\": \"Masculino\" \n }, \n \"available\": false, \n \"availablequantity\": 0, \n \"cacheVersionUsedToCallCheckout\": null, \n \"listPriceFormated\": \"R$ 0,00\", \n \"listPrice\": 0, \n \"taxFormated\": \"R$ 0,00\", \n \"taxAsInt\": 0, \n \"bestPriceFormated\": \"R$ 9.999.876,00\", \n \"bestPrice\": 999987600, \n \"spotPrice\": 999987600, \n \"installments\": 0, \n \"installmentsValue\": 0, \n \"installmentsInsterestRate\": null, \n \"image\": \"https://lojadobreno.vteximg.com.br/arquivos/ids/155467-292-292/image-5d7ad76ad1954c53adecab4138319034.jpg?v=637321899584500000\", \n \"sellerId\": \"1\", \n \"seller\": \"lojadobreno\", \n \"measures\": { \n \"cubicweight\": 1.0000, \n \"height\": 5.0000, \n \"length\": 20.0000, \n \"weight\": 200.0000, \n \"width\": 20.0000 \n }, \n \"unitMultiplier\": 1.0000, \n \"rewardValue\": 0 \n }, \n { \n \"sku\": 310118455, \n \"skuname\": \"Vermelha - M\", \n \"dimensions\": { \n \"Cores\": \"Vermelho\", \n \"Tamanho\": \"M\", \n \"País de origem\": \"Brasil\", \n \"Gênero\": \"Masculino\" \n }, \n \"available\": true, \n \"availablequantity\": 99999, \n \"cacheVersionUsedToCallCheckout\": \"38395F1AEF59DF5CEAEDE472328145CD_\", \n \"listPriceFormated\": \"R$ 0,00\", \n \"listPrice\": 0, \n \"taxFormated\": \"R$ 0,00\", \n \"taxAsInt\": 0, \n \"bestPriceFormated\": \"R$ 20,00\", \n \"bestPrice\": 2000, \n \"spotPrice\": 2000, \n \"installments\": 1, \n \"installmentsValue\": 2000, \n \"installmentsInsterestRate\": 0, \n \"image\": \"https://lojadobreno.vteximg.com.br/arquivos/ids/155468-292-292/image-601a6099aace48b89d26fc9f22e8e611.jpg?v=637321906602470000\", \n \"sellerId\": \"pedrostore\", \n \"seller\": \"pedrostore\", \n \"measures\": { \n \"cubicweight\": 0.4167, \n \"height\": 5.0000, \n \"length\": 20.0000, \n \"weight\": 200.0000, \n \"width\": 20.0000 \n }, \n \"unitMultiplier\": 1.0000, \n \"rewardValue\": 0 \n } \n ] \n} \n```" provider: vtex method: GET path: "/api/catalog_system/pub/products/variations/{productId}" encoding: json input: { type: "object" properties: { Accept: { type: "string" } "Content-Type": { type: "string" } productId: { type: "integer" } } required: ["Accept", "Content-Type", "productId"] additionalProperties: false } output: { type: "object" description: "Response body." properties: { available: { type: "boolean" description: "Defines if the product is available (`true`) or not (`false`)." } dimensions: { type: "array" description: "Lists SKU specifications." items: { type: "string" description: "Name of the SKU specification." } } dimensionsInputType: { type: "object" description: "Lists SKU specifications and their field type, in the following format: `\"{specificationName}\":\"{fieldType}\"`." } dimensionsMap: { type: "object" description: "Lists SKU specifications and their possible values inside arrays." } displayMode: { type: "string" description: "Defines the mannner SKUs are displayed." } name: { type: "string" description: "Product name." } productId: { type: "integer" description: "Product’s unique numerical identifier." } salesChannel: { type: "string" description: "Trade policy ID." } skus: { type: "array" description: "Array containing information about the product's SKUs." items: { type: "object" description: "Object containing information about a specific SKU." properties: { available: { type: "boolean" description: "Defines if the SKU is available (`true`) or not (`false`)." } availablequantity: { type: "integer" description: "Available quantity of the SKU in stock." } bestPrice: { type: "integer" description: "Best price." } bestPriceFormated: { type: "string" description: "Best price formatted according to the valid currency." } cacheVersionUsedToCallCheckout: { type: "string" description: "Cache version used to call Checkout." } dimensions: { type: "object" description: "Lists SKU specifications and their respective values." } image: { type: "string" description: "SKU image URL." } installments: { type: "integer" description: "Number of installments." } installmentsInsterestRate: { type: "integer" description: "Interest rate of installments." } installmentsValue: { type: "integer" description: "Value of installments." } listPrice: { type: "integer" description: "List price." } listPriceFormated: { type: "string" description: "List price formatted according to the valid currency." } measures: { type: "object" description: "SKU measures." properties: { cubicweight: { type: "number" description: "Cubic weight." } height: { type: "number" description: "Height." } length: { type: "number" description: "Length." } weight: { type: "number" description: "Weight." } width: { type: "number" description: "Width." } } } rewardValue: { type: "integer" description: "SKU reward value for rewards program." } sellerId: { type: "string" description: "Seller ID." } sku: { type: "integer" description: "SKU ID." } skuname: { type: "string" description: "SKU Name." } spotPrice: { type: "integer" description: "Spot price." } taxAsInt: { type: "integer" description: "Tax value." } taxFormated: { type: "string" description: "Tax value formatted according to the valid currency." } unitMultiplier: { type: "number" description: "SKU Unit Multiplier." } } } } } } }