v1
latestOpenAPI 3.0.02026-07-141525155.4 KBUpdate Order Status
API request used to update an order status in VTEX.
This process is asynchronous and a notification with the order's integration results will be sent to the endpoint specified in the connectiorEndpoint field or the connectiorEndpoint App Template, if the connector uses our App template. The field connectorName is also optional for connectors that use our App Template and authenticate using the app's auth cookie.
For a detailed explanation of the steps required to develop a custom connector to become an external marketplace for VTEX sellers, check out our complete External Marketplace Integration Guide.
Path parameters
Parameter should indicate the name of the VTEX account where the order is being integrated or updated, meaning the seller responsible for the order.
Query parameters
Parameter should indicate the name of the VTEX account where the order is being integrated or updated, meaning the seller responsible for the order.
Headers
Describes the type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Request body
Example request
{
"connectorEndpoint": "https://connector-endpoint.com/api/vtex",
"connectorName": "Skyhub",
"marketplaceOrderId": "{{$guid}}",
"marketplaceOrderStatus": "APPROVED"
}Response
OK
Example response
{
"accountName": null,
"code": "SOI003",
"errors": null,
"fields": null,
"flow": "ApproveOrder",
"marketplaceOrderId": "7e62fcd3-827b-400d-be8a-f050a79c4976",
"message": "Order successfully enqueued",
"operationId": null,
"success": true
}