Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminPostOrdersOrderReq.yaml
Shahed Nasser fa7c94b4cc docs: create docs workspace (#5174)
* docs: migrate ui docs to docs universe

* created yarn workspace

* added eslint and tsconfig configurations

* fix eslint configurations

* fixed eslint configurations

* shared tailwind configurations

* added shared ui package

* added more shared components

* migrating more components

* made details components shared

* move InlineCode component

* moved InputText

* moved Loading component

* Moved Modal component

* moved Select components

* Moved Tooltip component

* moved Search components

* moved ColorMode provider

* Moved Notification components and providers

* used icons package

* use UI colors in api-reference

* moved Navbar component

* used Navbar and Search in UI docs

* added Feedback to UI docs

* general enhancements

* fix color mode

* added copy colors file from ui-preset

* added features and enhancements to UI docs

* move Sidebar component and provider

* general fixes and preparations for deployment

* update docusaurus version

* adjusted versions

* fix output directory

* remove rootDirectory property

* fix yarn.lock

* moved code component

* added vale for all docs MD and MDX

* fix tests

* fix vale error

* fix deployment errors

* change ignore commands

* add output directory

* fix docs test

* general fixes

* content fixes

* fix announcement script

* added changeset

* fix vale checks

* added nofilter option

* fix vale error
2023-09-21 20:57:15 +03:00

64 lines
1.7 KiB
YAML

type: object
properties:
email:
description: the email associated with the order
type: string
billing_address:
description: The order's billing address
$ref: ./AddressPayload.yaml
shipping_address:
description: The order's shipping address
$ref: ./AddressPayload.yaml
items:
description: The line items of the order
type: array
items:
$ref: ./LineItem.yaml
region:
description: ID of the region that the order is associated with.
type: string
discounts:
description: The discounts applied to the order
type: array
items:
$ref: ./Discount.yaml
customer_id:
description: The ID of the customer associated with the order.
type: string
payment_method:
description: The payment method chosen for the order.
type: object
properties:
provider_id:
type: string
description: The ID of the payment provider.
data:
description: Any data relevant for the given payment method.
type: object
shipping_method:
description: The Shipping Method used for shipping the order.
type: object
properties:
provider_id:
type: string
description: The ID of the shipping provider.
profile_id:
type: string
description: The ID of the shipping profile.
price:
type: integer
description: The price of the shipping.
data:
type: object
description: Any data relevant to the specific shipping method.
items:
type: array
items:
$ref: ./LineItem.yaml
description: Items to ship
no_notification:
description: >-
If set to `true`, no notification will be sent to the customer related to
this order.
type: boolean