Stocks
Format for sending stock updates to locations. A single call can contain updates for multiple locations.
The location_id corresponds to the Channel Engine location ID, which can be found on the Stock locations page.
In the table, the first column ID indicates the location where the stock should be updated.
If there is only one location, you can configure it directly in the request header, avoiding specifying it in every message.
The quantity (qty) must always be provided and cannot be negative, while the SKU (sku) is required for each update.
[
{
"sku": "BGSM001C210A-1",
"qty": 34,
"location_id": 10
},
{
"sku": "BGSM001C210A-2",
"qty": 35,
"location_id": 4
}
]
Stock Flow Configuration
In addition to the basic flow configurations add the following settings inSettings Override:
| Field | Value | Notes |
|---|---|---|
Base Url | https://adapt.flowlyze.com | URL of the adapters |
Resource Path | /api/adp/channel-engine/egress/stock-to-shopify | Adapter path for stock updates |
Headers :: x-api-key | ********** | API key used to validate endpoint interaction |
Headers :: x-ce-url | https://CEURL.channelengine.net/api | URL of the Channel Engine to connect to |
Headers :: x-ce-token | ALPHANUMERICCODE | Token for the integration |
Headers :: x-ce-location-id | locationID | Allows you to avoid including the location_id in each message by setting a default ID |