Skip to content
Sections · Reference data

API reference

Reference data

Branches, warehouses, currencies, tax rates and pricing structures other records point at.

Endpoints

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

The branch object

  • idstring (id)

    Unique identifier of the branch.

  • namestring

    The branch's name.

  • statusenum

    Where the branch is in its life cycle.

    Possible values:activeinactive

  • default_fulfillment_warehouseobjectnullable

    The warehouse that fulfils the branch's orders by default, if any.

    Fields: id, name · details

  • updated_atstring (timestamp)

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

  • trashed_atstring (timestamp)nullable

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

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "name": "Main branch",
  "status": "active",
  "default_fulfillment_warehouse": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main warehouse"
  },
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

The warehouse object

  • idstring (id)

    Unique identifier of the warehouse.

  • namestring

    The warehouse's name.

  • branchobject

    The branch the warehouse belongs to.

    Fields: id, name · details

  • is_excluded_from_available_stockboolean

    Stock here does not count as available to sell.

  • unavailable_stock_reasonenumnullable

    Why stock here is not available; null unless the warehouse is excluded from available stock.

    Possible values:damagedawaiting_inspectionquarantineexpiredscraptemporary_holdingin_transitother

  • is_excluded_from_sales_reservationboolean

    Sales orders cannot hold stock here. Always true where is_excluded_from_available_stock is.

  • updated_atstring (timestamp)

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

  • trashed_atstring (timestamp)nullable

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

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "name": "Main warehouse",
  "branch": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main branch"
  },
  "is_excluded_from_available_stock": true,
  "unavailable_stock_reason": "damaged",
  "is_excluded_from_sales_reservation": true,
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

The currency object

  • codestring

    ISO 4217 code; the sign for a currency without one.

  • namestring

    The currency's name.

  • signstring

    The currency's sign, printed after amounts.

  • symbolstringnullable

    The currency's symbol, if it has one.

  • minor_unitinteger

    Number of decimal places the currency uses.

  • is_functionalboolean

    Whether this is the workspace's functional currency.

  • exchange_ratestring (decimal)nullable

    Accounting rate, this currency → functional currency, in force on the requested date. "1.00000000" for the functional currency; null when no rate is recorded on or before that date.

  • exchange_rate_onstring (date)nullable

    The date the accounting rate was recorded for; null for the functional currency.

  • selling_ratestring (decimal)nullable

    Rate catalog prices convert at right now (a same-day manual selling rate, else the accounting rate).

Example
{
  "code": "IQD",
  "name": "Iraqi Dinar",
  "sign": "IQD",
  "symbol": "IQD",
  "minor_unit": 2,
  "is_functional": true,
  "exchange_rate": "1.000000",
  "exchange_rate_on": "2026-10-31",
  "selling_rate": "1.000000"
}

The tax rate object

  • idstring (id)

    Unique identifier of the tax rate.

  • codestringnullable

    The tax rate's short code, if it has one.

  • namestring

    The tax rate's name.

  • rate_percentstring (decimal)

    The rate, in percent.

  • typeenum

    exclusive adds tax on top of the price; inclusive means the price already contains it.

    Possible values:exclusiveinclusive

  • is_activeboolean

    Whether the tax rate can be chosen on new documents.

  • updated_atstring (timestamp)

    When the tax rate last changed. updated_since syncs compare against this.

  • trashed_atstring (timestamp)nullable

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

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "code": "VAT15",
  "name": "VAT 15%",
  "rate_percent": "15.0000",
  "type": "exclusive",
  "is_active": true,
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

The price tier object

  • idstring (id)

    Unique identifier of the price tier.

  • namestring

    The price tier's name.

  • default_currencyobjectnullable

    Currency the tier's prices are set in by default, if any.

    Fields: code, name, sign · details

  • updated_atstring (timestamp)

    When the price tier last changed. updated_since syncs compare against this.

  • trashed_atstring (timestamp)nullable

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

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "name": "Wholesale",
  "default_currency": {
    "code": "IQD",
    "name": "Iraqi Dinar",
    "sign": "IQD"
  },
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

The price list object

  • idstring (id)

    Unique identifier of the price.

  • namestring

    The price's name.

  • currencyobjectnullable

    The list's currency; a list without one prices in the functional currency, shown here.

    Fields: code, name, sign · details

  • priorityinteger

    Order in which price lists are considered when several apply.

  • statusenum

    Where the price is in its life cycle.

    Possible values:activeinactive

  • valid_from_onstring (date)nullable

    First day the price list applies; null for no start.

  • valid_to_onstring (date)nullable

    Last day the price list applies; null for no end.

  • updated_atstring (timestamp)

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

  • trashed_atstring (timestamp)nullable

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

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "name": "Ramadan 2026",
  "currency": {
    "code": "IQD",
    "name": "Iraqi Dinar",
    "sign": "IQD"
  },
  "priority": 1,
  "status": "active",
  "valid_from_on": "2026-10-31",
  "valid_to_on": "2026-10-31",
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

The customer category object

  • idstring (id)

    Unique identifier of the customer category.

  • namestring

    The customer category's name.

  • updated_atstring (timestamp)

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

  • trashed_atstring (timestamp)nullable

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

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "name": "Retail",
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

List branches

GET/branches

Scope administration.branches.read

Branches the token's user can see. A user limited to some branches sees only those.

Returns

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

curl "https://your-workspace.reevio.app/api/public/v1/branches" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main branch",
      "status": "active",
      "default_fulfillment_warehouse": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Main warehouse"
      },
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

Retrieve a branch

GET/branches/{id}

Scope administration.branches.read

One branch by id.

Parameters

  • idstring (id)required

    The record's id.

Returns

Returns the branch object.

curl "https://your-workspace.reevio.app/api/public/v1/branches/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main branch",
    "status": "active",
    "default_fulfillment_warehouse": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main warehouse"
    },
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null
  }
}

List warehouses

GET/warehouses

Scope inventory.warehouses.read

Warehouses your workspace marks "Hide from the API" are never returned, here or anywhere else, and neither are warehouses the token's user cannot open in Reevio.

Filters

  • branch_idstring (id)

    Only this branch's records, by id.

Returns

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

curl "https://your-workspace.reevio.app/api/public/v1/warehouses" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main warehouse",
      "branch": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Main branch"
      },
      "is_excluded_from_available_stock": true,
      "unavailable_stock_reason": "damaged",
      "is_excluded_from_sales_reservation": true,
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

Retrieve a warehouse

GET/warehouses/{id}

Scope inventory.warehouses.read

One warehouse by id. A warehouse hidden from the API, or one the user cannot open, is a 404.

Parameters

  • idstring (id)required

    The record's id.

Returns

Returns the warehouse object.

curl "https://your-workspace.reevio.app/api/public/v1/warehouses/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main warehouse",
    "branch": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main branch"
    },
    "is_excluded_from_available_stock": true,
    "unavailable_stock_reason": "damaged",
    "is_excluded_from_sales_reservation": true,
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null
  }
}

List enabled currencies with exchange rates

GET/currencies

Scope accounting.exchange_rates.read

The functional currency first, then every currency the workspace transacts in, each with the accounting rate on on (default: today) and the current selling rate. Not paged.

Filters

  • onstring (date)

    Business date for the accounting rate. Defaults to today on the workspace calendar.

Returns

Returns a list of currency objects.

curl "https://your-workspace.reevio.app/api/public/v1/currencies" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "code": "IQD",
      "name": "Iraqi Dinar",
      "sign": "IQD",
      "symbol": "IQD",
      "minor_unit": 2,
      "is_functional": true,
      "exchange_rate": "1.000000",
      "exchange_rate_on": "2026-10-31",
      "selling_rate": "1.000000"
    }
  ]
}

List tax rates

GET/tax-rates

Scope accounting.tax_rates.read

Every tax rate, inactive ones included (is_active: false).

Returns

Returns a list of tax rate objects, a page at a time.

curl "https://your-workspace.reevio.app/api/public/v1/tax-rates" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "code": "VAT15",
      "name": "VAT 15%",
      "rate_percent": "15.0000",
      "type": "exclusive",
      "is_active": true,
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

List price tiers

GET/price-tiers

Scope catalog.price_tiers.read

The price tiers customers can be assigned to.

Returns

Returns a list of price tier objects, a page at a time.

curl "https://your-workspace.reevio.app/api/public/v1/price-tiers" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Wholesale",
      "default_currency": {
        "code": "IQD",
        "name": "Iraqi Dinar",
        "sign": "IQD"
      },
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

List price lists (headers only)

GET/price-lists

Scope sales.price_lists.read

Price list headers: name, currency, priority and validity dates. The prices themselves are not exposed yet.

Returns

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

curl "https://your-workspace.reevio.app/api/public/v1/price-lists" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Ramadan 2026",
      "currency": {
        "code": "IQD",
        "name": "Iraqi Dinar",
        "sign": "IQD"
      },
      "priority": 1,
      "status": "active",
      "valid_from_on": "2026-10-31",
      "valid_to_on": "2026-10-31",
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

List customer categories

GET/customer-categories

Scope sales.customer_categories.read

The categories customers can be grouped in.

Returns

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

curl "https://your-workspace.reevio.app/api/public/v1/customer-categories" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Retail",
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}