Skip to main content
POST
Unarchive a catalog item

Authorizations

X-API-Key
string
header
required

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

The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.

Pattern: ^le_[a-zA-Z0-9]+$

Path Parameters

catalogItemId
string
required

Catalog item id with the cat_item_ prefix.

Response

The active 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.

id
string
required

Catalog item id with the cat_item_ prefix.

Example:

"cat_item_2rj4l7hmrrrcv"

name
string
required
Example:

"Robot arm maintenance"

unitAmount
Money · object
required

Price per unit.

status
enum<string>
required

archived marks an item you no longer sell. Archived items can still be invoiced and are listed unless you filter by status.

Available options:
active,
archived
createdAt
string<date-time>
required
description
string