Unarchive a catalog item

Changed on

Mark an archived catalog item as active again. Unarchiving an active item returns it unchanged.

post/v2/invoices/catalog-items/{catalogItemId}/unarchive

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/invoices/catalog-items/{catalogItemId}/unarchive
  • Auth
    API key in header X-API-Key

Response

The active catalog item.

idstring required

Catalog item id with the cat_item_ prefix.

namestring required
descriptionstring
status'active' | 'archived' required

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

createdAtstring date-time required

Example response

{
  "id": "cat_item_2rj4l7hmrrrcv",
  "name": "Robot arm maintenance"
}

Changes