vtex.local – Orders-API-(PII-version)
Endpoints that deal with order management. New version of the orders API.
- Homepage
- https://api.apis.guru/v2/specs/vtex.local:Orders-API-(PII-version)/1.0.json
- Provider
- vtex.local:Orders-API-(PII-version) / Orders-API-(PII-version)
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/vtex.local/Orders-API-(PII-version)/1.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/vtex.local/Orders-API-(PII-version)/1.0/openapi.yaml
Tools (8)
Extracted live via the executor SDK.
-
invoice.invoiceNotification2Once the order is invoiced, the seller should use this request to send the invoice information to the marketplace.
We strongly recommend that you always send the object of the invoiced items. With this practice, rounding errors will be avoided.
It is not allowed to use the same
invoiceNumberin more than one request to the Order Invoice Notification endpoint.Be aware that this endpoint is also used by the seller to send the order tracking information. This, however, should be done in a separate moment, once the seller has the tracking information.
The
Notify invoiceresource is needed to use this API request. This is included inOMS - Full accessandIntegrationProfile - Fulfillment Oms, among other default roles available in the Admin. Learn more about the . -
orders.cancelOrder2You should use this endpoint to cancel an order by its
orderId.A common scenario is one where the seller has a problem with the order fulfillment and needs to request the order cancellation to the marketplace. To do this, the seller would need to make this request, passing the
orderIdin the URL.You should expect a response with the date when the notification was received, the orderId, and a receipt protocol code.
Be aware that if the order status is already
Invoiced, the order can only be canceled if - before using this request - you send a return invoice through the .The
Cancel orderresource is needed to use this API request. This is included inOMS - Full accessandIntegrationProfile - Fulfillment Oms, among other default roles available in the Admin. Learn more about the . -
orders.getOrder2Retrieves order details by searching a specific order ID.
If you wish to retrieve unmasked data, use the
reasonparameter.The
View orderresource is needed to use this API request. This is included inOMS - Full accessandIntegrationProfile - Fulfillment Oms, among other default roles available in the Admin. Learn more about the .Check the new . 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.
Throttling: Each account can make up to 5000 requests per minute.
Request object has the following properties:
Response object has the following properties:
-
orders.listOrders2Retrieves a list of orders according to the filters described below.
This endpoint returns masked order data.
This should not be used for integrations. Use the for this purpose.
This endpoint returns only orders that already have been indexed, which takes aproximately four minutes. Because of this, the data retrieved may present inconsistencies. To get live up to date information and use the .
Check the new . 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.
Do not use request for integrations
This endpoint returns only orders that already have been indexed, which takes aproximately four minutes. Because of this, the data retrieved may present inconsistencies or become unavailable in periods of peak order volume. In other words, order integrations built with the List orders endpoint are not reliable and will not be supported. To get live up to date information and use the .
Throtling
Each account can make up to 5000 requests per minute.
Request parameters allowed
Sorting Examples
CreationDate:
OrderID:
Items:
TotalValue:
Origin:
Pagination Examples:
Quantity per Page Examples:
Pagination Limit: The limit of pages that can be requested is 30.Time zone query
Time Zone Example:
Request filters
Fulltext
The
+caracter isn't allowed in Fulltext SearchFulltext filter Examples:
OrderID:
Email:
Document:
ClientName:
Shipping Estimate
Shipping Estimate filter Examples:
Next 7 days:
Tomorrow:
Today:
Late:
Invoiced Date
Invoiced Date filter Examples:
1 Day:
1 Month:
1 Year:
Order Date
Order Date filter Examples:
1 Day:
1 Month:
1 Year:
Authorized Date
Authorized Date filter Examples:
1 Day:
1 Month:
1 Year:
UTMs
Channels filter Examples:
Seller
Seller filter Examples:
Call Center Operator
Call Center Operator filter Examples:
Sales Channel Name
Sales Channel Name filter Examples:
Sales Channel ID
Sales Channel ID filter Examples:
Affiliate ID
Affiliate ID filter Examples:
Order Status
Order Status filter Examples:
Order Status Description
Order Status Description filter Examples:
Order Situation
know more about
Order Situation filter Examples:
Error Situation
Error Situation filter Examples:
Payment Type Name
Payment Type Name filter Examples:
Rates and Benefits Name
Rates and Benefits filter Examples:
Search Field
Search Field filter Examples:
SKU ID:
Gift List ID:
Transaction ID (TID):
PCI Connector's Transaction ID (TID):
Payment ID (PID):
Connector's NSU:
\n\r\n\r## Response objects\n\r\n\r, Response object has the following properties:
`/api/oms/pvt/orders?orderBy=creationDate,desc``/api/oms/pvt/orders?orderBy=orderId,desc``/api/oms/pvt/orders?orderBy=items,asc``/api/oms/pvt/orders?orderBy=totalValue,desc``/api/oms/pvt/orders?orderBy=origin,asc``/api/oms/pvt/orders?page=3``/api/oms/pvt/orders?per_page=15``/api/oms/pvt/orders?utc=-0200``/api/oms/pvt/orders?q=v212333lux-02``/api/oms/pvt/orders?q=rodrigo.cunha@vtex.com``/api/oms/pvt/orders?q=21133355524``/api/oms/pvt/orders?q=Cunha``/api/oms/pvt/orders?f_shippingEstimate=7.days``/api/oms/pvt/orders?f_shippingEstimate=1.days``/api/oms/pvt/orders?f_shippingEstimate=0.days``/api/oms/pvt/orders?f_shippingEstimate=-1.days``/api/oms/pvt/orders?f_invoicedDate=invoicedDate:[2017-01-01T02:00:00.000Z TO 2017-01-02T01:59:59.999Z]``/api/oms/pvt/orders?f_invoicedDate=invoicedDate:[2017-01-01T02:00:00.000Z TO 2017-02-01T01:59:59.999Z]``/api/oms/pvt/orders?f_invoicedDate=invoicedDate:[2016-01-01T02:00:00.000Z TO 2017-01-01T01:59:59.999Z]``/api/oms/pvt/orders?f_creationDate=creationDate:[2017-01-01T02:00:00.000Z TO 2017-01-02T01:59:59.999Z]``/api/oms/pvt/orders?f_creationDate=creationDate:[2017-01-01T02:00:00.000Z TO 2017-02-01T01:59:59.999Z]``/api/oms/pvt/orders?f_creationDate=creationDate:[2016-01-01T02:00:00.000Z TO 2017-01-01T01:59:59.999Z]``/api/oms/pvt/orders?f_authorizedDate=authorizedDate:[2017-01-01T02:00:00.000Z TO 2017-01-02T01:59:59.999Z]``/api/oms/pvt/orders?f_authorizedDate=authorizedDate:[2017-01-01T02:00:00.000Z TO 2017-02-01T01:59:59.999Z]``/api/oms/pvt/orders?f_authorizedDate=authorizedDate:[2016-01-01T02:00:00.000Z TO 2017-01-01T01:59:59.999Z]``/api/oms/pvt/orders?f_UtmSource=buscape_campaign``/api/oms/pvt/orders?f_sellerNames=Fast+Shop``/api/oms/pvt/orders?f_callCenterOperatorName=Operator%20Name``/api/oms/pvt/orders?f_salesChannel=Main``/api/oms/pvt/orders?salesChannelId=1``/api/oms/pvt/orders?f_affiliateId=WLM``/api/oms/pvt/orders?f_status=ready-for-handling``/api/oms/pvt/orders?f_statusDescription=Pronto+para+o+manuseio``/api/oms/pvt/orders?incompleteOrders=true``/api/oms/pvt/orders?filterError=all``/api/oms/pvt/orders?f_paymentNames=Visa``/api/oms/pvt/orders?f_RnB="Free+Shipping"``/api/oms/pvt/orders?searchField=sku_Ids&sku_Ids=11223``/api/oms/pvt/orders?searchField=listId&listId=11223``/api/oms/pvt/orders?searchField=tid&tid=54546300238810034995829230012``/api/oms/pvt/orders?searchField=pci_tid&pci_tid=7032909234899834298423209``/api/oms/pvt/orders?searchField=paymentId&paymentId=2``/api/oms/pvt/orders?searchField=nsu&nsu=2437281` -
orders.startHandling2Change the status of an order to indicate that is is in
handling.Expect a
status 204response with no content in case of a successful request.The
Change order workflow statusresource is needed to use this API request. This is included inOMS - Full accessandIntegrationProfile - Fulfillment Oms, among other default roles available in the Admin. Learn more about the . -
payment.sendPaymentNotification2Send a payment notification of a given order, by order ID and payment ID.
The
Notify paymentresource is needed to use this API request. This is included inOMS - Full accessandIntegrationProfile - Fulfillment Oms, among other default roles available in the Admin. Learn more about the .Learn more about .
Request body properties
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools