Skip to content

Product types

GET
/v2/product-type
curl --request GET \
--url https://api-admin.billz.ai/v2/product-type \
--header 'Authorization: Bearer <token>' \
--header 'accept-language: ru' \
--header 'platform-id: 7d4a4c38-dd84-4902-b744-0488b80a4c01'

Error codes: 401, 403, 429, 500 — shared by all methods. Body formats and semantics: Response codes and errors.

accept-language
string
default: ru

ru, uz or en; any other value falls back to ru. Affects name and description

platform-id
string
default: 7d4a4c38-dd84-4902-b744-0488b80a4c01

Platform identifier. A static value is used for integrations.

Successful response

Media typeapplication/json
object
product_types

Product types

Array<object>
object
id

69e939aa-9b8f-46a9-b605-8b2675475b7b — product; 5a0e556a-15f8-47ac-ae07-46972f3c6ab4 — service; 864c77c7-5407-45dc-8289-3162b71dc653 — bundle

string
name

Localized name

string
description

Localized description

string
Examplegenerated
{
"product_types": [
{
"id": "example",
"name": "example",
"description": "example"
}
]
}