v60

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01361201.5 MB
Orders

Get order

Retrieves order details by searching by order ID or sequence number.

⚠️ Throttling: Each VTEX account can make up to 6000 requests per minute.

You can only access information from orders created in the last two years, and that same period is valid for customers through My Account.

Check the Orders onboarding guide. We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Orders and is organized by focusing on the developer's journey.

Permissions

Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:

ProductCategoryResource
OMSOMS accessView order
CheckoutCheckoutResourcesOrders Full Access

You can create a custom role with that resource or use one of the following predefined roles:

RoleResource
OMS - Full accessView order
Checkout AdminView order
IntegrationProfile - Fulfillment OmsView order
OMS - Full accessOrders Full Access
Checkout AdminOrders Full Access
IntegrationProfile - Fulfillment OmsOrders Full Access

❗ Assigning a predefined role to users or application keys usually grants permission to multiple License Manager resources. If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see Best practices for using application keys. To learn more about machine authentication at VTEX, see Authentication overview.

get/api/oms/pvt/orders/{orderId}

Path parameters

orderIdstring required
Example:1172452900788-01 or seq501456

Order ID is a unique code that identifies an order. Instead of using orderId, you can also make the request using the sequence, a six-digit string that follows the order ID. For example, in order 1268540501456-01 (501456), the sequence is 501456. To use this parameter, replace the value between { } keys in seq{sequence-number} with the sequence. For example: seq501456.

Headers

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Content-Typestring required

Type of the content being sent.

Response

OK

orderIdstring

Order ID.

sequencestring

Sequence number part of the order ID. For example, in order v70530116str-01, the sequence is 70530116.

marketplaceOrderIdstring

Marketplace order ID.

marketplaceServicesEndpointstring

Endpoint provided by the marketplace for post purchase communication.

sellerOrderIdstring

Seller order ID.

origin'Marketplace' | 'Fulfillment' | 'Chain'
affiliateIdstring

Three-letter affiliate code configured by the seller to identify a marketplace.

salesChannelstring

Sales channel (or trade policy) ID related to the order.

merchantNamestring nullable

For a VTEX store, the merchant's name will be the same as the account name. An external seller can have a merchantName, but it will not be an account name.

statusstring

Order status in the workflow.

workflowIsInErrorboolean

Indicates if the order processing in the workflow presents an error that cannot be solved by automatic retry (true), or if there are no processing errors (false).

statusDescriptionstring

Status description displayed on the VTEX Admin. This field is obsolete and may not return any value.

valueinteger

Order total value in cents.

creationDatestring

Order creation date in ISO 8601 time zone offset format, as in YYYY-MM-DDThh:mm:ssZ.

lastChangestring

Order last change date in ISO 8601 time zone offset format, as in YYYY-MM-DDThh:mm:ssZ.

orderGroupstring

Order group ID, a segment of the order ID that groups all orders related to the same purchase. For example, in the order ID v71021570str-02), the order group ID is v71021570str.

followUpEmailstring

Email of the store employee responsible for managing the order.

lastMessagestring nullable

Last transactional message sent to the customer.

hostnamestring
isCompletedboolean

Defines if the order payment has been settled (true) or not (false).

roundingErrorinteger

Rounding error total value in cents, when applicable. For example, in orders with discounts on non-integer multiplier items, rounding is applied per item, not after the sum of all items, which can result in a difference in the total discount value.

orderFormIdstring

Unique identifier of the orderForm.

allowCancellationboolean

Defines if order cancellation is allowed (true) or not anymore (false).

allowEditionboolean

Defines if the order can be edited (true) or not anymore (false).

isCheckedInboolean

Defines if the order was placed via VTEX Sales App (true) or not (false).

authorizedDatestring nullable

Order authorization date in ISO 8601 time zone offset format, as in YYYY-MM-DDThh:mm:ssZ.

invoicedDatestring nullable

Order invoice date in ISO 8601 time zone offset format, as in YYYY-MM-DDThh:mm:ssZ.

cancelReasonstring nullable

Reason for order cancellation.

checkedInPickupPointIdstring nullable

When the order is created at a physical store which is configured as a pickup point, this field retrieves the pickup point ID.

commercialConditionDatastring nullable

Information about commercial conditions.

openTextFieldobject nullable

Optional field for additional information.

marketplaceItemsstring[]

Array with marketplace items information.

All 36 operations