chore(docs): Updated API Reference (v2) (#9437)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
co-authored by
Shahed Nasser
parent
97c193be1b
commit
21badd069d
@@ -1,5 +1,5 @@
|
||||
type: object
|
||||
description: The item's items.
|
||||
description: The tax line's item.
|
||||
x-schemaName: BaseCartLineItem
|
||||
required:
|
||||
- id
|
||||
@@ -40,17 +40,9 @@ properties:
|
||||
title: thumbnail
|
||||
description: The item's thumbnail.
|
||||
quantity:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: quantity
|
||||
description: The item's quantity.
|
||||
- type: number
|
||||
title: quantity
|
||||
description: The item's quantity.
|
||||
- type: string
|
||||
title: quantity
|
||||
description: The item's quantity.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: quantity
|
||||
description: The item's quantity.
|
||||
product:
|
||||
$ref: ./BaseProduct.yaml
|
||||
product_id:
|
||||
@@ -115,34 +107,18 @@ properties:
|
||||
title: is_tax_inclusive
|
||||
description: The item's is tax inclusive.
|
||||
compare_at_unit_price:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: compare_at_unit_price
|
||||
description: The item's compare at unit price.
|
||||
- type: number
|
||||
title: compare_at_unit_price
|
||||
description: The item's compare at unit price.
|
||||
- type: string
|
||||
title: compare_at_unit_price
|
||||
description: The item's compare at unit price.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: compare_at_unit_price
|
||||
description: The item's compare at unit price.
|
||||
unit_price:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: unit_price
|
||||
description: The item's unit price.
|
||||
- type: number
|
||||
title: unit_price
|
||||
description: The item's unit price.
|
||||
- type: string
|
||||
title: unit_price
|
||||
description: The item's unit price.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: unit_price
|
||||
description: The item's unit price.
|
||||
tax_lines:
|
||||
type: array
|
||||
description: The item's tax lines.
|
||||
items:
|
||||
$ref: ./BaseLineItemTaxLine.yaml
|
||||
type: object
|
||||
adjustments:
|
||||
type: array
|
||||
description: The item's adjustments.
|
||||
@@ -173,134 +149,46 @@ properties:
|
||||
title: deleted_at
|
||||
description: The item's deleted at.
|
||||
original_total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: original_total
|
||||
description: The item's original total.
|
||||
- type: number
|
||||
title: original_total
|
||||
description: The item's original total.
|
||||
- type: string
|
||||
title: original_total
|
||||
description: The item's original total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: original_total
|
||||
description: The item's original total.
|
||||
original_subtotal:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: original_subtotal
|
||||
description: The item's original subtotal.
|
||||
- type: number
|
||||
title: original_subtotal
|
||||
description: The item's original subtotal.
|
||||
- type: string
|
||||
title: original_subtotal
|
||||
description: The item's original subtotal.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: original_subtotal
|
||||
description: The item's original subtotal.
|
||||
original_tax_total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: original_tax_total
|
||||
description: The item's original tax total.
|
||||
- type: number
|
||||
title: original_tax_total
|
||||
description: The item's original tax total.
|
||||
- type: string
|
||||
title: original_tax_total
|
||||
description: The item's original tax total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: original_tax_total
|
||||
description: The item's original tax total.
|
||||
item_total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: item_total
|
||||
description: The item's item total.
|
||||
- type: number
|
||||
title: item_total
|
||||
description: The item's item total.
|
||||
- type: string
|
||||
title: item_total
|
||||
description: The item's item total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: item_total
|
||||
description: The item's item total.
|
||||
item_subtotal:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: item_subtotal
|
||||
description: The item's item subtotal.
|
||||
- type: number
|
||||
title: item_subtotal
|
||||
description: The item's item subtotal.
|
||||
- type: string
|
||||
title: item_subtotal
|
||||
description: The item's item subtotal.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: item_subtotal
|
||||
description: The item's item subtotal.
|
||||
item_tax_total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: item_tax_total
|
||||
description: The item's item tax total.
|
||||
- type: number
|
||||
title: item_tax_total
|
||||
description: The item's item tax total.
|
||||
- type: string
|
||||
title: item_tax_total
|
||||
description: The item's item tax total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: item_tax_total
|
||||
description: The item's item tax total.
|
||||
total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: total
|
||||
description: The item's total.
|
||||
- type: number
|
||||
title: total
|
||||
description: The item's total.
|
||||
- type: string
|
||||
title: total
|
||||
description: The item's total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: total
|
||||
description: The item's total.
|
||||
subtotal:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: subtotal
|
||||
description: The item's subtotal.
|
||||
- type: number
|
||||
title: subtotal
|
||||
description: The item's subtotal.
|
||||
- type: string
|
||||
title: subtotal
|
||||
description: The item's subtotal.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: subtotal
|
||||
description: The item's subtotal.
|
||||
tax_total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: tax_total
|
||||
description: The item's tax total.
|
||||
- type: number
|
||||
title: tax_total
|
||||
description: The item's tax total.
|
||||
- type: string
|
||||
title: tax_total
|
||||
description: The item's tax total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: tax_total
|
||||
description: The item's tax total.
|
||||
discount_total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: discount_total
|
||||
description: The item's discount total.
|
||||
- type: number
|
||||
title: discount_total
|
||||
description: The item's discount total.
|
||||
- type: string
|
||||
title: discount_total
|
||||
description: The item's discount total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: discount_total
|
||||
description: The item's discount total.
|
||||
discount_tax_total:
|
||||
oneOf:
|
||||
- type: string
|
||||
title: discount_tax_total
|
||||
description: The item's discount tax total.
|
||||
- type: number
|
||||
title: discount_tax_total
|
||||
description: The item's discount tax total.
|
||||
- type: string
|
||||
title: discount_tax_total
|
||||
description: The item's discount tax total.
|
||||
- $ref: ./IBigNumber.yaml
|
||||
type: number
|
||||
title: discount_tax_total
|
||||
description: The item's discount tax total.
|
||||
|
||||
Reference in New Issue
Block a user