Operations 8
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“How do I add a new product to my Stax catalog?”
“Can I mark a new catalog item as a service or a discount when I create it?”
Tell an agent
Add catalog item {item} priced at {price}.
Create catalog item {item} with code {code}, category {category} and {in_stock} in stock.
Ask an LLM
“What products and services are in my merchant catalog?”
“Can I filter my catalog to only active, taxable items?”
Tell an agent
List every item in my catalog.
Find catalog items named {name}.
Ask an LLM
“Can I reduce the stock count of an item after selling some offline?”
“Is there a way to subtract units from a catalog item's inventory?”
Tell an agent
Decrease stock of item {id} by {quantity}.
Take {quantity} units out of inventory for item {id}.
Ask an LLM
“Can I remove a product I no longer sell from my catalog?”
“What is involved in deleting an item from the catalog?”
Tell an agent destructive · confirm first
Delete catalog item {id}.
Remove item {id} from my product catalog.
Ask an LLM
“What price and stock level does a specific catalog item have?”
“Can I fetch one catalog item by its ID?”
Tell an agent
Get catalog item {id}.
Show the price and stock for item {id}.
Ask an LLM
“Can I change the price of an existing product in my catalog?”
“Is it possible to set a low-stock alert on an item I already have?”
Tell an agent
Update item {id} ({item}) to price {price}.
Set a low stock alert of {low_stock_alert} on existing item {id} named {item}.
Ask an LLM
“Can I add units to an item's inventory when a new shipment arrives?”
“Is there a way to restock a catalog item by a set quantity?”
Tell an agent
Increase stock of item {id} by {quantity}.
Restock item {id} with {quantity} more units.
Ask an LLM
“Which merchant-side item codes am I using across my catalog?”
“Can I get just the list of item codes without the full items?”
Tell an agent
List all the item codes in my catalog.
Show me the SKU-style codes I use to track items.
Documentation
Documentation
https://docs.staxpayments.com/
APIReference
https://docs.staxpayments.com/reference/overview
Specifications
Other Resources
Examples
https://artifacts.apis.io/stax/examples/stax-api-examples.yml
DataModel
https://artifacts.apis.io/stax/data-model/stax-data-model.yml
ErrorCatalog
https://artifacts.apis.io/stax/errors/stax-problem-types.yml
Webhooks
https://artifacts.apis.io/stax/asyncapi/stax-webhooks.yml
AgenticAccess
https://artifacts.apis.io/stax/agentic-access/stax-agentic-access.yml