Product Groups
Product-group ledger-account mappings. Every product belongs to a group, and the group decides which revenue account a sale posts to per VAT zone (domestic / EU / abroad / domestic-without-VAT).
List product groups
Retrieves a paginated list of your company's product groups. Each list item includes the number of products in the group.
Pass ?search= to prefix-match on group name or number.
Required Scope
products-read
query Parameters
pagePage number (1-indexed)
limitMaximum number of items per page
searchPrefix search on name or number
sortByField to sort by
sortOrderSort direction
List product groups › Responses
Paginated list of product groups for the company
Page of product groups
totalTotal number of matching product groups
pageCurrent page number
limitItems per page
totalPagesTotal number of pages
Create a product group
Creates a product group. A group maps its products to the ledger accounts used for domestic, EU (Rubric B), abroad (Rubric C), and domestic-without-VAT sales.
Required Scope
products-write
Create a product group › Request Body
numberUnique product-group number within the company
nameName of the product group
domesticAccountIdLedger account ID for domestic sales. Must reference an existing account that carries a VAT code valid for sales.
euAccountIdLedger account ID for EU sales (Rubric B). Must carry a sales-valid VAT code.
abroadAccountIdLedger account ID for sales abroad (Rubric C). Must carry a sales-valid VAT code.
domesticWithoutVatAccountIdLedger account ID for domestic sales without VAT.
descriptionOptional description
Create a product group › Responses
Product group created successfully
idThe unique identifier of the product group
numberUnique product-group number within the company
nameName of the product group
domesticAccountIdLedger account ID for domestic sales
createdAtWhen the product group was created
updatedAtWhen the product group was last updated
descriptionOptional description
domesticAccountNumberDomestic account number
domesticAccountNameDomestic account name
euAccountIdLedger account ID for EU sales (Rubric B)
euAccountNumberEU account number
euAccountNameEU account name
abroadAccountIdLedger account ID for sales abroad (Rubric C)
abroadAccountNumberAbroad account number
abroadAccountNameAbroad account name
domesticWithoutVatAccountIdLedger account ID for domestic sales without VAT
domesticWithoutVatAccountNumberDomestic-without-VAT account number
domesticWithoutVatAccountNameDomestic-without-VAT account name
productCountNumber of products in this group (list responses only)
Get a product group
Returns a single product group, including its sales-account mappings (domestic, EU, abroad, and domestic-without-VAT).
Required Scope
products-read
path Parameters
productGroupIdProduct group ID
Get a product group › Responses
Product group details
idThe unique identifier of the product group
numberUnique product-group number within the company
nameName of the product group
domesticAccountIdLedger account ID for domestic sales
createdAtWhen the product group was created
updatedAtWhen the product group was last updated
descriptionOptional description
domesticAccountNumberDomestic account number
domesticAccountNameDomestic account name
euAccountIdLedger account ID for EU sales (Rubric B)
euAccountNumberEU account number
euAccountNameEU account name
abroadAccountIdLedger account ID for sales abroad (Rubric C)
abroadAccountNumberAbroad account number
abroadAccountNameAbroad account name
domesticWithoutVatAccountIdLedger account ID for domestic sales without VAT
domesticWithoutVatAccountNumberDomestic-without-VAT account number
domesticWithoutVatAccountNameDomestic-without-VAT account name
productCountNumber of products in this group (list responses only)
Update a product group
Updates a product group. Only the fields provided in the request are changed.
Required Scope
products-write
path Parameters
productGroupIdProduct group ID
Update a product group › Request Body
numberUnique product-group number within the company
nameName of the product group
descriptionOptional description
domesticAccountIdLedger account ID for domestic sales
euAccountIdLedger account ID for EU sales (Rubric B)
abroadAccountIdLedger account ID for sales abroad (Rubric C)
domesticWithoutVatAccountIdLedger account ID for domestic sales without VAT
Update a product group › Responses
Product group updated successfully
idThe unique identifier of the product group
numberUnique product-group number within the company
nameName of the product group
domesticAccountIdLedger account ID for domestic sales
createdAtWhen the product group was created
updatedAtWhen the product group was last updated
descriptionOptional description
domesticAccountNumberDomestic account number
domesticAccountNameDomestic account name
euAccountIdLedger account ID for EU sales (Rubric B)
euAccountNumberEU account number
euAccountNameEU account name
abroadAccountIdLedger account ID for sales abroad (Rubric C)
abroadAccountNumberAbroad account number
abroadAccountNameAbroad account name
domesticWithoutVatAccountIdLedger account ID for domestic sales without VAT
domesticWithoutVatAccountNumberDomestic-without-VAT account number
domesticWithoutVatAccountNameDomestic-without-VAT account name
productCountNumber of products in this group (list responses only)