From e8bc6508c587fcd1b9447b98f24c6ed366263073 Mon Sep 17 00:00:00 2001 From: Jeremie Baudet Date: Tue, 1 Oct 2024 16:48:47 +0200 Subject: [PATCH] (PC-31823)[DOC] fix: remainingQuantity can be null The pydantic validator says it can be... so the documentation should do the same. --- .../managing-bookings/connection-with-ticketing-system.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/documentation/docs/understanding-our-api/managing-bookings/connection-with-ticketing-system.md b/api/documentation/docs/understanding-our-api/managing-bookings/connection-with-ticketing-system.md index b463853c0eb..7b5d427a502 100644 --- a/api/documentation/docs/understanding-our-api/managing-bookings/connection-with-ticketing-system.md +++ b/api/documentation/docs/understanding-our-api/managing-bookings/connection-with-ticketing-system.md @@ -117,7 +117,7 @@ In case of success, here is the JSON we expect in return : | Key | Type | Nullable | Explanation | | :---------------- | :------ | :----: | :-------- | -| **remainingQuantity** | Integer | **`false`** | Number of tickets still available after this booking (for us to update our stock) | +| **remainingQuantity** | Integer | **`true`** | Number of tickets still available after this booking (for us to update our stock). To indicate an unlimited quantity, set `remainingQuantity` to `null` (not to `"unlimited"`). Please note that this field is **mandatory**. | | **tickets** | Array | **`false`** | Booked tickets (should contain one or two items) | | **tickets[].barcode** | String | **`false`** | Ticket barcode **(⚠️ mandatory)** | | **tickets[].seat** | String | **`true`** | Ticket seat |