v1
latestOpenAPI 3.0.02026-07-141525155.4 KBPlace fulfillment order
Creates fulfillment order, meaning that it is an order for the seller's side in a sale made through a marketplace. This order assumes the transaction itself has already happened on the marketplace's side and, therfore, cares only about the fulfillment side.
If you plan to integrate external orders with possible Price divergence be mindful of the isCreatedAsync request body field.
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
Name of the VTEX account. Used as part of the URL.
Environment to be used. It is passed as part of the URL.
Query parameters
Sales channel.
ID identifying the marketplace where the order originates. This ID is configured in the seller's VTEX account, and should be informed to the marketplace.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
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": [
{
"id": "123456789",
"quantity": 1,
"seller": "1"
}
],
"marketingData": {
"utmCampaign": "Black friday",
"utmMedium": "CPC",
"utmSource": "Facebook",
"utmiCampaign": "utmi_campaign-exmaple",
"utmiPage": "utmi_page-example",
"utmiPart": "utmi_part-exmaple"
},
"marketplaceOrderId": "123456789",
"marketplacePaymentValue": 100,
"marketplaceServicesEndpoint": "https://exampleseller.marketplaceservices.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": "12345000",
"receiverName": "receiver-name",
"reference": "Grey building",
"state": "Rio de Janeiro",
"street": "Praia de Botafogo"
},
"logisticsInfo": [
{
"deliveryWindow": {
"endDateUtc": "2021-07-13T23:59:59+00:00",
"startDateUtc": "2021-07-13T00:00:00+00:00"
},
"lockTTL": "8d",
"price": 1099,
"selectedSla": "Express",
"shippingEstimate": "7d"
}
],
"updateStatus": "updated"
}
}Response
OK