Sync Sierra inventory via API request

API toolRecipe ToolsDeveloper ToolMarketingData ParserUtilities

What it does

When someone makes an API request, this automation retrieves inventory items from Traze and filters for Sierra products. The response includes only Sierra items so callers get the exact subset they need.

Who it's for

Operations teams who need to query Sierra inventory programmatically without direct database access.

How teams use this

Query Sierra stock from external systems

Call this API endpoint from an external application to retrieve current Sierra inventory without building a direct database connection. The response is structured data so any system can consume it.

Integrate inventory into a dashboard

Use this API to feed Sierra inventory data into a monitoring dashboard or reporting tool. The structured response makes it simple to display stock levels in real time.

Add location or warehouse filtering

Extend the Python filter to check for a location parameter in the request and only return Sierra items from that warehouse. This requires adding a location input field to the API request definition.

How it works

  1. Receive the API request. Define the request and response parameters for this API endpoint so callers can retrieve Sierra inventory in real time.
  2. Get inventory items from Traze. Execute Python code to fetch all inventory items from Traze so the full dataset is available for filtering.
  3. Filter for Sierra products. Execute Python code to filter the inventory and keep only Sierra items so the response contains only relevant data.
  4. Parse and return inventory. Use Json Parser to format the filtered inventory as a structured document and return it to the caller so they receive Sierra product data.