Skip to content
Sections · Catalog

API reference

Catalog

Products and product categories.

Endpoints

Paths are relative to https://your-workspace.reevio.app/api/public/v1. Every call needs a bearer token holding the scope shown.

The product object

  • idstring (id)

    Unique identifier of the product.

  • skustringnullable

    Stock-keeping unit, unique in the workspace; null when the product has none.

  • namestring

    The product's name.

  • typeenum

    Only goods track stock.

    Possible values:goodsservices

  • statusenum

    Where the product is in its life cycle.

    Possible values:activepending_reviewinactive

  • descriptionstringnullable

    Longer description of the product.

  • sales_unitenum

    Goods are always each.

    Possible values:eachfixedhourdaymonthyear

  • barcodeslist of strings

    The first is the primary barcode.

  • categorieslist of objects

    Product categories the product is in.

    Fields: id, name · details

  • brandobjectnullable

    The product's brand, if any.

    Fields: id, name · details

  • pricestring (decimal)

    Selling price, in price_currency.

  • discounted_pricestring (decimal)nullable

    A standing sale price below price; null when the product is not discounted.

  • price_currencyobject

    Currency of price.

    Fields: code, name, sign · details

  • coststring (decimal)nullable

    Present only when the token holds catalog.products.view_cost. Functional currency.

  • default_tax_rateobjectnullable

    Tax rate the product gets on new lines, if any.

    Fields: id, code, rate_percent, type · details

  • dimensionsobject

    Size and weight. Sending width, length or height replaces the volume.

    Show child fields
    • widthstring (decimal)nullable

      Width.

    • lengthstring (decimal)nullable

      Length.

    • heightstring (decimal)nullable

      Height.

    • weightstring (decimal)nullable

      Weight.

    • volume_cbmstring (decimal)nullable

      Volume in cubic metres.

  • is_shown_in_storeboolean

    Whether the product is listed in the online store.

  • imageslist of objects

    The product's images, in order. Prefer these URLs to building the image path.

    Show child fields
    • indexinteger

      Position of the image, from 0.

    • url_smallstring (uri)nullable

      Small image URL; null when there is no small version.

    • url_largestring (uri)

      Large image URL.

  • created_atstring (timestamp)

    When the product was created.

  • updated_atstring (timestamp)

    When the product last changed. updated_since syncs compare against this.

  • trashed_atstring (timestamp)nullable

    When the product was moved to Trash; null when it is not in Trash. Only updated_since syncs return trashed records.

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "sku": "TEA-500",
  "name": "Black tea 500 g",
  "type": "goods",
  "status": "active",
  "description": "Loose-leaf black tea, 500 g pack.",
  "sales_unit": "each",
  "barcodes": [
    "6260000000017"
  ],
  "categories": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Beverages"
    }
  ],
  "brand": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Golden Leaf"
  },
  "price": "10000.00",
  "discounted_price": "10000.00",
  "price_currency": {
    "code": "IQD",
    "name": "Iraqi Dinar",
    "sign": "IQD"
  },
  "cost": "10000.00",
  "default_tax_rate": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "code": "VAT15",
    "rate_percent": "15.0000",
    "type": "exclusive"
  },
  "dimensions": {
    "width": "10000.00",
    "length": "10000.00",
    "height": "10000.00",
    "weight": "10000.00",
    "volume_cbm": "10000.00"
  },
  "is_shown_in_store": true,
  "images": [
    {
      "index": 1,
      "url_small": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0",
      "url_large": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0"
    }
  ],
  "created_at": "2026-10-31T09:15:00.000000Z",
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

The product category object

  • idstring (id)

    Unique identifier of the product category.

  • namestring

    The product category's name.

  • parentobjectnullable

    The parent category; null at the top level.

    Fields: id, name · details

  • sort_orderinteger

    Display order among sibling categories.

  • is_defaultboolean

    The workspace's default category. It cannot be moved to Trash.

  • descriptionstringnullable

    Description of the product category.

  • slugstringnullable

    The category's address segment in the online store.

  • created_atstring (timestamp)

    When the product category was created.

  • updated_atstring (timestamp)

    When the product category last changed. updated_since syncs compare against this.

  • trashed_atstring (timestamp)nullable

    When the product category was moved to Trash; null when it is not in Trash. Only updated_since syncs return trashed records.

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "name": "Beverages",
  "parent": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Beverages"
  },
  "sort_order": 1,
  "is_default": true,
  "description": "Example description.",
  "slug": "beverages",
  "created_at": "2026-10-31T09:15:00.000000Z",
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

List products

GET/products

Scope catalog.products.read

cost is present only when the token also holds catalog.products.view_cost.

Filters

  • searchstring

    Exact SKU or any barcode, or the start of the name.

  • statusenum

    Only records with this status.

    Possible values:activepending_reviewinactive

  • category_idstring (id)

    Only products in this category, by id.

Returns

Returns a list of product objects, a page at a time.

curl "https://your-workspace.reevio.app/api/public/v1/products" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "sku": "TEA-500",
      "name": "Black tea 500 g",
      "type": "goods",
      "status": "active",
      "description": "Loose-leaf black tea, 500 g pack.",
      "sales_unit": "each",
      "barcodes": [
        "6260000000017"
      ],
      "categories": [
        {
          "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
          "name": "Beverages"
        }
      ],
      "brand": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Golden Leaf"
      },
      "price": "10000.00",
      "discounted_price": "10000.00",
      "price_currency": {
        "code": "IQD",
        "name": "Iraqi Dinar",
        "sign": "IQD"
      },
      "cost": "10000.00",
      "default_tax_rate": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "code": "VAT15",
        "rate_percent": "15.0000",
        "type": "exclusive"
      },
      "dimensions": {
        "width": "10000.00",
        "length": "10000.00",
        "height": "10000.00",
        "weight": "10000.00",
        "volume_cbm": "10000.00"
      },
      "is_shown_in_store": true,
      "images": [
        {
          "index": 1,
          "url_small": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0",
          "url_large": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0"
        }
      ],
      "created_at": "2026-10-31T09:15:00.000000Z",
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

Create a product

POST/products

Scope catalog.products.create

Creates a product. The SKU is generated when the workspace numbers SKUs automatically, and required when it numbers them by hand.

  • Send an Idempotency-Key header to retry safely. See writing.

Request body

  • namestringrequired

    Product name. Required on create.

  • typeenum

    Goods track stock; services do not. Defaults to goods.

    Possible values:goodsservices

  • statusenum

    Where the product is in its life cycle.

    Possible values:activepending_reviewinactive

  • descriptionstringnullable

    Description of the product.

  • sales_unitenum

    How the product is sold. Goods are always each.

    Possible values:eachfixedhourdaymonthyear

  • barcodeslist of strings

    Up to 20 barcodes; the first is the primary. Sent, the list replaces the whole list.

  • category_idslist of strings (id)

    Product categories, by id. Sent, the list replaces the whole list.

  • brand_idstring (id)nullable

    Brand, by id.

  • pricestring (decimal)

    Selling price, in price_currency.

  • discounted_pricestring (decimal)nullable

    A standing sale price below price; null when the product is not discounted.

  • price_currency_codestring

    Defaults to the workspace's catalog price currency.

  • coststring (decimal)nullable

    Needs catalog.products.update_cost. Accepted for services, or goods under standard costing.

  • default_tax_rate_idstring (id)nullable

    Default tax rate, by id (see GET /tax-rates).

  • dimensionsobject

    Size and weight. Sending width, length or height replaces the volume.

    Show child fields
    • widthstring (decimal)nullable

      Width.

    • lengthstring (decimal)nullable

      Length.

    • heightstring (decimal)nullable

      Height.

    • weightstring (decimal)nullable

      Weight.

  • is_shown_in_storeboolean

    Whether the product is listed in the online store.

  • skustring

    Required when the workspace's SKU mode is manual; generated when auto.

Returns

Returns the product object.

curl -X POST "https://your-workspace.reevio.app/api/public/v1/products" \
  -H "Authorization: Bearer $REEVIO_TOKEN" \
  -H "Idempotency-Key: 4f9c2a7e-order-8842" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Black tea 500 g",
  "sku": "TEA-500",
  "barcodes": [
    "6260000000017"
  ],
  "price": "4500.00"
}'
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "sku": "TEA-500",
    "name": "Black tea 500 g",
    "type": "goods",
    "status": "active",
    "description": "Loose-leaf black tea, 500 g pack.",
    "sales_unit": "each",
    "barcodes": [
      "6260000000017"
    ],
    "categories": [
      {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Beverages"
      }
    ],
    "brand": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Golden Leaf"
    },
    "price": "10000.00",
    "discounted_price": "10000.00",
    "price_currency": {
      "code": "IQD",
      "name": "Iraqi Dinar",
      "sign": "IQD"
    },
    "cost": "10000.00",
    "default_tax_rate": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "code": "VAT15",
      "rate_percent": "15.0000",
      "type": "exclusive"
    },
    "dimensions": {
      "width": "10000.00",
      "length": "10000.00",
      "height": "10000.00",
      "weight": "10000.00",
      "volume_cbm": "10000.00"
    },
    "is_shown_in_store": true,
    "images": [
      {
        "index": 1,
        "url_small": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0",
        "url_large": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0"
      }
    ],
    "created_at": "2026-10-31T09:15:00.000000Z",
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null
  }
}

Retrieve a product

GET/products/{id}

Scope catalog.products.read

One product by id, with its barcodes, categories, prices and image links.

Parameters

  • idstring (id)required

    The record's id.

Returns

Returns the product object.

curl "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "sku": "TEA-500",
    "name": "Black tea 500 g",
    "type": "goods",
    "status": "active",
    "description": "Loose-leaf black tea, 500 g pack.",
    "sales_unit": "each",
    "barcodes": [
      "6260000000017"
    ],
    "categories": [
      {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Beverages"
      }
    ],
    "brand": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Golden Leaf"
    },
    "price": "10000.00",
    "discounted_price": "10000.00",
    "price_currency": {
      "code": "IQD",
      "name": "Iraqi Dinar",
      "sign": "IQD"
    },
    "cost": "10000.00",
    "default_tax_rate": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "code": "VAT15",
      "rate_percent": "15.0000",
      "type": "exclusive"
    },
    "dimensions": {
      "width": "10000.00",
      "length": "10000.00",
      "height": "10000.00",
      "weight": "10000.00",
      "volume_cbm": "10000.00"
    },
    "is_shown_in_store": true,
    "images": [
      {
        "index": 1,
        "url_small": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0",
        "url_large": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0"
      }
    ],
    "created_at": "2026-10-31T09:15:00.000000Z",
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null
  }
}

Update a product

PATCH/products/{id}

Scope catalog.products.update

Only the fields you send change; send null to clear one. barcodes and category_ids, when sent, replace the whole list. Writing cost needs the catalog.products.update_cost scope.

Parameters

  • idstring (id)required

    The record's id.

Request body

  • namestring

    Product name. Required on create.

  • typeenum

    Goods track stock; services do not. Defaults to goods.

    Possible values:goodsservices

  • statusenum

    Where the product is in its life cycle.

    Possible values:activepending_reviewinactive

  • descriptionstringnullable

    Description of the product.

  • sales_unitenum

    How the product is sold. Goods are always each.

    Possible values:eachfixedhourdaymonthyear

  • barcodeslist of strings

    Up to 20 barcodes; the first is the primary. Sent, the list replaces the whole list.

  • category_idslist of strings (id)

    Product categories, by id. Sent, the list replaces the whole list.

  • brand_idstring (id)nullable

    Brand, by id.

  • pricestring (decimal)

    Selling price, in price_currency.

  • discounted_pricestring (decimal)nullable

    A standing sale price below price; null when the product is not discounted.

  • price_currency_codestring

    Defaults to the workspace's catalog price currency.

  • coststring (decimal)nullable

    Needs catalog.products.update_cost. Accepted for services, or goods under standard costing.

  • default_tax_rate_idstring (id)nullable

    Default tax rate, by id (see GET /tax-rates).

  • dimensionsobject

    Size and weight. Sending width, length or height replaces the volume.

    Show child fields
    • widthstring (decimal)nullable

      Width.

    • lengthstring (decimal)nullable

      Length.

    • heightstring (decimal)nullable

      Height.

    • weightstring (decimal)nullable

      Weight.

  • is_shown_in_storeboolean

    Whether the product is listed in the online store.

  • skustring

    Changeable only in manual SKU mode.

Returns

Returns the product object.

curl -X PATCH "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "price": "4750.00"
}'
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "sku": "TEA-500",
    "name": "Black tea 500 g",
    "type": "goods",
    "status": "active",
    "description": "Loose-leaf black tea, 500 g pack.",
    "sales_unit": "each",
    "barcodes": [
      "6260000000017"
    ],
    "categories": [
      {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Beverages"
      }
    ],
    "brand": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Golden Leaf"
    },
    "price": "10000.00",
    "discounted_price": "10000.00",
    "price_currency": {
      "code": "IQD",
      "name": "Iraqi Dinar",
      "sign": "IQD"
    },
    "cost": "10000.00",
    "default_tax_rate": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "code": "VAT15",
      "rate_percent": "15.0000",
      "type": "exclusive"
    },
    "dimensions": {
      "width": "10000.00",
      "length": "10000.00",
      "height": "10000.00",
      "weight": "10000.00",
      "volume_cbm": "10000.00"
    },
    "is_shown_in_store": true,
    "images": [
      {
        "index": 1,
        "url_small": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0",
        "url_large": "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0"
      }
    ],
    "created_at": "2026-10-31T09:15:00.000000Z",
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null
  }
}

Download a product image

GET/products/{id}/images/{index}

Scope catalog.products.read

Prefer the url_small / url_large embedded in the product over building this path.

Filters

  • idstring (id)required

    The record's id.

  • indexintegerrequired

    Zero-based position in the product's images list. Not an id.

  • variantenum

    Image size: small or large.

    Possible values:smalllarge

Returns

Returns the image file. The image bytes.

curl "https://your-workspace.reevio.app/api/public/v1/products/01K2ZQ7M4X8N6P3R9T5V7W1Y2A/images/0" \
  -H "Authorization: Bearer $REEVIO_TOKEN" \
  -o product-image

List product categories

GET/product-categories

Scope catalog.categories.read

Product categories as a tree: each names its parent. Filter with parent_id, or root for the top level.

Filters

  • parent_idstring

    Only direct children of this category. Use parent_id=root for top-level categories.

Returns

Returns a list of product category objects, a page at a time.

curl "https://your-workspace.reevio.app/api/public/v1/product-categories" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Beverages",
      "parent": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Beverages"
      },
      "sort_order": 1,
      "is_default": true,
      "description": "Example description.",
      "slug": "beverages",
      "created_at": "2026-10-31T09:15:00.000000Z",
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

Retrieve a product category

GET/product-categories/{id}

Scope catalog.categories.read

One category by id.

Parameters

  • idstring (id)required

    The record's id.

Returns

Returns the product category object.

curl "https://your-workspace.reevio.app/api/public/v1/product-categories/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Beverages",
    "parent": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Beverages"
    },
    "sort_order": 1,
    "is_default": true,
    "description": "Example description.",
    "slug": "beverages",
    "created_at": "2026-10-31T09:15:00.000000Z",
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null
  }
}