From 7a8a0938541ee2346a72458e2b570a4205ed8336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20In=C3=A1cio?= Date: Fri, 7 Jun 2024 13:42:36 +0100 Subject: [PATCH] document tax property on products.info endpoint --- apiary.apib | 6 ++++++ src/06-products/products.apib | 3 +++ src/changes-backwards-compatible.apib | 3 +++ 3 files changed, 12 insertions(+) diff --git a/apiary.apib b/apiary.apib index e8695833..c4a095cd 100644 --- a/apiary.apib +++ b/apiary.apib @@ -426,6 +426,9 @@ We consider the following changes to be backwards-incompatible: We list all backwards-compatible additions here. These are currently available in all published versions. (There is also a [list of backwards-incompatible upgrades](#changelog) available, but those only apply if you [upgrade your API version](#upgrading-your-api-version).) +#### June 2024 +- We added `tax` to the `products.info` endpoint. + #### May 2024 - We added `purchase_order_number` to `projects-v2/projects.info`, `projects-v2/projects.create` and `projects-v2/projects.update`. - We added `product.updated` and `product.deleted` to supported Webhook types. @@ -5396,6 +5399,9 @@ Get details for a single product. + unit (object, nullable) + type: `unitOfMeasure` (string) + id: `f79d3e04-b8dc-0637-8f18-ca7c8fc63b71` (string) + + tax (object, nullable) + + type: `taxRate` (string) + + id: `df444ced-3129-0916-8f40-07ae5832bf98` (string) + custom_fields (array[CustomField]) + price_list_prices (PriceListPricesRead) + product_category (object, nullable) diff --git a/src/06-products/products.apib b/src/06-products/products.apib index 6721282d..d5a6b38c 100644 --- a/src/06-products/products.apib +++ b/src/06-products/products.apib @@ -54,6 +54,9 @@ Get details for a single product. + unit (object, nullable) + type: `unitOfMeasure` (string) + id: `f79d3e04-b8dc-0637-8f18-ca7c8fc63b71` (string) + + tax (object, nullable) + + type: `taxRate` (string) + + id: `df444ced-3129-0916-8f40-07ae5832bf98` (string) + custom_fields (array[CustomField]) + price_list_prices (PriceListPricesRead) + product_category (object, nullable) diff --git a/src/changes-backwards-compatible.apib b/src/changes-backwards-compatible.apib index 7c008c0a..609bdf8e 100644 --- a/src/changes-backwards-compatible.apib +++ b/src/changes-backwards-compatible.apib @@ -4,6 +4,9 @@ We list all backwards-compatible additions here. These are currently available in all published versions. (There is also a [list of backwards-incompatible upgrades](#changelog) available, but those only apply if you [upgrade your API version](#upgrading-your-api-version).) +#### June 2024 +- We added `tax` to the `products.info` endpoint. + #### May 2024 - We added `purchase_order_number` to `projects-v2/projects.info`, `projects-v2/projects.create` and `projects-v2/projects.update`. - We added `product.updated` and `product.deleted` to supported Webhook types.