SDK does not support newer vehicle fields in orders API yet.
Example
Here's an example of an order with the vehicle field that can be provided by POST /v1/orders.
{
"id": "Pedido000001",
"visitor": "1234567890123456789012345678901234567890",
"total_amount": 123.45,
"shipping_amount": 10.01,
"tax_amount": 0.01,
"installments": 2,
"ip": "123.123.123.123",
"currency": "BRL",
"customer": {
"id": "2937593",
"name": "Fulano's de Tal",
"tax_id": "283938282893",
"phone1": "+551112344321",
"email": "email@deteste.com",
"dob": "1970-02-02"
},
"payment": [
{
"type": "credit",
"bin": "490172",
"last4": "1234",
"expiration_date": "92017"
}
],
"vehicle": {
"make": "Fiat",
"model": "Palio",
"renavam": "12593696135",
"registration": "ABC1234",
"owner": {
"name": "Alfredo",
"tax_id": "12345678900"
},
"type": "car"
}
}
SDK does not support newer
vehiclefields in orders API yet.Example
Here's an example of an order with the
vehiclefield that can be provided byPOST /v1/orders.{ "id": "Pedido000001", "visitor": "1234567890123456789012345678901234567890", "total_amount": 123.45, "shipping_amount": 10.01, "tax_amount": 0.01, "installments": 2, "ip": "123.123.123.123", "currency": "BRL", "customer": { "id": "2937593", "name": "Fulano's de Tal", "tax_id": "283938282893", "phone1": "+551112344321", "email": "email@deteste.com", "dob": "1970-02-02" }, "payment": [ { "type": "credit", "bin": "490172", "last4": "1234", "expiration_date": "92017" } ], "vehicle": { "make": "Fiat", "model": "Palio", "renavam": "12593696135", "registration": "ABC1234", "owner": { "name": "Alfredo", "tax_id": "12345678900" }, "type": "car" } }