VTEX · Schema

From2

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
paymentData object
items array
shippingData object
View JSON Schema on GitHub

JSON Schema

vtex-from2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/From2",
  "title": "From2",
  "required": [
    "paymentData",
    "items",
    "shippingData"
  ],
  "type": "object",
  "properties": {
    "paymentData": {
      "$ref": "#/components/schemas/PaymentDataV2"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Item4"
      }
    },
    "shippingData": {
      "$ref": "#/components/schemas/ShippingData3"
    }
  },
  "example": {
    "paymentData": {
      "transactions": []
    },
    "items": [
      {
        "id": "31",
        "quantity": 1,
        "price": 5000,
        "measurementUnit": "un",
        "unitMultiplier": 1,
        "sellingPrice": 5000,
        "name": "Fusca miniatura Fusca preto",
        "detailUrl": "/fusca-miniatura-24/p",
        "imageUrl": "http://qastore.vteximg.com.br/arquivos/ids/155431-55-55/image-bdab69af1e5c41cdbc498d02e370b376.jpg?v=636579391945870000"
      }
    ],
    "shippingData": {
      "logisticsInfo": [
        {
          "itemIndex": 0,
          "selectedSla": "Lenta",
          "selectedDeliveryChannel": "delivery",
          "addressId": "9ec276fd3a604eb1aa151b5333ca5db6",
          "slas": [
            {
              "id": "Lenta",
              "deliveryChannel": "delivery",
              "name": "Lenta",
              "deliveryIds": [
                {
                  "courierId": "1c083bf",
                  "warehouseId": "1_1",
                  "dockId": "1",
                  "courierName": "Donkey",
                  "quantity": 1,
                  "kitItemDetails": [],
                  "accountCarrierName": null
                }
              ],
              "shippingEstimate": "25bd",
              "shippingEstimateDate": "2023-08-30T10:17:24.6436519Z",
              "lockTTL": "12d",
              "availableDeliveryWindows": [],
              "deliveryWindow": null,
              "price": 180,
              "listPrice": 180,
              "tax": 0,
              "pickupStoreInfo": {
                "isPickupStore": false,
                "friendlyName": null,
                "address": null,
                "additionalInfo": null,
                "dockId": null
              },
              "pickupPointId": null,
              "pickupDistance": null,
              "polygonName": "",
              "transitTime": "25bd"
            },
            {
              "id": "Normal",
              "deliveryChannel": "delivery",
              "name": "Normal",
              "deliveryIds": [
                {
                  "courierId": "1",
                  "warehouseId": "1_1",
                  "dockId": "1",
                  "courierName": "Transportadora",
                  "quantity": 1,
                  "kitItemDetails": [],
                  "accountCarrierName": null
                }
              ],
              "shippingEstimate": "3bd",
              "shippingEstimateDate": null,
              "lockTTL": "12d",
              "availableDeliveryWindows": [],
              "deliveryWindow": null,
              "price": 500,
              "listPrice": 500,
              "tax": 0,
              "pickupStoreInfo": {
                "isPickupStore": false,
                "friendlyName": null,
                "address": null,
                "additionalInfo": null,
                "dockId": null
              },
              "pickupPointId": null,
              "pickupDistance": null,
              "polygonName": "",
              "transitTime": "3bd"
            },
            {
              "id": "Pickup",
              "deliveryChannel": "delivery",
              "name": "Pickup",
              "deliveryIds": [
                {
                  "courierId": "ech018654",
                  "warehouseId": "1_1",
                  "dockId": "1",
                  "courierName": "Retirada",
                  "quantity": 1,
                  "kitItemDetails": [],
                  "accountCarrierName": null
                }
              ],
              "shippingEstimate": "25bd",
              "shippingEstimateDate": null,
              "lockTTL": "12d",
              "availableDeliveryWindows": [],
              "deliveryWindow": null,
              "price": 700,
              "listPrice": 700,
              "tax": 0,
              "pickupStoreInfo": {
                "isPickupStore": false,
                "friendlyName": null,
                "address": null,
                "additionalInfo": null,
                "dockId": null
              },
              "pickupPointId": null,
              "pickupDistance": null,
              "polygonName": "",
              "transitTime": "25bd"
            }
          ],
          "shipsTo": [
            "BRA"
          ],
          "itemId": "31",
          "deliveryChannels": [
            {
              "id": "delivery"
            }
          ],
          "price": 180,
          "listPrice": 180,
          "shippingEstimate": "25bd",
          "dockEstimate": null,
          "shippingEstimateDate": "2023-08-30T10:17:24.6436519Z",
          "lockTTL": "12d",
          "deliveryCompany": null,
          "polygonName": "",
          "transitTime": "25bd",
          "sellingPrice": 180,
          "deliveryIds": [
            {
              "courierId": "1c083bf",
              "warehouseId": "1_1",
              "dockId": "1",
              "courierName": "Donkey",
              "quantity": 1,
              "kitItemDetails": null,
              "accountCarrierName": "qastoreecho"
            }
          ],
          "deliveryWindow": null,
          "pickupPointId": null,
          "pickupStoreInfo": {
            "isPickupStore": false,
            "friendlyName": null,
            "address": null,
            "additionalInfo": null,
            "dockId": null
          },
          "pickupDistance": null
        }
      ]
    }
  }
}