action vtex_skulistby_product_id { label: "Get SKU list by Product ID" description: "Retrieves a list with the SKUs related to a product by the product's ID. \n \n### Response body example \n \n```json \n[ \n { \n \"IsPersisted\": true, \n \"IsRemoved\": false, \n \"Id\": 2000035, \n \"ProductId\": 2000024, \n \"IsActive\": true, \n \"Name\": \"33 - Preto\", \n \"Height\": 8, \n \"RealHeight\": null, \n \"Width\": 15, \n \"RealWidth\": null, \n \"Length\": 8, \n \"RealLength\": null, \n \"WeightKg\": 340, \n \"RealWeightKg\": null, \n \"ModalId\": 1, \n \"RefId\": \"\", \n \"CubicWeight\": 0.2, \n \"IsKit\": false, \n \"IsDynamicKit\": null, \n \"InternalNote\": null, \n \"DateUpdated\": \"2015-11-06T19:10:00\", \n \"RewardValue\": 0.01, \n \"CommercialConditionId\": 1, \n \"EstimatedDateArrival\": \"\", \n \"FlagKitItensSellApart\": false, \n \"ManufacturerCode\": \"\", \n \"ReferenceStockKeepingUnitId\": null, \n \"Position\": 0, \n \"EditionSkuId\": null, \n \"ApprovedAdminId\": 123, \n \"EditionAdminId\": 123, \n \"ActivateIfPossible\": true, \n \"SupplierCode\": null, \n \"MeasurementUnit\": \"un\", \n \"UnitMultiplier\": 2.0000, \n \"IsInventoried\": null, \n \"IsTransported\": null, \n \"IsGiftCardRecharge\": null, \n \"ModalType\": \"\" \n } \n] \n```" provider: vtex method: GET path: "/api/catalog_system/pvt/sku/stockkeepingunitByProductId/{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: "array" items: { type: "object" properties: { ActivateIfPossible: { type: "boolean" description: "When set to `true`, this attribute will automatically update the SKU as active once associated with an image or an active component." } CommercialConditionId: { type: "integer" format: "int32" description: "SKU Commercial Condition ID." } CubicWeight: { type: "number" description: "[Cubic weight](https://help.vtex.com/en/tutorial/understanding-the-cubic-weight-factor--tutorials_128)." } DateUpdated: { type: "string" description: "Date when the product was updated for the most recent time." } EstimatedDateArrival: { type: "string" description: "SKU estimated arrival date in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format, when the product is on pre-sale. You must take into consideration both the launch date and the freight calculation for the arrival date." } FlagKitItensSellApart: { type: "boolean" description: "Defines if the SKU bundle items can be sold separately." } Height: { type: "number" description: "SKU Height." } Id: { type: "integer" format: "int32" description: "SKU ID." } InternalNote: { type: "string" description: "Internal note." } IsActive: { type: "boolean" description: "Defines if the SKU is active or not." } IsDynamicKit: { type: "string" } IsGiftCardRecharge: { type: "boolean" description: "Defines if the purchase of the SKU will generate reward value for the customer." } IsInventoried: { type: "boolean" } IsKit: { type: "boolean" description: "Flag to set whether the product SKU is made up of one or more SKUs, thereby becoming a bundle. Must be enabled if you are adding a bundle. Once activated, the flag cannot be reverted." } IsPersisted: { type: "boolean" description: "Defines if the SKU is persisted." } IsRemoved: { type: "boolean" description: "Defines if the SKU is removed." } IsTransported: { type: "boolean" } Length: { type: "number" description: "SKU Length." } ManufacturerCode: { type: "string" description: "Product Supplier ID." } MeasurementUnit: { type: "string" description: "Measurement unit." } ModalId: { type: "integer" format: "int32" description: "Delivery Method (Modal Type) ID." } ModalType: { type: "string" description: "Links an unusual type of SKU to a carrier specialized in delivering it. This field should be filled in with the name of the modal (e.g. \"Chemicals\" or \"Refrigerated products\"). To learn more about this feature, read our articles [How the modal works](https://help.vtex.com/en/tutorial/how-does-the-modal-work--tutorials_125) and [Setting up modal for carriers](https://help.vtex.com/en/tutorial/configure-modal--3jhLqxuPhuiq24UoykCcqy)." } Name: { type: "string" description: "SKU Name." } Position: { type: "integer" format: "int32" description: "SKU Position." } ProductId: { type: "integer" format: "int32" description: "Product ID." } RealHeight: { type: "number" description: "Real SKU Height." } RealLength: { type: "number" description: "Real SKU Length." } RealWeightKg: { type: "number" description: "Real Weight of the SKU in the measurement [configured in the store](https://help.vtex.com/en/tutorial/filling-in-system-settings--tutorials_269), which by default is in grams." } RealWidth: { type: "number" description: "Real SKU Width." } RefId: { type: "string" description: "Product Reference ID." } ReferenceStockKeepingUnitId: { type: "string" description: "SKU Reference ID." } RewardValue: { type: "number" description: "Reward value related to the SKU." } UnitMultiplier: { type: "number" description: "This is the multiple number of SKU. If the Multiplier is 5.0000, the product can be added in multiple quantities of 5, 10, 15, 20, onward." } WeightKg: { type: "number" description: "Weight of the SKU in the measurement [configured in the store](https://help.vtex.com/en/tutorial/filling-in-system-settings--tutorials_269), which by default is in grams." } Width: { type: "number" description: "SKU Width." } isKitOptimized: { type: "boolean" description: "Defines if the SKU is a Optimized bundle." } } } } }