VTEX · Schema

PurchaseContextAvailableGiftResponse

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
id string
seller string
quantity integer Amount of units in the cart.
price integer
sellingPrice integer
unitMultiplier number
attachments array
name string
isGift boolean
priceTags array
isSelected boolean
View JSON Schema on GitHub

JSON Schema

vtex-purchasecontextavailablegiftresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PurchaseContextAvailableGiftResponse",
  "title": "PurchaseContextAvailableGiftResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "nullable": true
    },
    "seller": {
      "type": "string",
      "nullable": true
    },
    "quantity": {
      "type": "integer",
      "format": "int32",
      "title": "quantity",
      "description": "Amount of units in the cart.",
      "example": 5
    },
    "price": {
      "type": "integer",
      "format": "int64",
      "nullable": true
    },
    "sellingPrice": {
      "type": "integer",
      "format": "int64",
      "nullable": true
    },
    "unitMultiplier": {
      "type": "number",
      "format": "double",
      "nullable": true
    },
    "attachments": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ItemAttachment"
      },
      "nullable": true
    },
    "name": {
      "type": "string",
      "nullable": true
    },
    "isGift": {
      "type": "boolean"
    },
    "priceTags": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PriceTag"
      },
      "nullable": true
    },
    "isSelected": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}