v1
latestOpenAPI 3.0.02026-07-141525155.4 KBOrder placement
This request is sent by VTEX to the external seller once the customer finishes their checkout, to let the seller know there is a newly placed order. It does that by calling the Order Placement endpoint, which needs to be implemented by the seller.
The marketplace will send information such as the items contained in the cart, the client’s profile data, the shipping data, and the payment data. With all that, the seller will be able to create the order in their own store.
Path parameters
This is the fulfillment endpoint registered for each specific external seller in the seller management section of VTEX's admin panel.
Headers
Length of the request body.
Indicates authorization.
VTEX API app key.
VTEX API app token.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Indicates the types of response enconding the client can understand.
VTEX operation ID.
Determines the protocol used by the client in the request.
Identifies the originating IP address of the HTTP client.
VTEX cache client bypass.
Describes the type of the content being sent.
Identifies the incoming request in a tracing system.
Request body
Example request
{
"clientProfileData": {
"corporateDocument": "12345678000100",
"corporateName": "company-name",
"corporatePhone": "+551100988887777",
"document": "123456789",
"documentType": "cpf",
"email": "customer@examplemail.com",
"firstName": "first-name",
"lastName": "last-name",
"phone": "+55110988887777",
"stateInscription": "12345678",
"tradeName": "trade-name"
},
"items": [
{
"bundleItems": [
{
"id": 7436,
"name": "name",
"price": 10,
"type": "type"
}
],
"id": "123456789abc",
"itemsAttachment": [
{
"content": "content-example",
"name": "name-example"
}
],
"measurementUnit": "g",
"price": 2499,
"priceTags": [
{
"identifier": "1234abc-5678b-1234c",
"name": "discount@name-1234abc-5678b-1234c",
"rawValue": -12,
"value": -1200
}
],
"quantity": 1,
"seller": "seller-example",
"unitMultiplier": 1
}
],
"marketingData": {
"utmCampaign": "Black friday",
"utmMedium": "CPC",
"utmSource": "Facebook",
"utmiCampaign": "utmi_campaign-exmaple",
"utmiPage": "utmi_page-example",
"utmiPart": "utmi_part-exmaple"
},
"marketplaceOrderId": "1138342255777-01",
"marketplacePaymentValue": 2499,
"marketplaceServicesEndpoint": "https://marketplaceservicesendpoint.myvtex.com/",
"openTextField": "open-text-example",
"shippingData": {
"address": {
"addressId": "Home",
"addressType": "residential",
"city": "Rio de Janeiro",
"complement": "3rd floor",
"country": "BRA",
"geoCoordinates": [
"00.00000"
],
"neighborhood": "Botafogo",
"number": "300",
"postalCode": "12345-000",
"receiverName": "receiver-name",
"reference": "Grey building",
"state": "Rio de Janeiro",
"street": "Praia de Botafogo"
},
"logisticsInfo": [
{
"deliveryWindow": {
"endDateUtc": "2016-04-20T12:00:00+00:00",
"listPrice": 10,
"startDateUtc": "2016-04-20T08:00:00+00:00"
},
"lockTTL": "8d",
"price": 1099,
"selectedSla": "Express",
"shippingEstimate": "7d"
}
],
"updateStatus": "updated"
}
}Response
OK