chore(docs): Updated API Reference (automated) (#10017)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2024-11-11 12:30:22 +00:00
1 parent bc2d556c2c
commit 82fd93da17
28 files changed
+60 -167

No files matched your search

@@ -215,4 +215,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -215,4 +215,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -210,4 +210,4 @@ properties:
display_id: display_id:
type: number type: number
title: display_id title: display_id
description: The order's display id. description: The order's display ID.
@@ -23,19 +23,8 @@ properties:
title: no_notification title: no_notification
description: Whether to send the customer notifications when the exchange is updated. description: Whether to send the customer notifications when the exchange is updated.
difference_due: difference_due:
oneOf: type: number
- type: string title: difference_due
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
- type: string
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
description: >- description: >-
The amount to be exchanged or refunded. If the amount is negative, it must The amount to be exchanged or refunded. If the amount is negative, it must
be refunded. If positive, additional payment is required from the be refunded. If positive, additional payment is required from the
@@ -197,4 +197,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -22,19 +22,8 @@ properties:
- received - received
- partially_received - partially_received
refund_amount: refund_amount:
oneOf: type: number
- type: string title: refund_amount
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
- type: string
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
description: The amount refunded by this return. description: The amount refunded by this return.
order_id: order_id:
type: string type: string
@@ -4013,4 +4013,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -20,4 +20,4 @@ properties:
description: The customer's phone. description: The customer's phone.
metadata: metadata:
type: object type: object
description: The customer's metadata. description: The customer's metadata, can hold custom key-value pairs.
@@ -11441,8 +11441,8 @@ paths:
in: query in: query
description: |- description: |-
Comma-separated fields that should be included in the returned data. Comma-separated fields that should be included in the returned data.
* if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.
* without prefix it will replace the entire default fields. without prefix it will replace the entire default fields.
required: false required: false
schema: schema:
type: string type: string
@@ -48352,7 +48352,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
AdminOrderPreview: AdminOrderPreview:
type: object type: object
description: A preview of an order if a change, such as exchange, return, edit, or claim is applied on it. description: A preview of an order if a change, such as exchange, return, edit, or claim is applied on it.
@@ -55950,7 +55950,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
BaseOrderLineItemAdjustment: BaseOrderLineItemAdjustment:
type: object type: object
description: The adjustment's details. description: The adjustment's details.
@@ -58344,7 +58344,7 @@ components:
display_id: display_id:
type: number type: number
title: display_id title: display_id
description: The order's display id. description: The order's display ID.
OrderAddress: OrderAddress:
type: object type: object
description: The address's details. description: The address's details.
@@ -58807,19 +58807,8 @@ components:
title: no_notification title: no_notification
description: Whether to send the customer notifications when the exchange is updated. description: Whether to send the customer notifications when the exchange is updated.
difference_due: difference_due:
oneOf: type: number
- type: string title: difference_due
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
- type: string
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
description: The amount to be exchanged or refunded. If the amount is negative, it must be refunded. If positive, additional payment is required from the customer. description: The amount to be exchanged or refunded. If the amount is negative, it must be refunded. If positive, additional payment is required from the customer.
return: return:
$ref: '#/components/schemas/Return' $ref: '#/components/schemas/Return'
@@ -59171,7 +59160,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
OrderLineItemAdjustment: OrderLineItemAdjustment:
type: object type: object
description: The line item adjustment's details. description: The line item adjustment's details.
@@ -59702,19 +59691,8 @@ components:
- received - received
- partially_received - partially_received
refund_amount: refund_amount:
oneOf: type: number
- type: string title: refund_amount
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
- type: string
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
description: The amount refunded by this return. description: The amount refunded by this return.
order_id: order_id:
type: string type: string
@@ -65691,7 +65669,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
StoreOrderResponse: StoreOrderResponse:
type: object type: object
description: The order's details. description: The order's details.
@@ -68561,7 +68539,7 @@ components:
description: The customer's phone. description: The customer's phone.
metadata: metadata:
type: object type: object
description: The customer's metadata. description: The customer's metadata, can hold custom key-value pairs.
UpdateAddress: UpdateAddress:
type: object type: object
description: The details to update in the address. description: The details to update in the address.
@@ -12,10 +12,13 @@ post:
type: string type: string
- name: fields - name: fields
in: query in: query
description: |- description: >-
Comma-separated fields that should be included in the returned data. Comma-separated fields that should be included in the returned data.
* if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.
* without prefix it will replace the entire default fields. if a field is prefixed with `+` it will be added to the default fields,
using `-` will remove it from the default fields.
without prefix it will replace the entire default fields.
required: false required: false
schema: schema:
type: string type: string
@@ -215,4 +215,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -215,4 +215,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -210,4 +210,4 @@ properties:
display_id: display_id:
type: number type: number
title: display_id title: display_id
description: The order's display id. description: The order's display ID.
@@ -23,19 +23,8 @@ properties:
title: no_notification title: no_notification
description: Whether to send the customer notifications when the exchange is updated. description: Whether to send the customer notifications when the exchange is updated.
difference_due: difference_due:
oneOf: type: number
- type: string title: difference_due
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
- type: string
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
description: >- description: >-
The amount to be exchanged or refunded. If the amount is negative, it must The amount to be exchanged or refunded. If the amount is negative, it must
be refunded. If positive, additional payment is required from the be refunded. If positive, additional payment is required from the
@@ -197,4 +197,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -22,19 +22,8 @@ properties:
- received - received
- partially_received - partially_received
refund_amount: refund_amount:
oneOf: type: number
- type: string title: refund_amount
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
- type: string
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
description: The amount refunded by this return. description: The amount refunded by this return.
order_id: order_id:
type: string type: string
@@ -4013,4 +4013,4 @@ properties:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
@@ -20,4 +20,4 @@ properties:
description: The customer's phone. description: The customer's phone.
metadata: metadata:
type: object type: object
description: The customer's metadata. description: The customer's metadata, can hold custom key-value pairs.
@@ -10382,7 +10382,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
AdminOrderPreview: AdminOrderPreview:
type: object type: object
description: A preview of an order if a change, such as exchange, return, edit, or claim is applied on it. description: A preview of an order if a change, such as exchange, return, edit, or claim is applied on it.
@@ -17980,7 +17980,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
BaseOrderLineItemAdjustment: BaseOrderLineItemAdjustment:
type: object type: object
description: The adjustment's details. description: The adjustment's details.
@@ -20374,7 +20374,7 @@ components:
display_id: display_id:
type: number type: number
title: display_id title: display_id
description: The order's display id. description: The order's display ID.
OrderAddress: OrderAddress:
type: object type: object
description: The address's details. description: The address's details.
@@ -20837,19 +20837,8 @@ components:
title: no_notification title: no_notification
description: Whether to send the customer notifications when the exchange is updated. description: Whether to send the customer notifications when the exchange is updated.
difference_due: difference_due:
oneOf: type: number
- type: string title: difference_due
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
- type: string
title: difference_due
description: The exchange's difference due.
- type: number
title: difference_due
description: The exchange's difference due.
description: The amount to be exchanged or refunded. If the amount is negative, it must be refunded. If positive, additional payment is required from the customer. description: The amount to be exchanged or refunded. If the amount is negative, it must be refunded. If positive, additional payment is required from the customer.
return: return:
$ref: '#/components/schemas/Return' $ref: '#/components/schemas/Return'
@@ -21201,7 +21190,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
OrderLineItemAdjustment: OrderLineItemAdjustment:
type: object type: object
description: The line item adjustment's details. description: The line item adjustment's details.
@@ -21732,19 +21721,8 @@ components:
- received - received
- partially_received - partially_received
refund_amount: refund_amount:
oneOf: type: number
- type: string title: refund_amount
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
- type: string
title: refund_amount
description: The return order's refund amount.
- type: number
title: refund_amount
description: The return order's refund amount.
description: The amount refunded by this return. description: The amount refunded by this return.
order_id: order_id:
type: string type: string
@@ -27721,7 +27699,7 @@ components:
product_type_id: product_type_id:
type: string type: string
title: product_type_id title: product_type_id
description: The item's product type id. description: The ID of the associated product's type.
StoreOrderResponse: StoreOrderResponse:
type: object type: object
description: The order's details. description: The order's details.
@@ -30591,7 +30569,7 @@ components:
description: The customer's phone. description: The customer's phone.
metadata: metadata:
type: object type: object
description: The customer's metadata. description: The customer's metadata, can hold custom key-value pairs.
UpdateAddress: UpdateAddress:
type: object type: object
description: The details to update in the address. description: The details to update in the address.
@@ -15,8 +15,8 @@
* in: query * in: query
* description: |- * description: |-
* Comma-separated fields that should be included in the returned data. * Comma-separated fields that should be included in the returned data.
* * if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. * if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.
* * without prefix it will replace the entire default fields. * without prefix it will replace the entire default fields.
* required: false * required: false
* schema: * schema:
* type: string * type: string
@@ -217,7 +217,7 @@
* product_type_id: * product_type_id:
* type: string * type: string
* title: product_type_id * title: product_type_id
* description: The item's product type id. * description: The ID of the associated product's type.
* *
*/ */
@@ -217,7 +217,7 @@
* product_type_id: * product_type_id:
* type: string * type: string
* title: product_type_id * title: product_type_id
* description: The item's product type id. * description: The ID of the associated product's type.
* *
*/ */
@@ -212,7 +212,7 @@
* display_id: * display_id:
* type: number * type: number
* title: display_id * title: display_id
* description: The order's display id. * description: The order's display ID.
* *
*/ */
@@ -25,19 +25,8 @@
* title: no_notification * title: no_notification
* description: Whether to send the customer notifications when the exchange is updated. * description: Whether to send the customer notifications when the exchange is updated.
* difference_due: * difference_due:
* oneOf: * type: number
* - type: string * title: difference_due
* title: difference_due
* description: The exchange's difference due.
* - type: number
* title: difference_due
* description: The exchange's difference due.
* - type: string
* title: difference_due
* description: The exchange's difference due.
* - type: number
* title: difference_due
* description: The exchange's difference due.
* description: The amount to be exchanged or refunded. If the amount is negative, it must be refunded. If positive, additional payment is required from the customer. * description: The amount to be exchanged or refunded. If the amount is negative, it must be refunded. If positive, additional payment is required from the customer.
* return: * return:
* $ref: "#/components/schemas/Return" * $ref: "#/components/schemas/Return"
@@ -197,7 +197,7 @@
* product_type_id: * product_type_id:
* type: string * type: string
* title: product_type_id * title: product_type_id
* description: The item's product type id. * description: The ID of the associated product's type.
* *
*/ */
@@ -24,19 +24,8 @@
* - received * - received
* - partially_received * - partially_received
* refund_amount: * refund_amount:
* oneOf: * type: number
* - type: string * title: refund_amount
* title: refund_amount
* description: The return order's refund amount.
* - type: number
* title: refund_amount
* description: The return order's refund amount.
* - type: string
* title: refund_amount
* description: The return order's refund amount.
* - type: number
* title: refund_amount
* description: The return order's refund amount.
* description: The amount refunded by this return. * description: The amount refunded by this return.
* order_id: * order_id:
* type: string * type: string
@@ -4015,7 +4015,7 @@
* product_type_id: * product_type_id:
* type: string * type: string
* title: product_type_id * title: product_type_id
* description: The item's product type id. * description: The ID of the associated product's type.
* *
*/ */
@@ -22,7 +22,7 @@
* description: The customer's phone. * description: The customer's phone.
* metadata: * metadata:
* type: object * type: object
* description: The customer's metadata. * description: The customer's metadata, can hold custom key-value pairs.
* *
*/ */