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.

To create a stock feed, make a single POST request to the following Autograb API:

POST /v2/stock?region=nz

Sample response:

{
    "success": true,
    "stockFeed": {
        "id": "ff7ff637-e4c1-40f2-9f9d-8f76d6c201fb",
        "display_name": "ff7ff637-e4c1-40f2-9f9d-8f76d6c201fb",
        "stock_feed_api_keys": [
            "YOUR_API_KEY"
        ]
    }
}

The stock feed ID is required to post stock items to Autograb. Please note the stock feed is linked to your API key, so you will need to use the same API key when posting stock items to the stock feed.

Stock item schema

Stock items must be posted in a format that complies with the Stock item schema:

Posting stock items

To post a stock item, make a single POST request to the following Autograb API:

POST /v2/stock/{stock_feed_id}/{external_dealership_id}/{external_id}?region=nz

The post payload should be the stock item payload, as detailed above. Note that you need to provide your stock_feed_id, as well as external_dealership_id (that is, your own dealership identifier external to Autograb) and the stock item external_id (that is, your own stock item identifier, external to Autograb).

Note that the system allows a single stock feed to contain stock items across multiple dealerships

When you post stock to Autograb, the system will overwrite any previous stock with the latest details contained in the post payload.

Sample response:

Last updated