Pessoal, não consigo criar um pedido em um seller não vtex. Já seguir a documentação "integração de marketplace vtex com sellers não vtex" e simplesmente dá pau no pedido, a vtex enviar 4 tentativas de criar pedido, todas resultam em pedido incompleto e com "creation error" no motivo de cancelamento.
Vejam o json que estou retornando, estou fazendo algo errado?
[
{
"marketplaceOrderId":"aaa89as-02",
"orderId":"aaaf19ea5b39d3ba6c72b90fa4",
"followUpEmail":"aaaa5@ct.vtex.com.br",
"items":[
{
"id":"FONTE01",
"quantity":1,
"seller":"1",
"merchantName":"",
"lockId":null,
"commission":2000,
"freightCommission":2000,
"price":13440,
"bundleItems":[
],
"attachments":[
],
"priceTags":[
{
"name":"discount@price-adc6a05b-a049-4656-a449-30db1375c27a#2676700c-5b86-4bbc-a212-310ca076ad23",
"value":-672,
"rawValue":-6.72,
"isPercentual":false,
"identifier":null
},
{
"name":"discount@price-1206fce0-52d8-40ce-a4e6-581458adf045#9730990b-e46d-4720-9d7b-6df52f5dec79",
"value":-1,
"rawValue":-0.01,
"isPercentual":false,
"identifier":null
}
],
"measurementUnit":"UN",
"unitMultiplier":1,
"isGift":false,
"parentItemIndex":null,
"parentAssemblyBinding":null,
"assemblies":[
],
"inHands":false
}
],
"clientProfileData":{
"email":"aaaaaaa95@ct.vtex.com.br",
"firstName":"aaaaaa",
"lastName":"aaaar",
"documentType":"cpf",
"document":"33333333",
"phone":"+5511950830657",
"corporateName":null,
"tradeName":null,
"corporateDocument":null,
"stateInscription":null,
"corporatePhone":null,
"isCorporate":false,
"userProfileId":null
},
"shippingData":{
"isFOB":false,
"address":{
"addressType":"residential",
"receiverName":"aa",
"addressId":"3096723077002",
"postalCode":"03060-010",
"city":"S\u00e3o Paulo",
"state":"SP",
"country":"BRA",
"street":"aaa",
"number":"333",
"neighborhood":"Ch\u00e1cara Tatuap\u00e9",
"complement":null,
"reference":null,
"geoCoordinates":[
-46.586212158203,
-23.53893661499
]
},
"selectedAddresses":[
{
"addressType":"residential",
"receiverName":"aaa",
"addressId":"3096723077002",
"postalCode":"03060-010",
"city":"S\u00e3o Paulo",
"state":"SP",
"country":"BRA",
"street":"aaa",
"number":"212",
"neighborhood":"aaa",
"complement":null,
"reference":null,
"geoCoordinates":[
-46.586212158203,
-23.53893661499
]
}
],
"logisticsInfo":[
{
"itemIndex":0,
"selectedSla":"express",
"addressId":"3096723077002",
"selectedDeliveryChannel":"delivery",
"deliveryIds":[
],
"lockTTL":"12d",
"shippingEstimate":"22bd",
"price":2580,
"deliveryWindow":null
}
],
"trackingHints":[
]
},
"paymentData":null
}
]