Skip to content

Commit

Permalink
(PC-31823)[DOC] fix: remainingQuantity can be null
Browse files Browse the repository at this point in the history
The pydantic validator says it can be... so the documentation should do
the same.
  • Loading branch information
jbaudet-pass authored and jeremieb-pass committed Oct 4, 2024
1 parent 787064f commit e8bc650
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit e8bc650

Please sign in to comment.