Phiên bản API Đồ thị

Product Catalog Vehicles

Đọc

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Tạo

Bạn có thể tạo yêu cầu POST đến cạnh vehicles từ các đường dẫn sau:
Khi đăng lên cạnh này, hệ thống sẽ tạo a ProductCatalog.

Thông số

Thông sốMô tả
address
JSON object

address

Bắt buộc
city
string
Giá trị mặc định: ""

city

city_id
string

city_id

country
string
Giá trị mặc định: ""

country

latitude
float

latitude

longitude
float

longitude

neighborhoods
array<string>

neighborhoods

postal_code
string
Giá trị mặc định: ""

postal_code

region
string
Giá trị mặc định: ""

region

street_address
string
Giá trị mặc định: ""

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

Bắt buộc
condition
enum {EXCELLENT, VERY_GOOD, GOOD, FAIR, POOR, OTHER, NONE}

condition

currency
ISO 4217 Currency Code

currency

Bắt buộc
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

Bắt buộc
drivetrain
enum {TWO_WD, FOUR_WD, AWD, FWD, RWD, OTHER, NONE}

drivetrain

exterior_color
string

exterior_color

Bắt buộc
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

Bắt buộc
image_url
URL

Bắt buộc
tags
list<string>

interior_color
string

interior_color

make
string

make

Bắt buộc
mileage
JSON object

mileage

Bắt buộc
unit
enum {KILOMETERS, MILES}
Giá trị mặc định: "MILES"

unit

value
int64
Giá trị mặc định: 0

value

model
string

model

Bắt buộc
price
int64

price

Bắt buộc
state_of_vehicle
enum {NEW, USED, CPO}

state_of_vehicle

Bắt buộc
title
string

title

Bắt buộc
transmission
enum {AUTOMATIC, MANUAL, OTHER, NONE}

transmission

trim
string

trim

url
URI

url

Bắt buộc
vehicle_id
string

vehicle_id

Bắt buộc
vehicle_type
enum {BOAT, CAR_TRUCK, COMMERCIAL, MOTORCYCLE, OTHER, POWERSPORT, RV_CAMPER, TRAILER}

vehicle_type

vin
string

vin

Bắt buộc
year
int64

year

Bắt buộc

Kiểu trả về

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

Mã lỗi

LỗiMô tả
200Permissions error
100Invalid parameter

Cập nhật

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Xóa

Bạn không thể thực hiện thao tác này trên điểm cuối này.