Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
19 lines (11 loc) · 1.83 KB

CreateOrderRequest.md

File metadata and controls

19 lines (11 loc) · 1.83 KB

CreateOrderRequest

Description

Properties

Name Type Description Notes
order Order The order to create. If this field is set, then the only other top-level field that can be set is the idempotency_key. [optional]
idempotencyKey String A value you specify that uniquely identifies this order among orders you've created. If you're unsure whether a particular order was created successfully, you can reattempt it with the same idempotency key without worrying about creating duplicate orders. See Idempotency for more information. [optional]
referenceId String Deprecated: Please set the reference_id on the nested `order` field instead. An optional ID you can associate with the order for your own purposes (such as to associate the order with an entity ID in your own database). This value cannot exceed 40 characters. [optional] [deprecated]
lineItems List<CreateOrderRequestLineItem> Deprecated: Please set the line_items on the nested `order` field instead. The line items to associate with this order. Each line item represents a different product to include in a purchase. [optional] [deprecated]
taxes List<CreateOrderRequestTax> Deprecated: Please set the taxes on the nested `order` field instead. The taxes to include on the order. [optional] [deprecated]
discounts List<CreateOrderRequestDiscount> Deprecated: Please set the discounts on the nested `order` field instead. The discounts to include on the order. [optional] [deprecated]