chore(docs): Generated API Reference (v2) (#8100)

Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-07-12 09:25:00 +02:00
committed by GitHub
co-authored by kodiakhq
parent 04819107dd
commit 3730b79472
9 changed files with 36 additions and 240 deletions
@@ -4,8 +4,8 @@ curl -X POST '{backend_url}/admin/orders/{id}/fulfillments/{fulfillment_id}/ship
--data-raw '{
"items": [
{
"id": "id_5sTwO6Lz9h9W7f1U",
"quantity": 395722780311552
"id": "id_rnSpxwfxEfbXVCA7",
"quantity": 3643591194836992
}
],
"metadata": {}
@@ -20,7 +20,6 @@ properties:
- id
- quantity
- reason_id
- note
properties:
id:
type: string
@@ -3,69 +3,20 @@ description: SUMMARY
x-schemaName: AdminPostReturnsReqSchema
required:
- order_id
- items
- internal_note
- location_id
- metadata
properties:
order_id:
type: string
title: order_id
description: The return's order id.
items:
type: array
description: The return's items.
items:
type: object
description: The item's items.
required:
- id
- quantity
- reason_id
- note
properties:
id:
type: string
title: id
description: The item's ID.
quantity:
type: number
title: quantity
description: The item's quantity.
reason_id:
type: string
title: reason_id
description: The item's reason id.
note:
type: string
title: note
description: The item's note.
return_shipping:
type: object
description: The return's return shipping.
required:
- option_id
properties:
option_id:
type: string
title: option_id
description: The return shipping's option id.
price:
type: number
title: price
description: The return shipping's price.
description:
type: string
title: description
description: The return's description.
internal_note:
type: string
title: internal_note
description: The return's internal note.
receive_now:
type: boolean
title: receive_now
description: The return's receive now.
refund_amount:
type: number
title: refund_amount
description: The return's refund amount.
location_id:
type: string
title: location_id
description: The return's location id.
metadata:
type: object
description: The return's metadata.
@@ -2,7 +2,6 @@ type: object
description: SUMMARY
x-schemaName: AdminUpdateCustomerGroup
required:
- name
- metadata
properties:
name:
@@ -7612,8 +7612,8 @@ paths:
--data-raw '{
"items": [
{
"id": "id_5sTwO6Lz9h9W7f1U",
"quantity": 395722780311552
"id": "id_rnSpxwfxEfbXVCA7",
"quantity": 3643591194836992
}
],
"metadata": {}
@@ -39931,7 +39931,6 @@ components:
- id
- quantity
- reason_id
- note
properties:
id:
type: string
@@ -39959,72 +39958,23 @@ components:
x-schemaName: AdminPostReturnsReqSchema
required:
- order_id
- items
- internal_note
- location_id
- metadata
properties:
order_id:
type: string
title: order_id
description: The return's order id.
items:
type: array
description: The return's items.
items:
type: object
description: The item's items.
required:
- id
- quantity
- reason_id
- note
properties:
id:
type: string
title: id
description: The item's ID.
quantity:
type: number
title: quantity
description: The item's quantity.
reason_id:
type: string
title: reason_id
description: The item's reason id.
note:
type: string
title: note
description: The item's note.
return_shipping:
type: object
description: The return's return shipping.
required:
- option_id
properties:
option_id:
type: string
title: option_id
description: The return shipping's option id.
price:
type: number
title: price
description: The return shipping's price.
description:
type: string
title: description
description: The return's description.
internal_note:
type: string
title: internal_note
description: The return's internal note.
receive_now:
type: boolean
title: receive_now
description: The return's receive now.
refund_amount:
type: number
title: refund_amount
description: The return's refund amount.
location_id:
type: string
title: location_id
description: The return's location id.
metadata:
type: object
description: The return's metadata.
AdminPrice:
type: object
description: The price's prices.
@@ -41275,7 +41225,6 @@ components:
description: SUMMARY
x-schemaName: AdminUpdateCustomerGroup
required:
- name
- metadata
properties:
name: