API Reference

Items

Create, list, update, and delete items in your Rebill catalog via the API. Items are reusable products and services that speed up invoice and quote creation.

Items are reusable products and services that can be selected when building invoices and quotes. Maintaining a catalog speeds up document creation and keeps your pricing consistent.

List items

GET /item
curl https://rebill-api-896466068278.africa-south1.run.app/item \
  -H "Authorization: Bearer sk_your_secret_key"

Response:

{
  "items": [
    {
      "id": "itm001",
      "name": "Web design",
      "description": "Custom website design",
      "price": 500000,
      "vat_type": "exclusive"
    }
  ]
}

Get an item

GET /item/:id

Returns a single item by ID.

Item object

FieldTypeDescription
idstringUnique identifier
namestringItem name
descriptionstringItem description
priceintegerDefault unit price in cents
vat_typestringinclusive · exclusive · none

Create an item

POST /item
FieldRequiredTypeDescription
nameYesstringItem name
descriptionYesstringItem description
priceYesintegerDefault unit price in cents
vat_typeYesstringinclusive · exclusive · none
curl -X POST https://rebill-api-896466068278.africa-south1.run.app/item \
  -H "Authorization: Bearer sk_your_secret_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Web design",
    "description": "Custom website design and development",
    "price": 500000,
    "vat_type": "exclusive"
  }'

Response (201 Created):

{
  "id": "itm001"
}

Update an item

PUT /item/:id

Updates an item. Accepts the same fields as create. Send all fields; omitted fields will be cleared.

Delete an item

DELETE /item/:id

Permanently deletes an item from your catalog. Existing invoices and quotes that reference this item are unaffected. Returns 200 OK on success.

Was this article helpful?