-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): Updated API Reference (v2) (#9666)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <[email protected]> Co-authored-by: Shahed Nasser <[email protected]>
- Loading branch information
1 parent
2ea766d
commit 8209d93
Showing
595 changed files
with
33,956 additions
and
13,815 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
www/apps/api-reference/specs/admin/code_samples/Shell/admin_orders_{id}_line-items/get.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
curl '{backend_url}/admin/orders/{id}/line-items' \ | ||
-H 'Authorization: Bearer {access_token}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
www/apps/api-reference/specs/admin/code_samples/Shell/admin_tax-regions_{id}/post.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
curl -X POST '{backend_url}/admin/tax-regions/{id}' \ | ||
-H 'Authorization: Bearer {access_token}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
www/apps/api-reference/specs/admin/components/schemas/AdminCreateShippingOptionType.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
type: object | ||
description: The shipping option type's details. | ||
x-schemaName: AdminCreateShippingOptionType | ||
required: | ||
- label | ||
- description | ||
- code | ||
properties: | ||
label: | ||
type: string | ||
title: label | ||
description: The type's label. | ||
description: | ||
type: string | ||
title: description | ||
description: The type's description. | ||
code: | ||
type: string | ||
title: code | ||
description: The type's code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
www/apps/api-reference/specs/admin/components/schemas/AdminOrderItem.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
type: object | ||
description: The order item's details. | ||
x-schemaName: AdminOrderItem | ||
required: | ||
- order_id | ||
- item_id | ||
- version | ||
- history | ||
- item | ||
properties: | ||
order_id: | ||
type: string | ||
title: order_id | ||
description: The ID of the order this item belongs to. | ||
item_id: | ||
type: string | ||
title: item_id | ||
description: The ID of the associated line item. | ||
version: | ||
type: number | ||
title: version | ||
description: The order item's version. | ||
history: | ||
type: object | ||
description: The order item's history. | ||
required: | ||
- version | ||
properties: | ||
version: | ||
type: object | ||
description: The version changes of the item. | ||
required: | ||
- from | ||
- to | ||
properties: | ||
from: | ||
type: number | ||
title: from | ||
description: The original version. | ||
to: | ||
type: number | ||
title: to | ||
description: The new version. | ||
item: | ||
$ref: ./AdminOrderLineItem.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.