VTEX · Schema

PriceDefinition

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
calculatedSellingPrice integer
total integer
sellingPrices array Array containing selling price information.
View JSON Schema on GitHub

JSON Schema

vtex-pricedefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PriceDefinition",
  "title": "PriceDefinition",
  "required": [
    "calculatedSellingPrice",
    "total",
    "sellingPrices"
  ],
  "type": "object",
  "properties": {
    "calculatedSellingPrice": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "sellingPrices": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SellingPrice"
      },
      "description": "Array containing selling price information."
    }
  },
  "example": {
    "calculatedSellingPrice": 5000,
    "total": 5000,
    "sellingPrices": [
      {
        "value": 5000,
        "quantity": 1
      }
    ]
  }
}