VTEX · Schema

Replace1

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
from object
to object
View JSON Schema on GitHub

JSON Schema

vtex-replace1-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Replace1",
  "title": "Replace1",
  "required": [
    "from",
    "to"
  ],
  "type": "object",
  "properties": {
    "from": {
      "$ref": "#/components/schemas/From1"
    },
    "to": {
      "$ref": "#/components/schemas/To1"
    }
  },
  "example": {
    "from": {
      "paymentData": {
        "transactions": []
      },
      "items": [
        {
          "id": "31",
          "quantity": 1,
          "price": null,
          "measurementUnit": null,
          "unitMultiplier": 0,
          "sellingPrice": null,
          "name": null,
          "detailUrl": null,
          "imageUrl": null
        }
      ],
      "shippingData": {
        "logisticsInfo": []
      }
    },
    "to": {
      "items": [
        {
          "uniqueId": "40E763F4378E4F40AD1FE915FE1078E1",
          "id": "1",
          "productId": null,
          "productRefId": null,
          "refId": null,
          "ean": null,
          "name": null,
          "skuName": null,
          "modalType": null,
          "parentItemIndex": null,
          "parentAssemblyBinding": null,
          "assemblies": [],
          "priceValidUntil": null,
          "tax": 0,
          "price": null,
          "listPrice": null,
          "manualPrice": null,
          "manualPriceAppliedBy": null,
          "sellingPrice": null,
          "rewardValue": 0,
          "isGift": false,
          "additionalInfo": {
            "dimension": null,
            "brandName": null,
            "brandId": null,
            "offeringInfo": null,
            "offeringType": null,
            "offeringTypeId": null,
            "categoriesIds": null,
            "productClusterId": null,
            "commercialConditionId": null
          },
          "preSaleDate": null,
          "productCategoryIds": null,
          "productCategories": {},
          "quantity": 1,
          "seller": null,
          "sellerChain": [
            null
          ],
          "imageUrl": null,
          "detailUrl": null,
          "components": [],
          "bundleItems": [],
          "attachments": [],
          "attachmentOfferings": [],
          "offerings": [],
          "priceTags": [],
          "availability": null,
          "measurementUnit": "un",
          "unitMultiplier": 1,
          "manufacturerCode": null,
          "priceDefinition": null
        }
      ],
      "paymentData": {
        "transactions": []
      },
      "receiptData": null,
      "shippingData": {
        "logisticsInfo": [
          {
            "itemIndex": 0,
            "selectedSla": "Lenta",
            "selectedDeliveryChannel": "delivery",
            "addressId": "9ec276fd3a604eb1aa151b5333ca5db6",
            "slas": [
              {
                "id": "Lenta",
                "deliveryChannel": "delivery",
                "name": "Lenta",
                "deliveryIds": [],
                "shippingEstimate": null,
                "shippingEstimateDate": null,
                "lockTTL": null,
                "availableDeliveryWindows": [],
                "deliveryWindow": null,
                "price": 600,
                "listPrice": 600,
                "tax": 0,
                "pickupStoreInfo": {
                  "isPickupStore": false,
                  "friendlyName": null,
                  "address": null,
                  "additionalInfo": null,
                  "dockId": null
                },
                "pickupPointId": null,
                "pickupDistance": null,
                "polygonName": null,
                "transitTime": null
              }
            ],
            "shipsTo": [],
            "itemId": "1",
            "deliveryChannels": [],
            "price": 600,
            "listPrice": 600,
            "shippingEstimate": null,
            "dockEstimate": null,
            "shippingEstimateDate": null,
            "lockTTL": null,
            "deliveryCompany": null,
            "polygonName": null,
            "transitTime": null,
            "sellingPrice": 600,
            "deliveryIds": [],
            "deliveryWindow": null,
            "pickupPointId": null,
            "pickupStoreInfo": {
              "isPickupStore": false,
              "friendlyName": null,
              "address": null,
              "additionalInfo": null,
              "dockId": null
            },
            "pickupDistance": null
          }
        ]
      }
    }
  }
}