forked from medusajs/medusa
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (automated) (medusajs#10437)
* chore(docs): Generated API Reference (automated) * fixes --------- Co-authored-by: olivermrbl <[email protected]> Co-authored-by: Shahed Nasser <[email protected]>
- Loading branch information
Showing
21 changed files
with
886 additions
and
339 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}/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/orders/{id}' \ | ||
-H 'Authorization: Bearer {access_token}' |
105 changes: 105 additions & 0 deletions
105
www/apps/api-reference/specs/admin/components/schemas/AdminUpdateOrder.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,105 @@ | ||
type: object | ||
description: The details to update in the order. | ||
x-schemaName: AdminUpdateOrder | ||
properties: | ||
email: | ||
type: string | ||
title: email | ||
description: The order's email. | ||
format: email | ||
shipping_address: | ||
type: object | ||
description: The order's shipping address. | ||
properties: | ||
first_name: | ||
type: string | ||
title: first_name | ||
description: The address's first name. | ||
last_name: | ||
type: string | ||
title: last_name | ||
description: The address's last name. | ||
phone: | ||
type: string | ||
title: phone | ||
description: The address's phone. | ||
company: | ||
type: string | ||
title: company | ||
description: The address's company. | ||
address_1: | ||
type: string | ||
title: address_1 | ||
description: The address's first line. | ||
address_2: | ||
type: string | ||
title: address_2 | ||
description: The address's second line. | ||
city: | ||
type: string | ||
title: city | ||
description: The address's city. | ||
country_code: | ||
type: string | ||
title: country_code | ||
description: The address's country code. | ||
example: us | ||
province: | ||
type: string | ||
title: province | ||
description: The address's province. | ||
postal_code: | ||
type: string | ||
title: postal_code | ||
description: The address's postal code. | ||
metadata: | ||
type: object | ||
description: The address's metadata, can hold custom key-value pairs. | ||
billing_address: | ||
type: object | ||
description: The order's billing address. | ||
properties: | ||
first_name: | ||
type: string | ||
title: first_name | ||
description: The address's first name. | ||
last_name: | ||
type: string | ||
title: last_name | ||
description: The address's last name. | ||
phone: | ||
type: string | ||
title: phone | ||
description: The address's phone. | ||
company: | ||
type: string | ||
title: company | ||
description: The address's company. | ||
address_1: | ||
type: string | ||
title: address_1 | ||
description: The address's first line. | ||
address_2: | ||
type: string | ||
title: address_2 | ||
description: The address's second line. | ||
city: | ||
type: string | ||
title: city | ||
description: The address's city. | ||
country_code: | ||
type: string | ||
title: country_code | ||
description: The address's country code. | ||
example: us | ||
province: | ||
type: string | ||
title: province | ||
description: The address's province. | ||
postal_code: | ||
type: string | ||
title: postal_code | ||
description: The address's postal code. | ||
metadata: | ||
type: object | ||
description: The address's metadata, can hold custom key-value pairs. |
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.