Create a catalog item
Save a product or service to reuse on invoices. See Catalog items.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
Unique caller-generated key for one create request. Once an authenticated, schema-valid request reaches the operation, the key is permanently consumed for that operation and legal entity whether the operation succeeds or fails. Reusing it in that scope returns 409 and never replays a response, unlike API v1, which replays the original response for a matching key.
1 - 255The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
^le_[a-zA-Z0-9]+$Body
Response
The created catalog item.
A product or service you invoice often. Invoices copy its name and price into a line item, so editing an item doesn't change invoices that already use it.
Catalog item id with the cat_item_ prefix.
"cat_item_2rj4l7hmrrrcv"
"Robot arm maintenance"
Price per unit.
archived marks an item you no longer sell. Archived items can still be invoiced and are listed unless you filter by status.
active, archived