Skip to content

Commit

Permalink
Update subscription/one-time-sale prefix examples (#1824)
Browse files Browse the repository at this point in the history
* Update subscription/one-time-sale prefix examples

* Retrigger pipes
  • Loading branch information
nanobash authored Apr 9, 2024
1 parent 6b760c0 commit 1a25381
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const data = {
subscriptionId: 'ord_01GYJPRKHBD6ZYHH897QCJMBS4',
subscriptionId: 'sub_01HRF27SATGE4Z6PBJE6PD8328',
churnTime: '2020-06-10T13:55:51Z',
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const data = {
subscriptionId: 'ord_01GYJPRKHBD6ZYHH897QCJMBS4',
subscriptionId: 'sub_01HRF27SATGE4Z6PBJE6PD8328',
churnTime: '2020-06-10T13:55:51Z',
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const data = {
subscriptionId: 'ord_01GYJPRKHBD6ZYHH897QCJMBS4',
subscriptionId: 'sub_01HRF27SATGE4Z6PBJE6PD8328',
description: 'reactivation-reason',
effectiveTime: '2020-06-10T13:55:51Z',
renewalTime: '2020-07-10T13:55:51Z'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ content:
subscriptionId:
type: string
description: ID of the order.
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
invoiceId:
type: string
description: ID of the invoice.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ content:
subscriptionId:
type: string
description: ID of the order.
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
subscriptionPauseId:
type: string
description: ID of the subscription pause.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ content:
subscriptionId:
type: string
description: ID of the order.
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
eventType:
type: string
description: Type of webhook event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ content:
subscriptionId:
type: string
description: ID of the order.
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
subscriptionItemId:
type: string
description: ID of the order item.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/Invoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ properties:
This field is `null` if there are no related subscription orders.
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
quoteId:
type:
- "string"
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/InvoiceItem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ properties:
description: ID of the order.
maxLength: 50
readOnly: true
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
discountAmount:
description: Discount amount applied to the invoice item.
type: number
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/OneTimeSale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ properties:
description: ID of the order.
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: pur_01HRF26JK5Y6TEZ9MR014HW27Z
orderId:
type: string
description: ID of the order (experimental).
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/StorefrontInvoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ properties:
This field is `null` if there are no related subscription orders.
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
currency:
x-sortable: true
x-basic: true
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/StorefrontOneTimeSale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ properties:
description: ID of the order.
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: pur_01HRF26JK5Y6TEZ9MR014HW27Z
orderType:
description: |-
Specifies the type of order.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/StorefrontSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ properties:
description: ID of the order.
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
orderType:
description: |-
Specifies the type of order.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ properties:
description: ID of the order.
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
orderId:
type: string
description: ID of the order (experimental).
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/SubscriptionPause.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ properties:
type: string
description: ID of the paused subscription.
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
status:
description: Status of the subscription pause.
type: string
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/UpcomingInvoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ properties:
type: string
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
currency:
x-sortable: true
x-basic: true
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/UpcomingInvoiceItem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ properties:
type: string
description: ID of the order.
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
periodStartTime:
description: Date and time when the billing period starts.
type: string
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/Usage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ properties:
type: string
description: ID of the subscription for which a usage is reported.
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: sub_01HRF27SATGE4Z6PBJE6PD8328
planId:
type: string
description: ID of the plan for which a usage is reported.
Expand Down

0 comments on commit 1a25381

Please sign in to comment.