Skip to main content
GET
/
products
List and search product/service catalog records
curl --request GET \
  --url http://localhost:8000/products
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "main_code": "<string>",
      "aux_code": "<string>",
      "name": "<string>",
      "unit_price": "<string>",
      "default_discount": "<string>",
      "tax_code": "<string>",
      "iva_rate_code": "<string>",
      "applies_tourism_iva": true,
      "applies_ice": true,
      "ice_code": "<string>",
      "additional_fields": {},
      "is_active": true,
      "deleted_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "page": 123,
  "page_size": 123,
  "total_pages": 123
}

Headers

authorization
string | null
x-api-key
string | null
x-tenant-id
string | null

Query Parameters

search
string | null

Search by principal code, aux code, or name

page
integer
default:1
Required range: x >= 1
page_size
integer
default:20
Required range: 1 <= x <= 100

Cookies

factio_access_token
string | null

Response

Successful Response

Paginated product/service catalog response.

items
ProductServiceResponse · object[]
required
total
integer
required
page
integer
required
page_size
integer
required
total_pages
integer
required