Beginning June 25th, 2023, the Outdated Checkout endpoint will be deprecated.
Both the Outdated Checkout endpoint and the Order Management System (OMS) endpoints in the table below allow you to obtain order fulfillment information, order management data, seller identification and more.
Beginning June 25th, 2023, the Outdated Checkout endpoint will be deprecated and all integrations that use this route will have to migrate to OMS endpoints, as indicated in the following table:
From Checkout endpoint | To OMS endpoints |
---|---|
Outdated Checkout endpoint GET - https://{accountName}.{environment}.com.br/api/checkout/pub/orders |
|
For integrations built with GraphQL that use the Outdated Checkout endpoint, instead of using the
orders
query provided by thevtex.store-graphql
app, now they will have to use theorders
query provided by thevtex.orders-graphql
app. For more information about GraphQL APIs, see this Overview. At the end of the article, you will find GraphQL orders query examples.
Why are we doing this
The Outdated Checkout endpoint is an old route that will be discontinued. Using the OMS endpoints ensure that your store is using the latest and most performant VTEX solution. Some of the benefits of migrating to the VTEX OMS endpoints are:
- Faster order retrieve
- Reduction in order integration errors
- Option to paginate orders data
Having a unified service across all VTEX stores also helps us accelerate the pace of new solutions and product releases to improve your business.
What are the differences
The table below shows the Outdated Checkout endpoint fields that do not exist on OMS endpoints, and most of them will be permanently deprecated. Except for the fields in the table, all of the other Outdated Checkout endpoint fields can be found on VTEX OMS endpoints.
If you wish to see the Outdated Checkout endpoint’s payload, go to Outdated Checkout endpoint response body.
Missing Field | Type | Description | Will be deprecated |
---|---|---|---|
storeId | string | ID of purchases made in the GoCommerce context. | Yes |
productRefId | string | Product Ref ID. | Yes |
modalType | string | Links an unusual type of product to a carrier specialized in delivering it. For more information see How the modal works and Setting up modal for carriers. | Yes |
manualPriceAppliedBy | string | User ID or appKey used to make the change. This field must not be displayed to the shopper. | Yes |
productCategoryIds | string | Item's category path composed of category IDs. In OMS endpoints this field corresponds to productCategories . | Yes |
sellerChain | array | Sellers involved in the chain. The list should contain only one seller, unless it is a Multilevel Omnichannel Inventory order. | Yes |
attachmentOfferings | array of objects | Object with the properties of the content declared in the field attachments . | No |
name (items > attachmentOfferings > name) | string | Name of the attachment. | No |
required (items > attachmentOfferings > required) | boolean | If the attachment is required or not. | No |
schema (items > attachmentOfferings > schema) | object | Object with the schema of the content declared in the field attachmentOfferings . | No |
availability | string | Availability to fulfill the order with the item. This field is being removed because it is related to the shopping cart. | Yes |
manufacturerCode | string | Provided by the manufacturers to identify their product. This field should be completed if the item has a specific manufacturer’s code. | Yes |
profileCompleteOnLoading | boolean | When set as true , the order was made by a recurrent customer, and when set as false , it was not. | Yes |
profileErrorOnLoading | boolean | When set as true , this field indicates a profile error on loading, and when set as false , no errors were found. If there are errors, check the store's customer profiles in Master Data. This field doesn't have to be displayed to the shopper. | Yes |
teaser | array | List with promotions and taxes teasers. | No |
selectedDeliveryChannel | string | Delivery channel selected by the customer, like delivery or pickup-in-point . This field is being removed and the information it retrieves can be found in the deliveryChannel . | Yes |
kitItemDetails | array of objects | Information about kits, if there are any. | No |
availableDeliveryWindows | array | Available delivery window information, if it applies to the item.This field is being removed because it is related to the shopping cart. | Yes |
pickupDistance | number | Distance in kilometers between the pickup point and the customer's address. The distance is measured as a straight line. | No |
deliveryChannels | array of objects | Contains the delivery channels associated with the trade policy. Structure: {id: delivery} and/or {id: pickup-in-point} . | No |
availableAddresses | array of objects | Information about available adresses.This field is being removed because it is related to the shopping cart. | Yes |
pickupPoints | array of objects | Detailed information about pickup points in the shopping cart. This field is being removed because it is related to the shopping cart; the pickup point option of the order was already selected. | Yes |
businessHours | array of objects | Information about the pickup point's business hours. | Yes |
DayOfWeek | integer | Day of the week of the business hour, with 0 : corresponding to Sunday, 1 to Monday, 2 to Tuesday, and so on. | Yes |
OpeningTime | string | Starting time of the business hour, with the format hh:mm:ss . | Yes |
ClosingTime | string | Closing time of the business hour, with the format hh:mm:ss . | Yes |
sharedTransaction | boolean | When set as true , this field indicates it was a shared transaction, and when set as false , it means it was not.This field does not reflect on the shopper experience since it is about the store's internal financial matters. | Yes |
clientPreferencesData | object | Information about customer's preferences. | No |
locale (clientPreferencesData > locale) | string | Customer's prefered language while accessing the store. | No |
optinNewsLetter (clientPreferencesData >optinNewsLetter) | boolean | When set as true , this field indicates the customer opted to receive the newsletters, and when set as false , it means they did not accept to receive the newsletters. This field isn't displayed to the shopper since it is about the store's internal matters. | Yes |
saveUserData | boolean | When this field is set as true , it means the customers agree to have their data stored, and when set as false , the customer did not allow to store their data. This field isn't displayed to the shopper since it is about the store's internal matters. | Yes |
hooksData | object | Information about a legacy hook.This field has been deactivated. | Yes |
major | string | An internal system's code of VTEX's modules communication. | Yes |
url | string | URL that used to be notified by the legacy look, which has been deactivated. | Yes |
Outdated Checkout endpoint properties descriptions
Field | Type | Description |
---|---|---|
orderId | string | Order ID is a unique code that identifies an order. |
orderGroup | string | Order's group ID. |
state | string | Status of the order in the Order flow. |
isCheckedIn | boolean | The field is set true when the order was made via inStore and false when it was not. |
sellerOrderId | string | ID of the seller related to the order. It can be a VTEX seller or an external seller. |
storeId | string | ID that identifies the store when the order was made using inStore. |
checkedInPickupPointId | string | If the field isCheckedIn is set as true , the checkedInPickupPointId will retrieve the ID of the physical store where the order was made. |
value | integer | The order's total amount, written as a sequence of numbers with no punctuation. |
items | array of object | Information about the order items. |
uniqueId | string | Unique ID is an alphanumeric sequence that identifies an SKU in a given order. |
id | integer | Item's SKU ID, which is a unique numerical identifier. |
productId | string | ID of the Product associated with the item. |
productRefId | string | Product Ref ID. |
refId | string | Product referencial code associated with the item. |
ean | string | EAN of the SKU. |
name | string | Name of the Product associated with the item. |
skuName | string | Name of the SKU corresponding to the item. |
modalType | string | Links an unusual type of product to a carrier specialized in delivering it. For more information see How the modal works and Setting up modal for carriers. |
parentItemIndex | number | Parent item index. |
parentAssemblyBinding | string | Parent assembly binding. |
assemblies | array | Retrieves information about orders' customizations. |
priceValidUntil | string | Computed price's validation date, due to pricing scheduling. |
tax | integer | Item's tax. |
price | integer | Item's price. |
listPrice | integer | Item's list price. |
manualPrice | integer | Item's manual price. |
manualPriceAppliedBy | string | User ID or appKey used to make the change. |
sellingPrice | integer | Item's selling price. |
rewardValue | integer | Item's reward value. |
isGift | boolean | This field is true when the item is a gift in order context and false when it is not. |
additionalInfo | object | Additional information about the item. |
dimension | object | Item's dimensions in the measure unit configured in the catalog. |
cubicweight | number | Item's cubic weight. |
height | number | Item's height. |
length | number | Item's length. |
weight | number | Item's weight. |
width | number | Item's width. |
brandName | string | Item's brand name. |
brandId | string | Item's brand ID. |
offeringInfo | string | Offering information. |
offeringType | string | Offering type. |
offeringTypeId | string | Offering type ID. |
preSaleDate | string | Item's pre sale date. |
productCategoryIds | string | Item's category path composed of category IDs separated by / . For example: /3/15/ . |
productCategories | object | Object containing product categories. Structure: "{CategoryID}": "{CategoryName}". Both the key and the value are strings. |
quantity | integer | Quantity of items. |
seller | string | Seller ID that identifies the seller the item belongs to. |
sellerChain | array of strings | Sellers involved in the chain. The list should contain only one seller, unless it is a Multilevel Omnichannel Inventory order. |
imageUrl | string | Item's SKU Image URL. |
detailUrl | string | URL slug of the Product associated with the item. |
components | array | Item's components. |
bundleItems | array | Information on services sold along with the item's SKU. For example: a gift package. |
attachments | array of object | Array containing information on attachments. |
name | string | Attachment's name. |
content | object | Attachment's custom field for content. |
attachmentOfferings | array of object | Object with the properties of the content declared in the field attachments . |
name | string | Name of the attachment. |
required | boolean | If the attachment is required or not. |
schema | object | Object with the schema of the content declared in the field attachmentOfferings . |
offerings | array | Item's offerings. |
priceTags | array of object | Array containing objects with item's price modifiers. |
availability | string | Availability to fulfill the order with the item. |
measurementUnit | string | Item's measurement unit. |
unitMultiplier | integer | Item's unit multiplier. |
manufacturerCode | string | Provided by the manufacturers to identify their product. This field should be completed if the item has a specific manufacturer’s code. |
priceDefinitions | object | Item's price information. |
calculatedSellingPrice | integer | Item's calculated unitary selling price in cents. |
total | integer | Total value of all item's units in cents. |
sellingPrices | array of object | Details on item's selling price. |
value | integer | Total value of items in cents. |
quantity | integer | Quantity of items. |
sellers | array of object | Array containing information on all the sellers associated with the order. |
id | string | Seller ID that identifies the seller. |
name | string | Seller's name. |
logo | string | URL of the seller's logo. |
totals | array of object | Array of object that includes the following fields, whenever they apply to the order: - Items - Discounts - Shipping - Tax - Change |
id | string | Code that identifies if the information is about Items , Discounts , Shipping , Tax or Change . |
name | string | Name of the Items , Discounts , Shipping , Tax or Change . |
value | integer | Total value of the Items , Discounts , Shipping , Tax or Change . |
clientProfileData | object | Object with information on the client's profile. |
string | Customer's email. | |
firstName | string | Customer's first name. |
lastName | string | Customer's last name. |
document | string | Document identification code informed by the customer. |
documentType | string | Type of the document informed by the customer. |
phone | string | Customers's phone number. |
corporateName | string | If the customer is a legal entity, here goes the corporate name. |
tradeName | string | If the customer is a legal entity, here goes the trade name. |
corporateDocument | string | If the customer is a legal entity, here goes the corporate document. |
stateInscription | string | If the custmer is a legal entity, here goes the state inscription. |
corporatePhone | string | If the customer is a legal entity, here goes the corpany's phone number. |
isCorporate | boolean | The value is true when the customer is a legal entity and false when not. |
profileCompleteOnLoading | boolean | When set as true , the order was made by a recurrent customer, and when set as false , it was not. |
profileErrorOnLoading | boolean | When set as true , this field indicates a profile error on loading, and when set as false , no errors were found. If there are errors, check the store's customer profiles in Master Data. |
customerClass | string | Identification of the class the customer belongs to. |
ratesAndBenefitsData | object | Information on promotions and taxes that apply to the order. |
rateAndBenefitsIdentifiers | array of object | Information about order's promotions and taxes identifiers. |
id | string | ID of the rate or benefit. |
name | string | Name of the rate or benefit. |
featured | boolean | This field is set true when the promotions and taxes are cumulative and false when not. |
description | string | Description of promotions and taxes. |
matchedParameters | object | Informs the criteria and conditions fulfilled so the promotion became valid. |
paymentMethodId | string | ID of the payment method. |
additionalInfo | object | Object containing additional information about promotions and taxes, if it applies. For example { "Free shipping": "249,99" }. |
teaser | array of object | List with promotions and taxes teasers. |
shippingData | object | Object containing shipping data. |
address | object | Shipping address. |
addressType | string | Type of address. For example, Residential or Pickup , among others. |
receiverName | string | Name of the person who is going to receive the order. |
addressId | string | Shipping address ID. |
isDisposable | boolean | This field is set as true when after the order placement the user's profile is disposed, and false when profile data is saved for future checkouts. |
postalCode | string | Postal code of the shipping address. |
city | string | City of the shipping address. |
state | string | State of the shipping address. |
country | string | Three letters ISO code of the country of the shipping address (ISO 3166 ALPHA-3). |
street | string | Street of the shipping address. |
number | string | Number of the building, house or apartment in the shipping address. |
neighborhood | string | Neighborhood of the shipping address. |
complement | string | Complement to the shipping address when it applies. |
reference | string | Complement to help locate the shipping address, in case of delivery. |
geoCoordinates | array of numbers | Array with two numbers with geocoordinates, first latitude, then longitude. |
logisticsInfo | array of object | Array of objects containing logistics information of each item. |
itemIndex | integer | Index of the item starting from 0. |
selectedSla | string | Selected shipping option. |
selectedDeliveryChannel | string | Delivery channel selected by the customer, like delivery or pickup-in-point . |
addressId | string | Adress ID. |
slas | array of object | Information on Service Level Agreement (SLA), corresponding to shipping policies. |
id | string | ID of the shipping method used in the shipping policy. |
deliveryChannel | string | If the delivery channel is "delivery" or "pickup-in-point". |
name | string | Name of the shipping policy. |
deliveryIds | array of object | Information about delivery IDs. |
courierId | string | Carrier's ID. |
warehouseId | string | ID of the warehouse. |
dockId | string | ID of the loading dock. |
courierName | string | Carrier's name. |
quantity | integer | Quantity of items. |
kitItemDetails | array of object | Information about kits, if there are any. |
itemId | string | SKU ID of the kit's item. |
warehouseId | string | ID of the warehouse related to the kit's item. |
shippingEstimate | string | Total shipping estimate time in days. For instance, three business days is represented 3bd . |
shippingEstimateDate | string | Shipping estimate date. It is defined only after the confirmation of the order. |
lockTTL | string | Logistics reservation waiting time. |
availableDeliveryWindows | array | Available delivery window information, if it applies to the item. |
deliveryWindow | object | Scheduled delivery window information, if it applies to the item. |
price | integer | Shipping price for the item in cents. Does not account for the whole order's shipping price. |
listPrice | integer | SKU's optional price for a specific trade policy. |
tax | integer | Tax in cents. |
pickupStoreInfo | object | Detailed information about a pickup point. |
isPickupStore | boolean | If this field is set true , it means the type of shipping is pickup, and if set as false , it is not. |
friendlyName | string | Name of the pickup point displayed at checkout. |
address | string | Pickup point's address. |
additionalInfo | string | Additional information about the delivery or the pickup point. |
dockId | string | ID of the loading dock related to the delivery or the pickup point |
pickupPointId | string | Pickup point's ID. |
pickupDistance | number | Distance in kilometers between the pickup point and the customer's address. The distance is measured as a straight line. |
polygonName | string | Name of the polygon associated with the shipping policy. |
transitTime | string | Duration in business days of the time the carrier takes in transit to fulfill the order. For example, three business days is represented 3bd . |
shipsTo | array of string | Three letters ISO code of the country of the shipping address (ISO 3166 ALPHA-3). |
itemId | string | Item's SKU ID, which is a unique numerical identifier. |
deliveryChannels | array of object | Contains the delivery channels associated with the trade policy. Structure: {id: delivery} and/or {id: pickup-in-point} . |
selectedAddresses | array of object | Information about selected adresses. |
addressType | string | Selected adress's shipping type, which can be pickup or residential . |
receiverName | string | Name of the person who is going to receive the order in the selected address. |
addressId | string | Selected address ID. |
isDisposable | boolean | This field is set true when after the order placement the information is disposed, and false when data is saved for future checkouts. |
postalCode | string | Postal code of the selected address. |
city | string | City of the selected address. |
state | string | State of the selected address. |
country | string | Three letters ISO code of the country of the selected address (ISO 3166 ALPHA-3). |
street | string | Street of the selected address. |
number | string | Number of the building, house or apartment in the selected address. |
neighborhood | string | Neighborhood of the selected address. |
complement | string | Complement to the selected address if it applies. |
reference | string | Complement to help locate the selected address. |
geoCoordinates | array of numbers | Array with two numbers with the selected address's geocoordinates, first latitude, then longitude. |
availableAddresses | array of objects | Information about available adresses. |
addressType | string | Available address's shipping type, which can be pickup or residential . |
receiverName | string | Name of the person who is going to receive the order in the available address. |
addressId | string | Available address ID. |
isDisposable | boolean | This field is set true when after the order placement the information is disposed, and false when data is saved for future checkouts. |
postalCode | string | Postal code of the available address. |
city | string | City of the available address. |
state | string | State of the available address. |
country | string | Three letters ISO code of the country of the available address (ISO 3166 ALPHA-3). |
street | string | Street of the available address. |
neighborhood | string | Neighborhood of the available address. |
number | string | Number of the building, house or apartment in the available address. |
complement | string | Complement to the available address, if it applies. |
reference | string | Complement to help locate the available address. |
geoCoordinates | array of numbers | Array with two numbers with the available address's geocoordinates, first latitude, then longitude. |
pickupPoints | array of objects | Detailed information about pickup points, when that is the type of shipping. |
friendlyName | string | Name of the pickup point displayed at checkout. |
address | object | Pickup point's adress. |
addressType | string | Pickup point's adress type. |
receiverName | string | Name of the person who is going to receive the order. |
addressId | string | Address ID. |
isDisposable | boolean | This field is set true when after the order placement the information is disposed, and false when data is saved for future checkouts. |
postalCode | string | Postal code of the pickup point. |
city | string | City of the pickup point. |
state | string | State of the pickup point. |
country | string | Three letters ISO code of the country of the pickup point (ISO 3166 ALPHA-3). |
street | string | Street of the pickup point. |
neighborhood | string | Neighborhood of the pickup point. |
number | string | Number of the building of the pickup point, if it applies. |
complement | string | Complement to the pickup point address, when it applies. |
reference | string | Complement to help locate the pickup point address. |
geoCoordinates | array of number | Array with two numbers with geocoordinates, first latitude, then longitude. |
additionalInfo | string | Additional information about the pickup point. |
id | string | Pickup point's ID. |
businessHours | array of objects | Information about the pickup point's business hours. |
DayOfWeek | integer | Day of the week of the business hour, with 0 : corresponding to Sunday, 1 to Monday, 2 to Tuesday, and so on. |
OpeningTime | string | Starting time of the business hour, with the format hh:mm:ss . |
ClosingTime | string | Closing time of the business hour, with the format hh:mm:ss . |
paymentData | object | Object with information about the payment. |
giftCards | array | Array with information about gift cards. |
redemptionCode | string | Code for the customer to use the Gift Card. |
provider | string | Payment provider's name. |
value | integer | Total amount of the Gift Card used by the customer. |
balance | integer | Current amount of the Gift Card that can still be used by the customer. |
name | string | Gift Card's name. |
caption | string | Gift Card's caption. |
id | string | Gift Card's ID. |
inUse | boolean | When this field is set as true , it means the Gift Card is activated, and when set as false , it is deactivated. |
isSpecialCard | boolean | When this field is set as true , the customer does not have to insert a code (redemptionCode ) to make use of the Gift Card. For example, in a fidelity program in which the client has credits for another purchase. When the field is set as false , the customer must insert a code to make use of the Gift Card. |
groupName | string | Name of the collection the Gift Card belongs to. |
transactions | array of object | Information about financial transactions. |
isActive | boolean | When this field is set as true , the payment is active, and when it is false , the payment is inactive. |
transactionId | string | ID of the transaction. |
merchantName | string | Name of the merchant that will receive the payment. |
payments | array of object | Detailed information about payment. |
id | string | VTEX payment ID that can be used as unique identifier. |
paymentSystem | string | Payment system's ID. |
paymentSystemName | string | Payment system's name. |
value | integer | Payment's final amount in cents. |
installments | integer | Number of payment installments. |
connectorResponses | object | Information about the connector responses. |
Tid | string | Provider's unique identifier for the transaction. |
ReturnCode | integer | Provider's operation/error code to be logged. |
Message | string | Provider's operation/error message to be logged. |
authId | string | Connector's authorization ID. |
referenceValue | number | Payment's reference value in cents. |
cardHolder | string | Name of the person who owns the card. |
cardNumber | string | Numeric sequence of the card used in the transaction. |
firstDigits | string | Fist digits of the card used in the transaction. |
lastDigits | string | Last digits of the card used in the transaction. |
cvv2 | string | Card Verification Value (CVV2) is a security code used by payment processors to reduce fraudulent credit and debit card transactions. |
expireMonth | string | Expire month of the card used in the transaction (2-digits). |
expireYear | string | Expire year of the card used in the transaction (4-digits). |
url | string | Payment's URL. |
koinUrl | ||
tid | string | Provider's unique identifier for the transaction. |
redemptionCode | string | Code for the customer to use the Gift Card. |
giftCardId | string | Gift Card's ID. |
giftCardProvider | string | Gift Card provider's ID. |
giftCardAsDiscount | boolean | When this field is set as true , the Gift Card is a discount over the price, and when set as false , it is not a discount. |
dueDate | string | Payment due date, with the format yyyy-mm-dd . |
accountId | string | Payment's account ID. |
parentAccountId | string | This field retrieves the main account if the payment was made in a subaccount. |
bankIssuedInvoiceIdentificationNumber | string | Numeric sequence that identifies the bank issued invoice. |
bankIssuedInvoiceIdentificationNumberFormatted | string | Bank issued invoice ID formatted. |
bankIssuedInvoiceBarCodeNumber | string | Number of the bank issued invoice bar code. |
bankIssuedInvoiceBarCodeType | string | Type of the bank issued invoice bar code. |
billingAddress | string | Billing address. |
sharedTransaction | boolean | When set as true , this field indicates it was a shared transaction, and when set as false , it means it was not. |
clientPreferencesData | object | Information about customer's preferences. |
locale | string | Customer's prefered language while accessing the store. |
optinNewsLetter | boolean | When set as true , this field indicates the customer opted to receive the newsletters, and when set as false , it means they did not accept to receive the newsletters. |
commercialConditionData | object | Information about commercial conditions. |
giftRegistryData | object | Information about gift list, when it applies. |
giftRegistryId | string | Gift list item registry ID. |
giftRegistryType | string | Gift list item's type. |
giftRegistryTypeName | string | Gift list item's type name. |
addressId | string | Address's ID for shipping the gift list item. |
description | string | Gift list item's description. |
marketingData | object | Information about promotions and marketing. For example, coupon tracking information and internal or external UTMs. |
attachmentId | string | Attachment's ID. |
coupon | string | Coupon's code information. |
marketingTags | array | Marketing tags information. This field can be used to register campaign data or informative tags regarding promotions. |
utmCampaign | string | Value of the utm_campaign parameter of the URL that led to the request. |
utmMedium | string | Value of the utm_medium parameter of the URL that led to the request. |
utmSource | string | Value of the utm_source parameter of the URL that led to the request. |
utmiCampaign | string | Internal UTM value utmi_cp . |
utmiPart | string | Internal UTM value utmi_pc . |
utmipage | string | Internal UTM value utmi_p . |
storePreferencesData | object | Object with data from the store's configuration - stored in VTEX's License Manager. |
countryCode | string | Three letters ISO code of the country (ISO 3166 ALPHA-3). |
saveUserData | boolean | When this field is set as true , it means the customers agree to have their data stored, and when set as false , the customer did not allow to store their data. |
timeZone | string | Time zone from where the order was made. |
currencyCode | string | Currency code in ISO 4217. For example, BRL . |
currencyLocale | integer | Currency Locale Code in LCID in decimal. |
currencySymbol | string | Currency symbol. |
currencyFormatInfo | object | Object with currency format details. |
CurrencyDecimalDigits | integer | Quantity of currency decimal digits. |
CurrencyDecimalSeparator | string | Defines what currency decimal separator will be applied. |
CurrencyGroupSeparator | string | Defines what currency group separator will be applied. |
CurrencyGroupSize | integer | Defines how many characters will be grouped. |
StartsWithCurrencySymbol | boolean | Defines if all prices will be initiated with the currency symbol. |
openTextField | object | Optional field with order's additional information. We recommend using regular text only, do not use data formats like JSON - not even escaped. |
value | string | Additional information about the order. |
invoiceData | object | Information used for order invoicing. |
address | object | Address information. |
postalCode | string | Postal code of the order's invoice address. |
city | string | City of the order's invoice address. |
state | string | State of the order's invoice address. |
country | string | Country of the order's invoice address. The format is three letters code (ISO 3166 ALPHA-3). |
street | string | Street of the order's invoice address. |
number | string | Number of the building of the order's invoice address. |
neighborhood | string | Neighborhood of the order's invoice address. |
complement | string | Complement to the order's invoice address. |
reference | string | Complement to help locate the order's invoice address. |
settleInvoices | array of string | List of numbers of settled invoices. |
itemMetadata | object | Metadata information about the order's items. |
items | array of object | List of items with specific metadata about each one of them. |
id | string | Item's SKU ID, which is a unique numerical identifier. |
seller | string | Seller ID that identifies the seller the item belongs to. |
name | string | Name of the item as displayed to customers in the storefront. |
skuName | string | Name of the SKU corresponding to the item. |
productId | string | ID of the Product associated with the item. |
refId | string | Item's reference ID. |
ean | string | EAN of the item. |
imageUrl | string | Item's SKU image URL. |
detailUrl | string | URL slug of the item. |
assemblyOptions | array of object | Displays information about assembly options related to the item, if there are any. |
id | string | ID of the attachment related to the order. |
name | string | Name of the attachment related to the order. |
required | boolean | If this field is set as true , when the customer purchases the item sending the attachment is required, and when set as false , sending the attachment is optional. |
inputValues | object | Displays the attachment's content. |
composition | object | Displays the attachment's composition. |
taxData | object | Order's tax information. |
customData | object | Custom information in the order. This field is useful for storing data not included in other fields, for example, a message for a gift or a name to be printed in a shirt. |
customApps | array | Array containing the customer apps created by the store |
id | string | Customer app's ID. |
fields | object | Displays the fields created by the store for each customer app. |
hooksData | object | Information about the hook. |
major | string | An internal system's code of VTEX's modules communication. |
url | string | URL notified by the Hook to update order's data. |
changeData | array of object | List with information about changes in the order. |
reason | string | Text explaining why there was a change in the order. This information may be shown to the customer in the UI or transactional emails. |
discountValue | integer | This field can be used to apply a discount to the total value of the order. Value in cents. |
incrementValue | integer | This field can be used to increment the total value of the order. Value in cents. |
itemsAdded | array of object | List of items added to the order. |
id | string | SKU ID of the item added to the order. |
name | string | Name of the item added to the order. |
quantity | integer | Quantity of items added to the order. |
price | integer | Total amount in cents of the item added to the order. |
unitMultiplier | integer | Unit multiplier of the item added to the order. |
itemsRemoved | array of object | List of items removed from the order. |
id | string | SKU ID of the item removed from the order |
name | string | Name of the item removed from the order. |
quantity | integer | Quantity of items removed from the order. |
price | integer | Total amount in cents of the item removed from the order. |
unitMultiplier | integer | Unit multiplier of the item removed from the order. |
receipt | object | Information about the receipt for changed orders. |
date | string | The time the receipt was created. For example, 2022-06-29T17:42:08.3431198+00:00. |
orderId | string | ID of the order. |
receipt | string | Receipt's unique identifier code. |
subscriptionData | object | Information about subscriptions. |
subscriptionGroupId | string | ID of the subscription's group. If this field returns null and the executionCount is 0 , the order is the first one with subscriptions. |
subscriptions | array of object | List with subscriptions and their details. |
executionCount | integer | Position of the order in the subscription cycle. The first order will have the value 0 , the second will have the value 1 , and so on. |
priceAtSubscriptionDate | integer | Price of the order when the customer signed up for subscriptions. Subscriptions created from Admin UI or APIs do not have an original order, so the field returns 0.0 . This field was valid only for Subscriptions v2 and is deprecated in Subscriptions v3. |
itemIndex | integer | Each item in the subscriptions' order is identified by an index. The position starts in0 , followed by 1 , 2 , and so on. |
plan | object | Information about the subscription's validility and frequency. |
validility | object | Information about the period during which the subscription will be valid. |
begin | string | Subscriptions' beginning date with the format yyyy-mm-ddThh:mm:ss . |
end | string | Subscriptions' ending date with the format yyyy-mm-ddThh:mm:ss . |
frequency | object | Information about subscriptions' recurrence. |
periodicity | string | Defines the subscriptions recurrence period. The possible values are DAILY ,WEEKLY , MONTHLY and YEARLY . |
interval | number | Number of the time interval configured between subscription orders, which depends on the periodicity. For a DAILY periodicity, the field's value will correspond to days, for MONTHLY to months, and so on. |
merchantContextData | object | Information about the order's context provided by the merchant. |
salesAssociateData | object | Information associated to the order. |
salesAssociateId | string | Identification code of the vendor related to the order. This field is registered by the merchant, with a maximum of 100 characters. |
salesChannel | string | Sales channel, or trade policy, related to the order. |
followUpEmail | string | Email of the store's employee responsible for managing the order. |
creationDate | string | Order's creation date with the format yyyy-mm-ddThh:mm:ss.{zone}Z . |
lastChange | string | Order's last change date with the format yyyy-mm-ddThh:mm:ss.{zone}Z . |
timeZoneCreationDate | string | Time zone of when the order was created with the format yyyy-mm-ddThh:mm:ss.{zone}Z . |
timeZoneLastChange | string | Time zone of when the order was last changed with the format yyyy-mm-ddThh:mm:ss.{zone}Z . |
isCompleted | boolean | When set as true , the order's payment has been settled, and when set as false , it has not been settled yet. |
hostName | string | Account Hostname registered in License Manager |
merchantName | string | For a VTEX store, the merchant's name will be the same as the account name. An external seller can have a merchantName , and in this case the field will not correspond to an account name. |
userType | string | Role of the user retrieving the order. |
roundingError | integer | Rounding error total amount, if it applies. For example, in orders with a discount over non-integer multiplier items, the rounding price is performed per item, not after the sum of all items. That can cause a difference in the total discount amount, which is informed in this field. |
allowEdition | boolean | When set as true , the order can be edited, and when set as false , it is no longer possible to edit the order. |
allowCancellation | boolean | When set as true , the order can be canceled, and when set as false , it is no longer possible to cancel the order. |
isUserDataVisible | boolean | When set as true , the client's data is visible in the checkout, and when set as false , it is not. |
allowChangeSeller | boolean | When set as true , it is possible to use the Change Seller feature in the order, and when set as false , it is not possible. |
orderFormCreationDate | string | Date of when the orderForm was created with the format yyyy-mm-ddThh:mm:ss.{zone}Z . |
Outdated Checkout endpoint response body
_681{_681 "orderId": "1268540501456-01",_681 "orderGroup": "1268540501456",_681 "state": "payment-pending",_681 "isCheckedIn": false,_681 "sellerOrderId": "00-1268540501456-01",_681 "storeId": "store2485",_681 "checkedInPickupPointId": "storeNameExample_901",_681 "value": 1500,_681 "items": [_681 {_681 "uniqueId": "AB1D237A5D92460383B53305AA647BAD",_681 "id": "14",_681 "productId": "13",_681 "productRefId": "",_681 "refId": "356",_681 "ean": "dasdsadasdasda",_681 "name": "XĂcara com Imagem Pequena Xicrinha Small",_681 "skuName": "Xicrinha Small",_681 "modalType": " ",_681 "parentItemIndex": 87,_681 "parentAssemblyBinding": " ",_681 "assemblies": [],_681 "priceValidUntil": "2023-10-13T13:48:11Z",_681 "tax": 0,_681 "price": 1500,_681 "listPrice": 1500,_681 "manualPrice": 1400,_681 "manualPriceAppliedBy": " ",_681 "sellingPrice": 1000,_681 "rewardValue": 0,_681 "isGift": false,_681 "additionalInfo": {_681 "dimension": null,_681 "brandName": "Escola",_681 "brandId": "2000001",_681 "offeringInfo": null,_681 "offeringType": null,_681 "offeringTypeId": null_681 },_681 "preSaleDate": null,_681 "productCategoryIds": "/2/",_681 "productCategories": {_681 "2": "Uniforme"_681 },_681 "quantity": 1,_681 "seller": "1",_681 "sellerChain": [_681 "1"_681 ],_681 "imageUrl": "http://partnerintegrationbra.vteximg.com.br/arquivos/ids/155419-55-55/xicrinha_small.png?v=637885856236700000",_681 "detailUrl": "/xicara-pequena/p",_681 "components": [],_681 "bundleItems": [],_681 "attachments": [],_681 "attachmentOfferings": [_681 {_681 "name": "vtex.subscription.weekly",_681 "required": false,_681 "schema": {_681 "vtex.subscription.key.frequency": {_681 "maximumNumberOfCharacters": 7,_681 "domain": [_681 "1 week",_681 " 2 week",_681 " 3 week",_681 " 4 week"_681 ]_681 }_681 }_681 },_681 {_681 "name": "vtex.subscription.daily",_681 "required": false,_681 "schema": {_681 "vtex.subscription.key.frequency": {_681 "maximumNumberOfCharacters": 5,_681 "domain": [_681 "1 day"_681 ]_681 }_681 }_681 }_681 ],_681 "offerings": [],_681 "priceTags": [_681 {_681 "name": "discount@price-2050d4d9-1116-42d4-8a06-5db9eb677dc8#851f4d9a-bb88-41d2-bca3-65d0f55716b6",_681 "value": -500,_681 "rawValue": -5.0,_681 "isPercentual": false,_681 "identifier": "2050d4d9-1116-42d4-8a06-5db9eb677dc8",_681 "owner": "partnerintegrationbra"_681 }_681 ],_681 "availability": "available",_681 "measurementUnit": "un",_681 "unitMultiplier": 1.0000,_681 "manufacturerCode": null,_681 "priceDefinition": {_681 "calculatedSellingPrice": 1000,_681 "total": 1000,_681 "sellingPrices": [_681 {_681 "value": 1000,_681 "quantity": 1_681 }_681 ]_681 }_681 }_681 ],_681 "sellers": [_681 {_681 "id": "1",_681 "name": "VTEX",_681 "logo": ""_681 }_681 ],_681 "totals": [_681 {_681 "id": "Items",_681 "name": "Total dos Itens",_681 "value": 1500_681 },_681 {_681 "id": "Discounts",_681 "name": "Total dos Descontos",_681 "value": -500_681 },_681 {_681 "id": "Shipping",_681 "name": "Total do Frete",_681 "value": 500_681 },_681 {_681 "id": "Tax",_681 "name": "Total da Taxa",_681 "value": 0_681 }_681 ],_681 "clientProfileData": {_681 "email": "gabriel.barros@vtex.com.br",_681 "firstName": "sdfsd",_681 "lastName": "sdfsdf",_681 "document": "35234110095",_681 "documentType": "cpf",_681 "phone": "+5541998664959",_681 "corporateName": null,_681 "tradeName": null,_681 "corporateDocument": null,_681 "stateInscription": null,_681 "corporatePhone": null,_681 "isCorporate": false,_681 "profileCompleteOnLoading": true,_681 "profileErrorOnLoading": false,_681 "customerClass": null_681 },_681 "ratesAndBenefitsData": {_681 "rateAndBenefitsIdentifiers": [_681 {_681 "id": "2050d4d9-1116-42d4-8a06-5db9eb677dc8",_681 "name": "Promoção Afiliados",_681 "featured": false,_681 "description": "Test teste",_681 "matchedParameters": {_681 "paymentMethodId": "201"_681 },_681 "additionalInfo": null_681 }_681 ],_681 "teaser": []_681 },_681 "shippingData": {_681 "address": {_681 "addressType": "residential",_681 "receiverName": "sdfsd sdfsdf",_681 "addressId": "4983586086510",_681 "isDisposable": false,_681 "postalCode": "80050-350",_681 "city": "Curitiba",_681 "state": "PR",_681 "country": "BRA",_681 "street": "Avenida SĂŁo JosĂ©",_681 "number": "656453",_681 "neighborhood": "Cristo Rei",_681 "complement": null,_681 "reference": null,_681 "geoCoordinates": [_681 -49.243179321289063,_681 -25.435266494750977_681 ]_681 },_681 "logisticsInfo": [_681 {_681 "itemIndex": 0,_681 "selectedSla": "jatinho",_681 "selectedDeliveryChannel": "delivery",_681 "addressId": "4983586086510",_681 "slas": [_681 {_681 "id": "jatinho",_681 "deliveryChannel": "delivery",_681 "name": "jatinho",_681 "deliveryIds": [_681 {_681 "courierId": "jatinho",_681 "warehouseId": "1_1",_681 "dockId": "1",_681 "courierName": "Jatinho",_681 "quantity": 1,_681 "kitItemDetails": [_681 {_681 "itemId": "1065"_681 },_681 {_681 "warehouseId": "517"_681 }_681 ]_681 }_681 ],_681 "shippingEstimate": "3d",_681 "shippingEstimateDate": null,_681 "lockTTL": "26d",_681 "availableDeliveryWindows": [],_681 "deliveryWindow": null,_681 "price": 500,_681 "listPrice": 500,_681 "tax": 0,_681 "pickupStoreInfo": {_681 "isPickupStore": false,_681 "friendlyName": null,_681 "address": null,_681 "additionalInfo": null,_681 "dockId": null_681 },_681 "pickupPointId": null,_681 "pickupDistance": 0.0,_681 "polygonName": "",_681 "transitTime": "3d"_681 },_681 {_681 "id": "Split",_681 "deliveryChannel": "delivery",_681 "name": "Split",_681 "deliveryIds": [_681 {_681 "courierId": "2",_681 "warehouseId": "2_2_2",_681 "dockId": "2_2",_681 "courierName": "Split",_681 "quantity": 1,_681 "kitItemDetails": []_681 }_681 ],_681 "shippingEstimate": "3d",_681 "shippingEstimateDate": null,_681 "lockTTL": "26d",_681 "availableDeliveryWindows": [_681 {_681 "startDateUtc": "2022-10-17T08:00:00+00:00",_681 "endDateUtc": "2022-10-17T12:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 }_681 ],_681 "deliveryWindow": null,_681 "price": 500,_681 "listPrice": 500,_681 "tax": 0,_681 "pickupStoreInfo": {_681 "isPickupStore": false,_681 "friendlyName": null,_681 "address": null,_681 "additionalInfo": null,_681 "dockId": null_681 },_681 "pickupPointId": null,_681 "pickupDistance": 0.0,_681 "polygonName": "",_681 "transitTime": "3d"_681 },_681 {_681 "id": "Normal",_681 "deliveryChannel": "delivery",_681 "name": "Normal",_681 "deliveryIds": [_681 {_681 "courierId": "1",_681 "warehouseId": "1_1",_681 "dockId": "1",_681 "courierName": "Transportadora",_681 "quantity": 1,_681 "kitItemDetails": []_681 }_681 ],_681 "shippingEstimate": "3d",_681 "shippingEstimateDate": null,_681 "lockTTL": "26d",_681 "availableDeliveryWindows": [_681 {_681 "startDateUtc": "2022-10-17T08:00:00+00:00",_681 "endDateUtc": "2022-10-17T12:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-17T12:00:00+00:00",_681 "endDateUtc": "2022-10-17T16:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-18T08:00:00+00:00",_681 "endDateUtc": "2022-10-18T12:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-18T12:00:00+00:00",_681 "endDateUtc": "2022-10-18T16:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-19T08:00:00+00:00",_681 "endDateUtc": "2022-10-19T12:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-19T12:00:00+00:00",_681 "endDateUtc": "2022-10-19T16:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-20T08:00:00+00:00",_681 "endDateUtc": "2022-10-20T12:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-20T12:00:00+00:00",_681 "endDateUtc": "2022-10-20T16:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-21T08:00:00+00:00",_681 "endDateUtc": "2022-10-21T12:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 },_681 {_681 "startDateUtc": "2022-10-21T12:00:00+00:00",_681 "endDateUtc": "2022-10-21T16:00:59+00:00",_681 "price": 0,_681 "lisPrice": 0,_681 "tax": 0_681 }_681 ],_681 "deliveryWindow": null,_681 "price": 500,_681 "listPrice": 500,_681 "tax": 0,_681 "pickupStoreInfo": {_681 "isPickupStore": false,_681 "friendlyName": null,_681 "address": null,_681 "additionalInfo": null,_681 "dockId": null_681 },_681 "pickupPointId": null,_681 "pickupDistance": 0.0,_681 "polygonName": "",_681 "transitTime": "3d"_681 }_681 ],_681 "shipsTo": [_681 "BRA"_681 ],_681 "itemId": "14",_681 "deliveryChannels": [_681 {_681 "id": "delivery"_681 }_681 ]_681 }_681 ],_681 "selectedAddresses": [_681 {_681 "addressType": "residential",_681 "receiverName": "sdfsd sdfsdf",_681 "addressId": "4983586086510",_681 "isDisposable": false,_681 "postalCode": "80050-350",_681 "city": "Curitiba",_681 "state": "PR",_681 "country": "BRA",_681 "street": "Avenida SĂŁo JosĂ©",_681 "number": "656453",_681 "neighborhood": "Cristo Rei",_681 "complement": null,_681 "reference": null,_681 "geoCoordinates": [_681 -49.243179321289063,_681 -25.435266494750977_681 ]_681 }_681 ],_681 "availableAddresses": [_681 {_681 "addressType": "residential",_681 "receiverName": "sdfsd sdfsdf",_681 "addressId": "4983586086510",_681 "isDisposable": false,_681 "postalCode": "80050-350",_681 "city": "Curitiba",_681 "state": "PR",_681 "country": "BRA",_681 "street": "Avenida SĂŁo JosĂ©",_681 "number": "656453",_681 "neighborhood": "Cristo Rei",_681 "complement": null,_681 "reference": null,_681 "geoCoordinates": [_681 -49.243179321289063,_681 -25.435266494750977_681 ]_681 }_681 ],_681 "pickupPoints": []_681 },_681 "paymentData": {_681 "giftCards": [_681 {_681 "redemptionCode": "HYUO-TEZZ-QFFT-HTFR",_681 "provider": "TesteFer",_681 "value": 0,_681 "balance": 1000,_681 "name": null,_681 "caption": "gift card by id",_681 "id": "123",_681 "inUse": false,_681 "isSpecialCard": true,_681 "groupName": "giftCardPaymentGroup"_681 }_681 ],_681 "transactions": [_681 {_681 "isActive": true,_681 "transactionId": "E7FE5D0AC86F49FCAEAFE74BD663E1E6",_681 "merchantName": "PARTNERINTEGRATIONBRA",_681 "payments": [_681 {_681 "id": "D73F65660C5C4CF38D2B241991C25314",_681 "paymentSystem": "201",_681 "paymentSystemName": "Promissoria",_681 "value": 1500,_681 "installments": 1,_681 "connectorResponses": {_681 "Tid": "",_681 "ReturnCode": 34,_681 "Message": "",_681 "authId": ""_681 },_681 "referenceValue": 1500,_681 "cardHolder": null,_681 "cardNumber": null,_681 "firstDigits": null,_681 "lastDigits": null,_681 "cvv2": null,_681 "expireMonth": null,_681 "expireYear": null,_681 "url": "https://paymentMethod.com.br/apiboleto/nameMethod?token=AEDCBCtR3RCTH",_681 "koinUrl": null,_681 "tid": "151902",_681 "redemptionCode": "HYUO-TEZZ-QFFT-HTFR",_681 "giftCardId": null,_681 "giftCardProvider": null,_681 "giftCardAsDiscount": null,_681 "group": "promissory",_681 "dueDate": null,_681 "accountId": "7EA64D20BEC47F55AG7F5BC12D4BF0D5",_681 "parentAccountId": "f861a86274af4c678c936k93172fdeed",_681 "bankIssuedInvoiceIdentificationNumber": "23797770100000019003099260100022107500729050",_681 "bankIssuedInvoiceIdentificationNumberFormatted": null,_681 "bankIssuedInvoiceBarCodeNumber": null,_681 "bankIssuedInvoiceBarCodeType": "i25",_681 "billingAddress": null_681 }_681 ],_681 "sharedTransaction": false_681 }_681 ]_681 },_681 "clientPreferencesData": {_681 "locale": "pt-BR",_681 "optinNewsLetter": false_681 },_681 "commercialConditionData": null,_681 "giftRegistryData": {_681 "giftRegistryId": "154", _681 "giftRegistryType": "9",_681 "giftRegistryTypeName": "Wedding list",_681 "addressId": "4352357942349",_681 "description": "Alanna & Hugo"_681 },_681 "marketingData": {_681 "attachmentId": "marketingData",_681 "coupon": null,_681 "marketingTags": [],_681 "utmCampaign": "christmas",_681 "utmMedium": null,_681 "utmSource": "fb",_681 "utmiCampaign": "",_681 "utmiPart": "",_681 "utmipage": "" _681 },_681 "storePreferencesData": {_681 "countryCode": "BRA",_681 "saveUserData": false,_681 "timeZone": "E. South America Standard Time",_681 "currencyCode": "BRL",_681 "currencyLocale": 1046,_681 "currencySymbol": "R$",_681 "currencyFormatInfo": {_681 "currencyDecimalDigits": 2,_681 "currencyDecimalSeparator": ",",_681 "currencyGroupSeparator": ".",_681 "currencyGroupSize": 3,_681 "startsWithCurrencySymbol": true_681 }_681 },_681 "openTextField": {_681 "value": "{\"Phones\":[\"55555555\"]}"_681 },_681 "invoiceData": {_681 "address": {_681 "postalCode": "******000",_681 "city": "Rio ** *******",_681 "state": "RJ",_681 "country": "BRA",_681 "street": "Rua *** *****nte",_681 "number": "***",_681 "neighborhood": "Bot*****",_681 "complement": "*** ** *",_681 "reference": null_681 },_681 "settleInvoices":[_681 "24382",_681 "41252"_681 ] _681 },_681 "itemMetadata": {_681 "items": [_681 {_681 "id": "14",_681 "seller": "1",_681 "name": "XĂcara com Imagem Pequena Xicrinha Small",_681 "skuName": "Xicrinha Small",_681 "productId": "13",_681 "refId": null,_681 "ean": "dasdsadasdasda",_681 "imageUrl": "http://partnerintegrationbra.vteximg.com.br/arquivos/ids/155419-55-55/xicrinha_small.png?v=637885856236700000",_681 "detailUrl": "/xicara-pequena/p",_681 "assemblyOptions": [_681 {_681 "id": "",_681 "name": "",_681 "required": false,_681 "inputValues": {},_681 "composition": {_681 "minQuantity": "",_681 "maxQuantity": ""_681 }_681 }_681 ]_681 }_681 ]_681 },_681 "taxData": null,_681 "customData": {_681 "customApps": [_681 {_681 "id": "profile",_681 "fields": {_681 "age": "33",_681 "gender": "M"_681 }_681 }_681 ]_681 },_681 "hooksData": {_681 "major": "1",_681 "url": ""_681 },_681 "changeData": [_681 {_681 "reason": "Aumento peso da Manga em 100grs",_681 "discountValue": 0,_681 "incrementValue": 75,_681 "itemsAdded": [_681 {_681 "id": "5042",_681 "name": "Manga Tommy 500g",_681 "quantity": 1,_681 "price": 75,_681 "unitMultiplier": 0.100_681 }_681 ],_681 "itemsRemoved": [_681 {_681 "id": "5030",_681 "name": "Morango 300g",_681 "quantity": 1,_681 "price": 75,_681 "unitMultiplier": 0.100_681 }_681 ],_681 "receipt": {_681 "date": "2022-06-29T17:42:08.3431198+00:00",_681 "orderId": "1243130560385-01",_681 "receipt": "cce77f10-59f0-4e57-89e8-78ed755505ff"_681 }_681 }_681 ],_681 "subscriptionData": {_681 "subscriptionGroupId": "32586VDS876BFD",_681 "subscriptions": _681 [_681 {_681 "executionCount": 3,_681 "priceAtSubscriptionDate": 84444360.0,_681 "itemIndex": 0,_681 "plan": {_681 "validity": {_681 "begin": "2021-08-29T00:00:00",_681 "end": "2024-08-29T00:00:00"_681 },_681 "frequency": {_681 "periodicity": "DAILY",_681 "interval": 15_681 },_681 "type": "RECURRING_PAYMENT"_681 }_681 }_681 ]_681 },_681 "merchantContextData": {_681 "salesAssociateData": {_681 "salesAssociateId": "Id72945"_681 }_681 } ,_681 "salesChannel": "1",_681 "followUpEmail": "6eac6fa6521d4cc88f7e03585f1ae69c@ct.vtex.com.br",_681 "creationDate": "2022-10-13T13:48:36.1056593Z",_681 "lastChange": "2022-10-13T13:48:42.1418456Z",_681 "timeZoneCreationDate": "2022-10-13T10:48:36.1056593",_681 "timeZoneLastChange": "2022-10-13T10:48:42.1418456",_681 "isCompleted": true,_681 "hostName": "partnerintegrationbra",_681 "merchantName": "merchant123",_681 "userType": "callCenterOperator",_681 "roundingError": 0,_681 "allowEdition": false,_681 "allowCancellation": true,_681 "isUserDataVisible": true,_681 "allowChangeSeller": true,_681 "orderFormCreationDate": "2022-10-13T12:56:47.4031427Z"_681}
GraphQL queries
For integrations built with GraphQL, see below the orders
query provided by vtex.store-graphql
and vtex.orders-graphql
.
Query vtex.store-graphql
_10query {_10 orders @context(provider: "vtex.store-graphql") {_10 isCompleted_10 items {_10 productId_10 }_10 }_10}
_23type Order {_23 allowCancellation: Boolean_23 orderId: String_23 orderGroup: String_23 state: String_23 status: String_23 statusDescription: String_23 value: Float_23 salesChannel: String_23 creationDate: String_23 customData: CustomData_23 lastChange: String_23 timeZoneCreationDate: String_23 timeZoneLastChange: String_23 invoicedDate: String_23 isCompleted: Boolean_23 items: [OrderItem]_23 sellers: [OrderItemSeller]_23 totals: [OrderItemTotal]_23 paymentData: OrderItemPaymentData_23 shippingData: OrderItemShippingData_23 storePreferencesData: StorePreferencesData_23}
Query vtex.orders-graphql
_10orders(options: OrdersOptionsInput!): PaginatedOrders_10 @cacheControl(scope: PRIVATE)
_21query orders($options: OrdersOptionsInput!) {_21 orders(options: $options) @context(provider: "vtex.orders-graphql") {_21 list {_21 orderId_21 clientName_21 clientEmail_21 status_21 origin_21 creationDate_21 totalItems_21 totalValue_21 currencyCode_21 }_21 total_21 currencies {_21 currencyCode_21 quantity_21 value_21 }_21 }_21}
Query response
_10type PaginatedOrders {_10 currencies: [CurrencyOrderSummary]_10 paging: OrdersPaging!_10 page: Int! @deprecated(reason: "Use `paging` field.")_10 perPage: Int! @deprecated(reason: "Use `paging` field.")_10 total: Int! @deprecated(reason: "Use `paging` field.")_10 list: [OrderListing!]!_10 reportRecordsLimit: Int!_10}
_44type OrderListing {_44 allowCancellation: Boolean_44 allowEdition: Boolean_44 clientEmail: String_44 clientName: String_44 clientProfileData: ClientProfileData_44 creationDate: String_44 currencyCode: String_44 deliveryChannel: [String]_44 hostname: String_44 isInstore: Boolean_44 items: [OrderItem!]!_44 lastChange: String_44 marketingTags: [String]_44 orderGroup: String_44 orderId: ID!_44 sequence: String_44 orderIsComplete: Boolean_44 origin: String_44 packageAttachment: PackageAttachment!_44 paymentData: PaymentData!_44 paymentIds: [String]_44 paymentNames: [String]_44 pciTransactionId: [String]_44 productIds: [String]_44 sellerIds: [String]_44 sellerNames: [String]_44 sellerOrderId: ID_44 shippingData: ShippingData!_44 shippingEstimatedDateMax: String_44 shippingEstimatedDateMin: String_44 skus: [String]_44 status: String_44 storePreferencesData: StorePreferencesData!_44 subscriptionGroup: String_44 totalItems: Int_44 totalValue: Float_44 totals: [Total!]!_44 transactionIds: [String]_44 value: Float_44 workflowInErrorState: Boolean_44 workflowInRetry: Boolean_44 isAllDelivered: Boolean!_44}