Documentation
Feedback
Guides

orderForm

The orderForm is the main object processed by VTEX checkout, and one of the most important data structures in the architecture of every VTEX store.

It stores a lot of contextual information about the order which is important to the processing of the order: order items, client's personal data, delivery address, freight information, etc.

Using VTEX APIs this information can be accessed, processed, and even changed on certain occasions.

VTEX's Checkout API is one of the main interfaces interacting with the orderForm object. Most of its operations will return the orderForm or part of it.

The object's basic structure is:


_32
{
_32
"allowManualPrice": boolean,
_32
"canEditData": boolean,
_32
"clientPreferencesData": {},
_32
"clientProfileData": {},
_32
"commercialConditionData": {},
_32
"customData": {},
_32
"giftRegistryData": {},
_32
"hooksData": {},
_32
"ignoreProfileData": boolean,
_32
"isCheckedIn": boolean,
_32
"itemMetadata": {},
_32
"items": {},
_32
"itemsOrdination": {},
_32
"loggedIn": boolean,
_32
"marketingData": {},
_32
"messages": [],
_32
"openTextField": {},
_32
"orderFormId": string,
_32
"paymentData": {},
_32
"ratesAndBenefitsData": {},
_32
"salesChannel": "1",
_32
"selectableGifts": {},
_32
"sellers": {},
_32
"shippingData": {},
_32
"storeId": {},
_32
"storePreferencesData": {},
_32
"totalizers": {},
_32
"userProfileId": {},
_32
"userType": {},
_32
"value": number
_32
}

This structure is made of many sections.

Any properties representing monetary values will have cents as their units. (e.g. 10390 means R$103,90 in Brazilian stores). In the following menu, you can find details regarding these sections.

OrderForm Sections

clientPreferencesData

Object containing preferences from the client who placed the order.

Example:


_10
{
_10
"locale": "pt-BR",
_10
"optinNewsLetter": true
_10
}

FieldTypeDescription
localeStringClient's locale. Examples: "pt-BR" and "en-US". The method sendLocale(), from vtex.js, changes the value of this field.
optinNewsLetterBooleantrue if the client opted to receive newsletters from the store.

clientProfileData

Object containing the data of the customer who placed the order.

If the customer has not yet informed her or his e-mail, much of the data may be empty (null).

If the customer's e-mail has not yet been confirmed, several personal data will be censored, that is, some of its parts will be hidden by asterisks to avoid identification.

Example:


_14
{
_14
"email": "customer@mailprovider.com",
_14
"firstName": "Bre******",
_14
"lastName": "Bar******",
_14
"document": "*1*2*5*5*3*",
_14
"documentType": "cpf",
_14
"phone": "******0879",
_14
"corporateName": null,
_14
"tradeName": null,
_14
"corporateDocument": null,
_14
"stateInscription": null,
_14
"corporatePhone": null,
_14
"isCorporate": false
_14
}

FieldTypeDescription
emailStringCustomer's email.
firstNameStringCustomer's first name.
lastNameStringCustomer's last name.
documentStringDocument number informed by the customer.
documentTypeStringType of the document informed by the customer.
phoneStringCustomer's phone number.
corporateNameStringIf it's a legal entity, here goes the company name.
tradeNameStringIf legal entity, here goes the trade name.
corporateDocumentStringIf legal entity, here goes the corporate document.
stateInscriptionStringIf legal entity, here goes the state inscription.
corporatePhoneStringIf legal entity, here goes the company phone.
isCorporateBooleanIt has the value true if it's a legal entity.

commercialConditionData

This guide is currently being written and published as content becomes available.

customData

During the checkout process, some stores need to include data gathered from the client that is not part of our standard orderForm format (e.g. gender, cell phone number, age).

To do that you will need to create extra fields in the orderForm and those will be located inside the customData parameter.

Example:


_25
"customData": {
_25
"attachmentId": "customData",
_25
"customApps": [
_25
{
_25
"fields": {
_25
"number": "78550693",
_25
"street": "Rua Voluntários da Pátria",
_25
"complement": "Em frente à Torre Citi",
_25
"name": "101 - Delco Autopista",
_25
"neighborhood": "Botafogo",
_25
"city": "Rio de Janeiro",
_25
"state": "RJ"
_25
},
_25
"id": "pickupinfo",
_25
"major": 1
_25
},
_25
{
_25
"fields": {
_25
"deliveryEstimate": "30"
_25
},
_25
"id": "deliveryinfo",
_25
"major": 1
_25
}
_25
]
_25
}

FieldTypeDescription
customAppsArrayArray containing the apps created by the store.
fieldsObjectObject that contains the fields created by the store for each app.
idStringApp ID.
majorIntegerApp major version.

giftRegistryData

Object containing the gift registration list data.

Example:


_10
{
_10
"giftRegistryId": "22222",
_10
"giftRegistryType": null,
_10
"giftRegistryTypeName": null,
_10
"addressId": null,
_10
"description": "gift1"
_10
}

FieldTypeDescription
giftRegistryIdStringGift registry ID.
giftRegistryTypeStringGift registry type.
giftRegistryTypeNameStringGift registration typen name.
addressIdStringAddress ID.
descriptionStringGift registry description.

hooksData

This guide is currently being written and published as content becomes available.

items

it is an array containing an object describing every item in the buyer's cart.

Example:


_71
"items": [
_71
{
_71
"uniqueId": "3B31329E5DDA4A1A81449DD7466D9575",
_71
"id": "4",
_71
"productId": "3",
_71
"productRefId": "",
_71
"refId": null,
_71
"ean": "978073487962",
_71
"name": "Mild Hair Cleanser 50 ml",
_71
"skuName": "50 ml",
_71
"modalType": null,
_71
"parentItemIndex": null,
_71
"parentAssemblyBinding": null,
_71
"priceValidUntil": "2022-04-07T18:31:11Z",
_71
"tax": 0,
_71
"taxCode":"54WC8ZN6K8",
_71
"price": 3190,
_71
"listPrice": 3190,
_71
"manualPrice": 1700,
_71
"manualPriceAppliedBy": "in542e51-5863-4c34-8i86-ed8fcf597a09",
_71
"sellingPrice": 1700,
_71
"rewardValue": 0,
_71
"isGift": false,
_71
"additionalInfo": {
_71
"dimension": null,
_71
"brandName": "VALCOSMETICS",
_71
"brandId": "2000000",
_71
"offeringInfo": null,
_71
"offeringType": null,
_71
"offeringTypeId": null
_71
},
_71
"preSaleDate": null,
_71
"productCategoryIds": "/2/",
_71
"productCategories": {
_71
"2": "Computers"
_71
},
_71
"quantity": 3,
_71
"seller": "seller1",
_71
"sellerChain": [
_71
"seller1"
_71
],
_71
"imageUrl": "http://cosmeticsstore.vteximg.com.br/arquivos/ids/155401-55-55/ID-001-MAIN.jpg?v=637109313796670000",
_71
"detailUrl": "/mild-hair-cleanser/p",
_71
"bundleItems": [],
_71
"attachments": [],
_71
"attachmentOfferings": [],
_71
"offerings": [],
_71
"priceTags": [
_71
{
_71
"name": "DISCOUNT@MANUALPRICE",
_71
"value": -4470,
_71
"rawValue": -44.7,
_71
"isPercentual": false,
_71
"identifier": null
_71
}
_71
],
_71
"availability": "available",
_71
"measurementUnit": "un",
_71
"unitMultiplier": 1.0000,
_71
"manufacturerCode": null,
_71
"priceDefinition": {
_71
"sellingPrice": [
_71
{
_71
"quantity": 1,
_71
"value": 1700
_71
}
_71
],
_71
"total": 5100
_71
}
_71
}
_71
]

FieldTypeDescription
uniqueIdStringObsolete field. This string is the unique identifier for each occurrence of a SKU in an order. Two units of the same SKU in an order will have different uniqueIds.
idStringID of the item.
productIdStringProduct ID.
productRefIdStringProduct Ref ID.
refIdStringRef ID.
eanStringEAN (codebar) field from SKU registry.
nameStringProduct name.
skuNameStringSKU name.
modalTypeStringModal type.
parentItemIndexIntegerParent item index.
parentAssemblyBindingStringParent assembly binding.
priceValidUntilStringPrice expiration date and time.
taxIntegerTax value in cents.
taxCodeStringA unique identifier code assigned to a tax within the VTEX Admin.
priceIntegerPrice in cents.
listPriceIntegerList price in cents.
manualPriceIntegerManual price in cents.
manualPriceAppliedByStringUser that applied the manual price, if that is the case.
sellingPriceIntegerSelling price in cents. Note that this field may be subject to rounding discrepancies. We recommend retrieving data from the priceDefinition data structure instead.
rewardValueIntegerReward value in cents.
isGiftBooleanIndicates whether item is a gift.
additionalInfoObjectAdditional information.
dimensionStringDimension.
brandNameStringBrand name.
brandIdStringBrand ID.
offeringInfoStringOffering information.
offeringTypeStringOffering type.
offeringTypeIdStringOffering type ID.
preSaleDateStringPresale date.
productCategoryIdsStringProduct category IDs.
productCategoriesObjectObject, where each field is an ID from productCategoryIds.
{ID}StringProduct category corresponding to the ID in the field key.
quantityIntegerQuantity.
sellerStringSeller information.
sellerChainArray of stringsSellers involved in the chain. The list should contain only one seller, unless it is a Multilevel Omnichannel Inventory order.
imageUrlStringImage URL.
detailUrlStringDetail URL.
bundleItemsArray of objectsInformation on services sold along with the SKU. Example: a gift package.
typeStringService type.
idIntegerService identifier.
nameStringService name.
priceIntegerService price in cents.
attachmentsArray of stringsArray containing information on attachments.
priceTagsArray of objectsArray of price tags, each of which, modifies the price in some way, like discounts or rates that apply to the item in the context of the order.
nameStringPrice tag name.
valueIntegerPrice tag value.
rawValueIntegerPrice tag raw value.
isPercentualBooleanIndicates whether price tag value is applied through a percentage.
identifierStringPrice tag identifier.
ownerStringIdentification of the responsible for the price tag.
availabilityStringSKU availability. The values are: available, withoutStockand cannotBeDelivered. Only SKUs with available value can be sold and delivered.
measurementUnitStringMeasurement unit.
unitMultiplierStringUnit multiplier.
manufacturerCodeStringManufacturer code.
priceDefinitionObjectPrice information for all units of a specific item.
calculatedSellingPriceIntegerItem's calculated unitary selling price in cents.
totalIntegerTotal value for all units of the item in cents.
sellingPricesArray of objectsArray of objects, each containing value (in cents) and quantity for the different rounding instances that can be combined to form the correctly rounded total.
valueIntegerValue in cents for that specific rounding.
quantityIntegerRounding quantity, meaning how many items are rounded to this value.

If you use integrations that consume price data, such as checkout or order integrations, note that the field sellingPrice may be subject to rounding discrepancies. We recommend retrieving data from the priceDefinition data structure instead.

items[].priceDefinition


_26
{
_26
"items": [
_26
{
_26
"id": "1001669",
_26
"price": 199,
_26
"quantity": 3,
_26
"unitMultiplier": 0.3,
_26
"measurementUnit": "kg",
_26
"sellingPrice": 59,
_26
"priceDefinition": {
_26
"calculatedSellingPrice": 59,
_26
"total": 179,
_26
"sellingPrices": [
_26
{
_26
"value": 60,
_26
"quantity": 2
_26
},
_26
{
_26
"value": 59,
_26
"quantity": 1
_26
}
_26
]
_26
}
_26
}
_26
]
_26
}

AtributeTypeDescription
items[].priceDefinitionObjectPrice information for all units of a specific item.
items[].priceDefinition.totalIntegerTotal value for all units of the item in cents.
items[].priceDefinition.calculatedSellingPriceIntegerItem's calculated unitary selling price in cents.
items[].priceDefinition.sellingPricesArrayArray of objects, each containing value (in cents) and quantity for the different rounding instances that can be combined to form the correctly rounded total.

invoiceData

This is an object containing information pertinent to the order's invoice.


_14
{
_14
"address": {
_14
"postalCode": "******000",
_14
"city": "Rio ** *******",
_14
"state": "RJ",
_14
"country": "BRA",
_14
"street": "Rua *** *****nte",
_14
"number": "***",
_14
"neighborhood": "Bot*****",
_14
"complement": "*** ** *",
_14
"reference": null
_14
},
_14
"settleInvoices":[]
_14
}

FieldTypeDescription
addressObjectAddress information.
settleInvoicesStringList of strings corresponding to invoice numbers.

itemsOrdination

This is an object containing information about the ordering of items within the orderForm.

Example:


_10
{
_10
"criteria": "NAME",
_10
"ascending": true
_10
}

FieldTypeDescription
criteriaStringCriteria adopted to order the items in the list. The values are: NAME, ADD_TIME (date information), and GIFT (non-gift items are mentioned before gift items).
ascendingStringIndicates whether the ordering is ascending.

marketingData

This object contains promotion data such as coupon tracking information and internal or external UTMs.

Example:


_11
{
_11
"attachmentId": "marketingData",
_11
"coupon": null,
_11
"marketingTags": [],
_11
"utmCampaign": "christmas",
_11
"utmMedium": null,
_11
"utmSource": "fb",
_11
"utmiCampaign": "",
_11
"utmiPart": "",
_11
"utmipage": ""
_11
}

FieldTypeDescription
attachmentIdStringAttachment ID.
couponStringCoupon code information.
marketingTagsArrayMarketing tags information. This field can be used to register campaign data or informative tags regarding promotions.
utmCampaignStringValue of the utm_campaign parameter of the URL that led to the request.
utmMediumStringValue of the utm_medium parameter of the URL that led to the request.
utmSourceStringValue of the utm_source parameter of the URL that led to the request.
utmiCampaignStringInternal UTM value utmi_cp.
utmiPartStringInternal UTM value utmi_pc.
utmipageStringInternal UTM value utmi_p.

messages

This array contains an object for each message generated by our servers while processing the request.

Example:


_10
[
_10
{
_10
"code": null,
_10
"status": "error",
_10
"text": "Voucher code AAAA-BBBB-CCCC-DDDD was not found in the system"
_10
}
_10
]

openTextField

Optional field meant to hold additional information about the order. We recommend using this field for text, not data formats such as JSON even if escaped. For that purpose, see Add and handle custom information in the order.


_10
{
_10
"value": "{\"Phones\":[\"55555555\"]}"
_10
}

FieldTypeDescription
valueStringAdditional information about the order.

paymentData

This object contains all payment information inserted for this purchase.

Example:


_83
{
_83
"giftCards": [
_83
{
_83
"redemptionCode": "HYUO-TEZZ-QFFT-HTFR",
_83
"value": 500,
_83
"balance": 500,
_83
"name": null,
_83
"id": "-1390324156495k195pmab4rall3di",
_83
"inUse": true,
_83
"isSpecialCard": false
_83
}, {
_83
"redemptionCode": "MTHU-WNTD-VXJW-TIDC",
_83
"value": 0,
_83
"balance": 700000,
_83
"name": "loyalty-program",
_83
"id": "122",
_83
"inUse": false,
_83
"isSpecialCard": true
_83
}
_83
],
_83
"giftCardMessages": [],
_83
"availableAccounts": [
_83
{
_83
"accountId": "71F2775D46BF44B1BF217F828F4E6131",
_83
"paymentSystem": "2",
_83
"paymentSystemName": "Visa",
_83
"cardNumber": "************1111",
_83
"availableAddresses": ["-1363804954758", "-1366200971560"]
_83
}
_83
],
_83
"availableTokens": [],
_83
"installmentOptions": [
_83
{
_83
"paymentSystem": "2",
_83
"value": 16175,
_83
"installments": [
_83
{
_83
"count": 1,
_83
"hasInterestRate": false,
_83
"interestRate": 0,
_83
"value": 16175,
_83
"total": 16175
_83
}, {
_83
"count": 2,
_83
"hasInterestRate": false,
_83
"interestRate": 132,
_83
"value": 4178,
_83
"total": 16712
_83
}
_83
]
_83
}
_83
],
_83
"paymentSystems": [
_83
{
_83
"id": 2,
_83
"name": "Visa",
_83
"groupName": "creditCardPaymentGroup",
_83
"validator": {
_83
"regex": "^4",
_83
"mask": "9999 9999 9999 9999",
_83
"cardCodeRegex": "[^0-9]",
_83
"cardCodeMask": "999",
_83
"weights": [2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]
_83
},
_83
"stringId": null,
_83
"template": "creditCardPaymentGroup-template",
_83
"requiresDocument": false,
_83
"selected": false,
_83
"isCustom": false,
_83
"description": null
_83
}
_83
],
_83
"payments": [
_83
{
_83
"accountId": null,
_83
"bin": null,
_83
"installments": 2,
_83
"paymentSystem": "12",
_83
"referenceValue": 16175,
_83
"value": 16175
_83
}
_83
]
_83
}

FieldTypeDescription
giftCardsArrayGift cards information.
giftCardMessagesArrayGift cards message information.
availableAccountsArrayAvailable accounts information.
availableTokensArrayAvailable tokes information.
installmentOptionsArrayFor accurate information on installment options and values, we recommend using the Cart installments endpoint, instead of this field's data.
paymentSystemsArrayPayment systems information.
paymentsArrayPayments information.
updateStatusStringCheckout can not be concluded if value is "outdated".

This guide is currently being written and published as content becomes available.

ratesAndBenefitsData

Information on rates and benefits that apply to the order.

Example:


_12
{
_12
"rateAndBenefitsIdentifiers": [
_12
{
_12
"items": {}
_12
}
_12
],
_12
"teaser":[
_12
{
_12
"items": {}
_12
}
_12
]
_12
}

FieldTypeDescription
rateAndBenefitsIdentifiersArrayList with rates and benefits identifiers.
itemsObjectObject that contains identifiers information.
teaserArrayList with rates and benefits teasers.
itemsObjectObject that contains teasers information.

selectableGifts

Array containing the data of the item selected as a gift.


_12
[
_12
{
_12
"id": null,
_12
"availableQuantity": "3",
_12
"availableGifts": {
_12
"items": [
_12
{},
_12
"isSelected": true
_12
]
_12
}
_12
}
_12
]

FieldTypeDescription
idStringIdentification of the selectable gifts list.
availableQuantityIntegerNumber of items available.
itemsIntegerArray containing an object describing each item that can be selected as a gift.
isSelectedBooleanIndication if the item was selected as a gift.

sellers

An array containing an object for each seller being used in the order.

Example:


_10
[
_10
{
_10
"id": "1",
_10
"name": "meuamigopet",
_10
"logo": "http://portal.vtexcommerce.com.br/arquivos/logo.jpg"
_10
}
_10
]

FieldTypeDescription
idStringID of the seller.
nameStringName of the seller.
logoStringURL pointing to where the image is hosted.

shippingData

This object contains shipping information for the order.

Example:


_133
{
_133
"attachmentId": "shippingData",
_133
"address": {
_133
"addressType": "residential",
_133
"receiverName": "Gui***rme",
_133
"addressId": "-1368194386810",
_133
"postalCode": "******000",
_133
"city": "Rio ** *******",
_133
"state": "RJ",
_133
"country": "BRA",
_133
"street": "Rua *** *****nte",
_133
"number": "***",
_133
"neighborhood": "Bot*****",
_133
"complement": "*** ** *",
_133
"reference": null
_133
},
_133
"availableAddresses": [
_133
{
_133
"addressType": "residential",
_133
"receiverName": "Gui***rme",
_133
"addressId": "-1368194386810",
_133
"postalCode": "******000",
_133
"city": "Rio ** *******",
_133
"state": "RJ",
_133
"country": "BRA",
_133
"street": "Rua *** *****nte",
_133
"number": "***",
_133
"neighborhood": "Bot*****",
_133
"complement": "*** ** *",
_133
"reference": null
_133
}
_133
],
_133
"logisticsInfo": [
_133
{
_133
"itemIndex": 0,
_133
"selectedSla": ".Transportadora",
_133
"selectedDeliveryChannel": "delivery",
_133
"addressId": "teste",
_133
"slas": [
_133
{
_133
"id": ".Transportadora",
_133
"deliveryChannel": "delivery",
_133
"name": ".Transportadora",
_133
"deliveryIds": [
_133
{
_133
"courierId": "67",
_133
"warehouseId": "1_1",
_133
"dockId": "1_1_1",
_133
"courierName": "Transportadora",
_133
"quantity": 1
_133
}
_133
],
_133
"shippingEstimate": "3d",
_133
"shippingEstimateDate": null,
_133
"lockTTL": null,
_133
"availableDeliveryWindows": [],
_133
"deliveryWindow": null,
_133
"price": 956,
_133
"tax": 0
_133
}, {
_133
"id": "Agendada",
_133
"name": "Agendada",
_133
"deliveryIds": [
_133
{
_133
"courierId": "FA02F72F-FEBD-41A0-AF70-83A77E8C77A0",
_133
"warehouseId": "1_1",
_133
"dockId": "1_1_1",
_133
"courierName": "Entrega agendada",
_133
"quantity": 1
_133
}
_133
],
_133
"shippingEstimate": "90d",
_133
"shippingEstimateDate": null,
_133
"lockTTL": null,
_133
"availableDeliveryWindows": [
_133
{
_133
"startDateUtc": "2014-04-21T09:00:00+00:00",
_133
"endDateUtc": "2014-04-21T12:00:00+00:00",
_133
"listprice": 1000,
_133
"tax": 0
_133
}, {
_133
"startDateUtc": "2014-04-21T13:00:00+00:00",
_133
"endDateUtc": "2014-04-21T17:00:00+00:00",
_133
"listprice": 1000,
_133
"tax": 0
_133
}
_133
],
_133
"deliveryWindow ": [
_133
{
_133
"startDateUtc": "2014-04-21T09:00:00+00:00",
_133
"endDateUtc": "2014-04-21T12:00:00+00:00",
_133
"listprice": 1000,
_133
"tax": 0
_133
}, {
_133
"startDateUtc": "2014-04-21T13:00:00+00:00",
_133
"endDateUtc": "2014-04-21T17:00:00+00:00",
_133
"listprice": 1000,
_133
"tax": 0
_133
}
_133
],
_133
"price": 1220,
_133
"tax": 0,
_133
"pickupStoreInfo": {
_133
"isPickupStore": false,
_133
"friendlyName": null,
_133
"address": null,
_133
"additionalInfo": null,
_133
"dockId": null
_133
},
_133
"pickupPointId": null,
_133
"pickupDistance": 0,
_133
"polygonName": null,
_133
"transitTime": "3bd"
_133
}
_133
],
_133
"shipsTo": [
_133
"BRA",
_133
"COL",
_133
"USA"
_133
],
_133
"itemId": "2",
_133
"deliveryChannels": [
_133
{
_133
"id": "delivery"
_133
},
_133
{
_133
"id": "pickup-in-point"
_133
}
_133
]
_133
}
_133
],
_133
"selectedAddresses": []
_133
}

FieldTypeDescription
attachmentIdStringAttachment ID.
addressObjectAddress information.
availableAddressesArrayInformation about available shipping addresses.
logisticsInfoArrayLogistics information.
itemIndexIntegerIndex corresponding to the position of the object in the items array.
selectedSlaStringSLA selected by the customer.
selectedDeliveryChannelStringDelivery channel selected by the customer.
addressIdStringAddress ID.
slasArrayInformation on available SLAs.
idStringSLA ID.
deliveryChannelStringDelivery channel.
nameStringSLA name.
deliveryIdsArrayInformation on each delivery ID.
courierIdStringCourier ID.
warehouseIdStringWarehouse ID.
dockIdStringDock ID.
courierNameStringCourier name.
quantityIntegerQuantity.
shippingEstimateStringTotal shipping estimate time, represented by a number followed by a time unit. For instance, three business days is represented as 3bd. The time unit can be one of the following:
  • m (minutes)
  • h (hours)
  • bd (business days)
  • d (days)
shippingEstimateDateStringShipping estimate date.
lockTTLStringEstimate date of delivery.
availableDeliveryWindowsStringAvailable shipping date.
startDateUtcStringAvailable delivery window start date in UTC.
endDateUtcStringAvailable delivery window end date in UTC.
deliveryWindowObjectScheduled delivery window information, in case it applies to the item.
startDateUtcStringScheduled delivery window start date in UTC.
endDateUtcStringScheduled delivery window end date in UTC.
listPriceIntegerScheduled delivery window list price.
priceIntegerPrice in cents.
taxIntegerTax in cents.
pickupStoreInfoObjectInformation on the pickup store.
isPickupStoreBooleanIndicates whether it is the pickup store.
friendlyNameStringFriendly name.
addressObjectAddress information.
additionalInfoStringAdditional information.
dockIdStringCorresponding dock ID.
pickupPointIdStringPickup point ID.
pickupDistanceIntegerPickup point distance.
polygonNameStringPolygon name.
transitTimeStringTransit time. For instance, "three business days" is represented 3bd.
shipsToArrayList of countries that the item may be shipped to.
itemIdStringItem ID.
deliveryChannelsStringList of available delivery channels.
idStringelivery channel ID.
selectedAddressesArraySelected addresses information.

storeId

It is a string containing the store ID.

Example:


_10
{
_10
"storeId": "2"
_10
}

FieldTypeDescription
storeIdintegerIdentification of the store.

storePreferencesData

This object contains data from the store's configuration.

Example:


_18
{
_18
"countryCode": "BRA",
_18
"saveUserData": true,
_18
"templateOptions": {
_18
"toggleCorporate": false
_18
},
_18
"timeZone": "E. South America Standard Time",
_18
"currencyCode": "BRL",
_18
"currencyLocale": 0,
_18
"currencySymbol": "R$",
_18
"currencyFormatInfo": {
_18
"currencyDecimalDigits": 2,
_18
"currencyDecimalSeparator": ",",
_18
"currencyGroupSeparator": ".",
_18
"currencyGroupSize": 3,
_18
"startsWithCurrencySymbol": true
_18
}
_18
}

totalizers

This array contains an object for each totalizer for the purchase. Totalizers contain the sum of values for a specific part of the order (e.g. Total item value, Total shipping value).

Example:


_12
[
_12
{
_12
"id": "Items",
_12
"name": "Total items",
_12
"value": 35620
_12
},
_12
{
_12
"id": "Shipping",
_12
"name": "Total freight",
_12
"value": 399
_12
}
_12
]

Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
On this page