chore(docs): Generated API Reference (#3262)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
67f9429293
commit
4fb22e8ba5
@@ -4,12 +4,17 @@ description: >-
|
||||
their Order
|
||||
type: object
|
||||
required:
|
||||
- gift_card_id
|
||||
- amount
|
||||
- created_at
|
||||
- gift_card_id
|
||||
- id
|
||||
- is_taxable
|
||||
- order_id
|
||||
- tax_rate
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: The gift card transaction's ID
|
||||
type: string
|
||||
example: gct_01G8X9A7ESKAJXG2H0E6F1MW7A
|
||||
gift_card_id:
|
||||
description: The ID of the Gift Card that was used in the transaction.
|
||||
@@ -17,6 +22,7 @@ properties:
|
||||
example: gift_01G8XKBPBQY2R7RBET4J7E0XQZ
|
||||
gift_card:
|
||||
description: A gift card object. Available if the relation `gift_card` is expanded.
|
||||
nullable: true
|
||||
type: object
|
||||
order_id:
|
||||
description: The ID of the Order that the Gift Card was used to pay for.
|
||||
@@ -24,6 +30,7 @@ properties:
|
||||
example: order_01G8TJSYT9M6AVS5N4EMNFS1EK
|
||||
order:
|
||||
description: An order object. Available if the relation `order` is expanded.
|
||||
nullable: true
|
||||
type: object
|
||||
amount:
|
||||
description: The amount that was used from the Gift Card.
|
||||
@@ -35,9 +42,11 @@ properties:
|
||||
format: date-time
|
||||
is_taxable:
|
||||
description: Whether the transaction is taxable or not.
|
||||
nullable: true
|
||||
type: boolean
|
||||
example: false
|
||||
tax_rate:
|
||||
description: The tax rate of the transaction
|
||||
nullable: true
|
||||
type: number
|
||||
example: 0
|
||||
|
||||
Reference in New Issue
Block a user