Skip to content

Commit

Permalink
Add quote for change items/reactivate order (#1727)
Browse files Browse the repository at this point in the history
* Add quote for change items

* Add quote ids for storefront subscription

* Add recentQuote to expand

* Add quoteIds to transaction request, add quote action

* Add Storefront quote request

* Add storefront for quotes

* Remove canBeAcceptedByCustomer

* Rename settings.changeItems to change

* Add prepaidPaymentFormUrl

* Add quote payment path

* Remove transactions, add invoice id

* Remove quote pay

* Add prepaid to change request

* Remove storefront schemas, update order, transaction

* Remove unused path

* Add reactivateQuote expand

* Update action and invoiceId

* fix: reactivate is an object

* Add discriminator

* Add discriminator for storefront

* Remove prepaid for change items

* Remove unused description

* Apply suggestions from code review

Co-authored-by: Arif Kurkchi <[email protected]>

* Fix types for new settings

* Add transactions

* Apply suggestions from code review

Co-authored-by: Chris  <[email protected]>

* Update API quotes

* Fix storefront and invoice status

* Update descriptions, change merchant to organization

* Apply suggestions from code review

Co-authored-by: Chris  <[email protected]>

* Apply suggestions from code review

* Clean up and reorder items

* Remove yarn.lock

* Change description for accepted status

* Add badge experimental

---------

Co-authored-by: Arif Kurkchi <[email protected]>
Co-authored-by: junyong <[email protected]>
Co-authored-by: Arif Kurkchi <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Sebastian <[email protected]>
  • Loading branch information
6 people authored Feb 8, 2024
1 parent 4d00bc9 commit bb87da1
Show file tree
Hide file tree
Showing 21 changed files with 2,876 additions and 718 deletions.
11 changes: 11 additions & 0 deletions openapi/components/schemas/Invoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ properties:
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
quoteId:
type:
- "string"
- "null"
description: |-
ID of the related quote, if available.
This field is `null` if there are no related quotes.
readOnly: true
maxLength: 50
example: qt_0YV7DES3WPC5J8JD8QTVNZBZNZ
currency:
x-sortable: true
x-basic: true
Expand Down Expand Up @@ -168,6 +178,7 @@ properties:
readOnly: true
enum:
- "draft"
- "quotation"
- "unpaid"
- "paid"
- "partially-paid"
Expand Down
Loading

0 comments on commit bb87da1

Please sign in to comment.