Update a catalog item

Changed on

Update a catalog item. Only the fields you send change, and null clears description. Invoices that already use the item keep their line items.

patch/v2/invoices/catalog-items/{catalogItemId}

Request

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

Request body

namestring
descriptionstring nullable

Response

The updated 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