Axonaut icon

Axonaut

Interact with Axonaut API - Complete coverage of all endpoints

Actions133

Product → Get Stock

AI-generated

Summary

Retrieve the current stock level of a specified product in Axonaut.

Inputs

  • Product (required) — Select the product to retrieve stock information for, either by selecting from a searchable list of products or by entering the product ID directly.

Output shape

a single JSON object representing the stock information of the specified product

The operation returns data corresponding to the product's stock as provided by the Axonaut API under the endpoint /products/{productId}/stock.

Examples

Example 1: Get the stock of a product by selecting it from the list

Set Resource to 'Product', Operation to 'Get Stock', and choose a product using the 'From List' mode.

Example 2: Get the stock of a product by product ID

Set Resource to 'Product', Operation to 'Get Stock', and enter the product ID in the 'By ID' mode.

Discussion