Skip to main content
Skip to main content

AdminPostOrdersOrderReq

internal.internal.AdminPostOrdersOrderReq

Schema

AdminPostOrdersOrderReq type: object properties: email: description: the email associated with the order type: string billing_address: description: The order's billing address $ref: "#/components/schemas/AddressPayload" shipping_address: description: The order's shipping address $ref: "#/components/schemas/AddressPayload" items: description: The line items of the order type: array items: $ref: "#/components/schemas/LineItem" 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: "#/components/schemas/Discount" 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: "#/components/schemas/LineItem" 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

Properties

billing_addressAddressPayload
customer_idstring
discountsRecord<string, unknown>[]
emailstring
itemsRecord<string, unknown>[]
no_notificationboolean
payment_methodPaymentMethod
regionstring
shipping_addressAddressPayload
shipping_methodShippingMethod[]
Was this section helpful?