Versão Graph API

Product Catalog Vehicles

Leitura

Não é possível executar esta operação neste ponto de extremidade.

Criando

You can make a POST request to vehicles edge from the following paths:
When posting to this edge, a ProductCatalog will be created.

Parâmetros

ParâmetroDescrição
address
JSON object

address

Obrigatório
city
string
Valor padrão: ""

city

city_id
string

city_id

country
string
Valor padrão: ""

country

latitude
float

latitude

longitude
float

longitude

neighborhoods
array<string>

neighborhoods

postal_code
string
Valor padrão: ""

postal_code

region
string
Valor padrão: ""

region

street_address
string
Valor padrão: ""

street_address

applinks
Object

applinks

web

android

ios

ipad

iphone

windows_phone

availability
enum {AVAILABLE, NOT_AVAILABLE, PENDING}

availability

body_style
enum {CONVERTIBLE, COUPE, CROSSOVER, ESTATE, GRANDTOURER, HATCHBACK, MINIBUS, MINIVAN, MPV, PICKUP, ROADSTER, SALOON, SEDAN, SMALL_CAR, SPORTSCAR, SUPERCAR, SUPERMINI, SUV, TRUCK, VAN, WAGON, OTHER, NONE}

body_style

Obrigatório
condition
enum {EXCELLENT, VERY_GOOD, GOOD, FAIR, POOR, OTHER, NONE}

condition

currency
ISO 4217 Currency Code

currency

Obrigatório
date_first_on_lot
string

date_first_on_lot

dealer_id
string

dealer_id

dealer_name
string

dealer_name

dealer_phone
string

dealer_phone

description
string

description

Obrigatório
drivetrain
enum {TWO_WD, FOUR_WD, AWD, FWD, RWD, OTHER, NONE}

drivetrain

exterior_color
string

exterior_color

Obrigatório
fb_page_id
string

fb_page_id

fuel_type
enum {DIESEL, ELECTRIC, GASOLINE, FLEX, HYBRID, OTHER, PETROL, PLUGIN_HYBRID, NONE}

fuel_type

images
list<Object>

images

Obrigatório
image_url
URL

Obrigatório
tags
list<string>

interior_color
string

interior_color

make
string

make

Obrigatório
mileage
JSON object

mileage

Obrigatório
unit
enum {KILOMETERS, MILES}
Valor padrão: "MILES"

unit

value
int64
Valor padrão: 0

value

model
string

model

Obrigatório
price
int64

price

Obrigatório
state_of_vehicle
enum {NEW, USED, CPO}

state_of_vehicle

Obrigatório
title
string

title

Obrigatório
transmission
enum {AUTOMATIC, MANUAL, OTHER, NONE}

transmission

trim
string

trim

url
URI

url

Obrigatório
vehicle_id
string

vehicle_id

Obrigatório
vehicle_type
enum {BOAT, CAR_TRUCK, COMMERCIAL, MOTORCYCLE, OTHER, POWERSPORT, RV_CAMPER, TRAILER}

vehicle_type

vin
string

vin

Obrigatório
year
int64

year

Obrigatório

Return Type

This endpoint supports read-after-write and will read the node represented by id in the return type.
Struct {
id: numeric string,
}

Error Codes

ErroDescrição
200Permissions error
100Invalid parameter

Atualizando

Não é possível executar esta operação neste ponto de extremidade.

Excluindo

Não é possível executar esta operação neste ponto de extremidade.