VTEX · Schema

Dimension

Object containing the SKU dimensions to be used on the shipping calculation.

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
cubicweight number SKU [cubic weight](https://help.vtex.com/en/tutorial/understanding-the-cubic-weight-factor--tutorials_128).
height number SKU height.
length number SKU length.
weight number SKU weight.
width number SKU width.
View JSON Schema on GitHub

JSON Schema

vtex-dimension-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Dimension",
  "title": "Dimension",
  "required": [
    "cubicweight",
    "height",
    "length",
    "weight",
    "width"
  ],
  "type": "object",
  "description": "Object containing the SKU dimensions to be used on the shipping calculation.",
  "properties": {
    "cubicweight": {
      "type": "number",
      "description": "SKU [cubic weight](https://help.vtex.com/en/tutorial/understanding-the-cubic-weight-factor--tutorials_128)."
    },
    "height": {
      "type": "number",
      "description": "SKU height."
    },
    "length": {
      "type": "number",
      "description": "SKU length."
    },
    "weight": {
      "type": "number",
      "description": "SKU weight."
    },
    "width": {
      "type": "number",
      "description": "SKU width."
    }
  },
  "example": {
    "cubicweight": 81.6833,
    "height": 65,
    "length": 58,
    "weight": 10000,
    "width": 130
  }
}