Inventory Update

To support changes to item pricing, ranging and availability, first request a signed URL for Google Cloud Storage (GCS), then use a PUT request to upload an inventory CSV by Location or by Location Group to that URL, allowing the following to be updated;

Defining product ranging per Location / Location_Group

Defining pricing strategy per Location / Location_Group and Channel.

Updating stock count per Location

Updating stock availability to ACTIVE / INACTIVE

Updating stock status (IN_STOCK / OUT_OF_STOCK)

Method

To process Inventory updates, a two step process is required to first request a signed URL via Google Cloud Services (GCS) to then submit a CSV file of Inventory data via PUT request.

1.Request a Signed URL

Sending a request to this endpoint with a callbackUrl will return a signedUrl from GCS with specific headers.

2.Submit .csv file via PUT Request

Once a signedUrl is retrieved, the Inventory update process is as follows;

  • Your Inventory .csv file should be submitted via a PUT request to the signedUrl with all the headers provided
  • Deliverect will then process the CSV asynchronously and callback to the provided callbackUrl when the CSV file has been fully processed.

Upload Behaviour
Each file transferred can include complete or partial updates to inventory in one or more locations.

Path Params
string
required
Body Params

1. Signed URL Request

Once the signed URL is created, it is valid for 15 minutes. This means you have up to 15 minutes to initiate an upload via PUT of the CSV to this endpoint. For more information, see Google's Signed URLs documentation.

string

An optional URL where we'll send a completion event when Inventory CSV is fully imported

Headers
string
required
Defaults to retail
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json