VTEX · Example Payload

Vtex Addmarketingdata Example

CommerceE-CommerceRetailMarketplacePayments

Vtex Addmarketingdata Example is an example object payload from VTEX, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "AddMarketingData",
  "method": "POST",
  "path": "/api/checkout/pub/orderForm/{orderFormId}/attachments/marketingData",
  "summary": "VTex Add marketing data",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "orderFormId": "7c5b47971fad41b89102c7ab7bb8b08b",
        "salesChannel": "1",
        "loggedIn": false,
        "isCheckedIn": false,
        "storeId": "1",
        "checkedInPickupPointId": "21",
        "allowManualPrice": false,
        "canEditData": true,
        "userProfileId": "fb542e51-5488-4c34-8d17-ed8fcf597a94",
        "userType": "User type",
        "ignoreProfileData": false,
        "value": 0,
        "messages": [],
        "items": [],
        "selectableGifts": [],
        "totalizers": [],
        "shippingData": null,
        "clientProfileData": null,
        "paymentData": {
          "updateStatus": "updated",
          "installmentOptions": [],
          "paymentSystems": [],
          "payments": [
            {
              "paymentSystem": 6,
              "bin": null,
              "accountId": "12",
              "tokenId": null,
              "value": 34390,
              "referenceValue": 34390,
              "giftCardRedemptionCode": null,
              "giftCardProvider": null,
              "giftCardId": null
            }
          ],
          "giftCards": [],
          "giftCardMessages": [],
          "availableAccounts": [],
          "availableTokens": []
        },
        "marketingData": {
          "utmSource": "app",
          "utmMedium": "CPC",
          "utmCampaign": "Black friday",
          "utmipage": null,
          "utmiPart": null,
          "utmiCampaign": null,
          "coupon": "free-shipping",
          "marketingTags": [
            "tag1",
            "tag2"
          ]
        },
        "sellers": [],
        "clientPreferencesData": {
          "locale": "pt-BR",
          "optinNewsLetter": null
        },
        "commercialConditionData": null,
        "storePreferencesData": {
          "countryCode": "BRA",
          "saveUserData": true,
          "timeZone": "E. South America Standard Time",
          "currencyCode": "BRL",
          "currencyLocale": 1046,
          "currencySymbol": "R$",
          "currencyFormatInfo": {
            "currencyDecimalDigits": 2,
            "currencyDecimalSeparator": ",",
            "currencyGroupSeparator": ".",
            "currencyGroupSize": 3,
            "startsWithCurrencySymbol": true
          }
        },
        "giftRegistryData": null,
        "openTextField": null,
        "invoiceData": null,
        "customData": null,
        "itemMetadata": {
          "items": [
            {
              "id": "1",
              "seller": "1",
              "name": "Ra\u00e7\u00e3o Royal Canin Feline Urinary 500g",
              "skuName": "Ra\u00e7\u00e3o Royal Canin Feline Urinary 500g",
              "productId": "1",
              "refId": "0001",
              "ean": "123456789",
              "imageUrl": "http://lojadobreno.vteximg.com.br/arquivos/ids/155450-55-55/Racao-Royal-Canin-Feline-Urinary-SO.jpg?v=637139444438700000",
              "detailUrl": "/racao-royal-canin-feline-urinary/p",
              "assemblyOptions": []
            }
          ]
        },
        "hooksData": null,
        "ratesAndBenefitsData": {
          "rateAndBenefitsIdentifiers": [],
          "teaser": []
        },
        "subscriptionData": null,
        "itemsOrdination": {
          "criteria": "NAME",
          "ascending": true
        }
      }
    }
  ]
}