Skip to content

Commit

Permalink
OpenAPI Update (#626)
Browse files Browse the repository at this point in the history
Update OpenAPI for 5d7e3cf7f79f897de4b288a5283f99cc9c15cc2f

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jan 22, 2024
1 parent a21e999 commit 69f6478
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -99942,6 +99942,11 @@
"index": {
"description": "The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.",
"type": "integer"
},
"promotion_code": {
"description": "The promotion code to redeem.",
"maxLength": 5000,
"type": "string"
}
},
"title": "add_discount_specs",
Expand All @@ -99959,6 +99964,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand All @@ -99976,6 +99986,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -103184,6 +103199,11 @@
"index": {
"description": "The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.",
"type": "integer"
},
"promotion_code": {
"description": "The promotion code to redeem.",
"maxLength": 5000,
"type": "string"
}
},
"title": "add_discount_specs",
Expand All @@ -103201,6 +103221,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand All @@ -103218,6 +103243,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -147788,6 +147818,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand Down Expand Up @@ -147829,6 +147864,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -149934,6 +149974,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand Down Expand Up @@ -149975,6 +150020,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down Expand Up @@ -166122,6 +166172,11 @@
"index": {
"description": "The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.",
"type": "integer"
},
"promotion_code": {
"description": "The promotion code to redeem.",
"maxLength": 5000,
"type": "string"
}
},
"title": "add_discount_specs",
Expand All @@ -166139,6 +166194,11 @@
"description": "The ID of a discount to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "The ID of a promotion code to remove from the `discounts` array.",
"maxLength": 5000,
"type": "string"
}
},
"title": "remove_discount_specs",
Expand All @@ -166156,6 +166216,11 @@
"description": "An ID of an existing discount to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
},
"promotion_code": {
"description": "An ID of an existing promotion code to replace the `discounts` array with.",
"maxLength": 5000,
"type": "string"
}
},
"title": "set_discount_specs",
Expand Down

0 comments on commit 69f6478

Please sign in to comment.