From 81b4b83876b6ad2e98c8902aa1649b94046589c3 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:42:56 +0000 Subject: [PATCH] Update OpenAPI specification for beta --- openapi/spec3.beta.sdk.json | 2 +- openapi/spec3.beta.sdk.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 9ddfdcb3..7d51878d 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -111504,7 +111504,7 @@ "type": "array" }, "line_items": { - "description": "A list of items the customer is purchasing.\n\nWhen updating line items, the entire array of line items must be retransmitted.\n\nTo retain an existing line item, specify its `id`.\n\nTo update an existing line item, specify its `id` along with the new values of the fields to be updated.\n\nTo add a new line item, specify a `price` and `quantity`. Recurring prices are not supported yet.\n\nTo remove an existing line item, omit the line item's ID from the retransmitted array.\n\nTo reorder a line item, specify it at the desired position in the retransmitted array.", + "description": "A list of items the customer is purchasing.\n\nWhen updating line items, you must retransmit the entire array of line items.\n\nTo retain an existing line item, specify its `id`.\n\nTo update an existing line item, specify its `id` along with the new values of the fields to update.\n\nTo add a new line item, specify a `price` and `quantity`. We don't currently support recurring prices.\n\nTo remove an existing line item, omit the line item's ID from the retransmitted array.\n\nTo reorder a line item, specify it at the desired position in the retransmitted array.", "items": { "properties": { "adjustable_quantity": { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 7153261e..6248fce5 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -102121,19 +102121,19 @@ paths: A list of items the customer is purchasing. - When updating line items, the entire array of line items - must be retransmitted. + When updating line items, you must retransmit the entire + array of line items. To retain an existing line item, specify its `id`. To update an existing line item, specify its `id` along with - the new values of the fields to be updated. + the new values of the fields to update. - To add a new line item, specify a `price` and `quantity`. - Recurring prices are not supported yet. + To add a new line item, specify a `price` and `quantity`. We + don't currently support recurring prices. To remove an existing line item, omit the line item's ID