Products are the goods or services you sell. You can add them to invoices and estimates.
Returns information about a product based on the identifier
Finds the product by the identifier field of the product.
path Parameters
administration_idstring | integer · pattern:^\d+$· requiredThe unique identifier of the administration
A unique record identifier of an administration
identifierstring · requiredformatstring · pattern:^(.(json|xml))?$· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
A product
idstring | integer · pattern:^\d+$A unique record identifier
administration_idstring | integer · pattern:^\d+$A unique record identifier of an administration
descriptionstring | nulltitlestring | nullidentifierstring | nullpricestringcurrencystringfrequencyinteger | nullfrequency_typestring | null · enumEnum values:dayweekmonthquarteryeartax_rate_idstring | integer | null · pattern:^\d+$A unique record identifier
ledger_account_idstring | integer · pattern:^\d+$A unique record identifier
created_atstring · date-timeupdated_atstring · date-time
Create online sales link
This call generates an online sales link, and allows pre-setting the contact for a checkout page. The link is valid for one hour
path Parameters
administration_idstring | integer · pattern:^\d+$· requiredThe unique identifier of the administration
A unique record identifier of an administration
idstring | integer · pattern:^\d+$· requiredA unique record identifier
formatstring · pattern:^(.(json|xml))?$· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
query Parameters
contact_idstring | integer · pattern:^\d+$A unique record identifier
Responses
A sales link
Returns information about a product
Returns information about a product.
path Parameters
administration_idstring | integer · pattern:^\d+$· requiredThe unique identifier of the administration
A unique record identifier of an administration
idstring | integer · pattern:^\d+$· requiredA unique record identifier
formatstring · pattern:^(.(json|xml))?$· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
A product
idstring | integer · pattern:^\d+$A unique record identifier
administration_idstring | integer · pattern:^\d+$A unique record identifier of an administration
descriptionstring | nulltitlestring | nullidentifierstring | nullpricestringcurrencystringfrequencyinteger | nullfrequency_typestring | null · enumEnum values:dayweekmonthquarteryeartax_rate_idstring | integer | null · pattern:^\d+$A unique record identifier
ledger_account_idstring | integer · pattern:^\d+$A unique record identifier
created_atstring · date-timeupdated_atstring · date-time
Deletes a product
Deletes a product if it has no dependencies. If the product has associated details, subscription products, orders, or subscription templates, deletion is blocked and the product will be deactivated instead. If the product has active subscriptions or subscription templates, deactivation is blocked and an error is returned.
path Parameters
administration_idstring | integer · pattern:^\d+$· requiredThe unique identifier of the administration
A unique record identifier of an administration
idstring | integer · pattern:^\d+$· requiredA unique record identifier
formatstring · pattern:^(.(json|xml))?$· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Product deleted
Updates a product
Updates a product.
path Parameters
administration_idstring | integer · pattern:^\d+$· requiredThe unique identifier of the administration
A unique record identifier of an administration
idstring | integer · pattern:^\d+$· requiredA unique record identifier
formatstring · pattern:^(.(json|xml))?$· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Product updated
idstring | integer · pattern:^\d+$A unique record identifier
administration_idstring | integer · pattern:^\d+$A unique record identifier of an administration
descriptionstring | nulltitlestring | nullidentifierstring | nullpricestringcurrencystringfrequencyinteger | nullfrequency_typestring | null · enumEnum values:dayweekmonthquarteryeartax_rate_idstring | integer | null · pattern:^\d+$A unique record identifier
ledger_account_idstring | integer · pattern:^\d+$A unique record identifier
created_atstring · date-timeupdated_atstring · date-time
List all products of an administration
Returns a paginated list of products in the administration. Each page contains 10 products. You can use the page parameter to fetch the next page of products.
path Parameters
administration_idstring | integer · pattern:^\d+$· requiredThe unique identifier of the administration
A unique record identifier of an administration
formatstring · pattern:^(.(json|xml))?$· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
query Parameters
querystringAllows filtering by product name.
pageinteger | stringThe page to fetch, starting at 1.
per_pageinteger | string · min: 1 · max: 100 · pattern:^\d+$currencystringISO three-character currency code, e.g. EUR or USD.
Responses
A list of products
idstring | integer · pattern:^\d+$A unique record identifier
administration_idstring | integer · pattern:^\d+$A unique record identifier of an administration
descriptionstring | nulltitlestring | nullidentifierstring | nullpricestringcurrencystringfrequencyinteger | nullfrequency_typestring | null · enumEnum values:dayweekmonthquarteryeartax_rate_idstring | integer | null · pattern:^\d+$A unique record identifier
ledger_account_idstring | integer · pattern:^\d+$A unique record identifier
created_atstring · date-timeupdated_atstring · date-time
Creates a new product
Creates a new product.
path Parameters
administration_idstring | integer · pattern:^\d+$· requiredThe unique identifier of the administration
A unique record identifier of an administration
formatstring · pattern:^(.(json|xml))?$· requiredThe format in which the response is given, can be empty to use the default format
Default: .json
Responses
Product created
idstring | integer · pattern:^\d+$A unique record identifier
administration_idstring | integer · pattern:^\d+$A unique record identifier of an administration
descriptionstring | nulltitlestring | nullidentifierstring | nullpricestringcurrencystringfrequencyinteger | nullfrequency_typestring | null · enumEnum values:dayweekmonthquarteryeartax_rate_idstring | integer | null · pattern:^\d+$A unique record identifier
ledger_account_idstring | integer · pattern:^\d+$A unique record identifier
created_atstring · date-timeupdated_atstring · date-time