Stock Feeds

Pipe your stock feed into a range of AutoGrab products.

Creating a stock feed

Your organisation will need at least one stock feed before uploading stock to the platform.

Create a stock feed.

post

Create a stock feed.

Authorizations
Query parameters
regionstring · enumOptional

The region to perform this request in

Possible values:
reference_idstringOptional

An optional reference id which will be stored against usage records if supplied

Responses
200
Success
application/json
post
POST /v2/stock/create HTTP/1.1
Host: api.autograb.com.au
ApiKey: YOUR_API_KEY
Accept: */*
{
  "error": true,
  "message": "text"
}

Post or update a stock item.

post

Post or update a stock item.

Authorizations
Path parameters
stock_feed_idstringRequired
external_dealership_idstringRequired
external_idstringRequired
Query parameters
regionstring · enumOptional

The region to perform this request in

Possible values:
reference_idstringOptional

An optional reference id which will be stored against usage records if supplied

Body
regionstringRequired

The stock item region

created_atstringRequired

ISO 8601 created at utc date and time string

updated_atstringRequired

ISO 8601 updated at utc date and time string

checked_atstringRequired

ISO 8601 checked at utc date and time string

stocked_atstringRequired

ISO 8601 stocked at utc date and time string

removed_atstringOptional

ISO 8601 removed at utc date and time string, only to be supplied for items that have been removed

conditionstringRequired

The stock condition

stock_nostringOptional

The stock number

regostringOptional

The registration plate

rego_expirystringOptional

ISO 8601 rego_expiry utc date and time string

vinstringOptional

The Vehicle Identification Number

yearnumberOptional

The vehicle year

kmsnumberOptional

The vehicle odometer reading

colorstringOptional

The vehicle body colour

descriptionstringOptional

The vehicle description

makestringOptional

The vehicle make

modelstringOptional

The vehicle model

seriesstringOptional

The vehicle series

badgestringOptional

The vehicle badge

tranmissionstringOptional

The vehicle tranmission

locationstringOptional

The vehicle location

suburbstringOptional

The vehicle suburb

postcodestringOptional

The vehicle postcode

latnumberOptional

The vehicle latitude

lngnumberOptional

The vehicle longtitude

price_egcnumberOptional

The vehicle price excluding government charges

price_dapnumberOptional

The vehicle drive away price

purchase_pricenumberOptional

The vehicle purchase price

video_urlstringOptional

The vehicle video url

Responses
200
Success
application/json
post
POST /v2/stock/{stock_feed_id}/{external_dealership_id}/{external_id} HTTP/1.1
Host: api.autograb.com.au
ApiKey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 496

{
  "region": "text",
  "created_at": "text",
  "updated_at": "text",
  "checked_at": "text",
  "stocked_at": "text",
  "removed_at": "text",
  "condition": "text",
  "stock_no": "text",
  "rego": "text",
  "rego_expiry": "text",
  "vin": "text",
  "year": 1,
  "kms": 1,
  "color": "text",
  "description": "text",
  "make": "text",
  "model": "text",
  "series": "text",
  "badge": "text",
  "tranmission": "text",
  "location": "text",
  "suburb": "text",
  "postcode": "text",
  "lat": 1,
  "lng": 1,
  "price_egc": 1,
  "price_dap": 1,
  "purchase_price": 1,
  "video_url": "text",
  "images": [
    {
      "url": "text"
    }
  ]
}
{
  "error": true,
  "message": "text"
}

Last updated

Was this helpful?