OptionalcustomerOptionaldiscountsOrder-level and line-level discounts. Reference CatalogDiscount ids to
keep pricing authoritative (the number tracks the catalog rather than being
copied into the order). For a subscription order template, carry discounts
(or explicit basePriceMoney) here rather than relying on
pricingOptions.autoApplyDiscounts — see OrderPricingOptions.
OptionalidempotencyOptionallocationOverride the client's default location for this order.
OptionalpricingOptionalreferenceOptionalstateOrder state. Use 'DRAFT' when creating an order template that will back
a subscription phase (subscriptions.create({ phases: [...] })).
OptionaltaxesOrder-level and line-level taxes, ad hoc (name + percentage) or
referencing a CatalogTax. Set pricingOptions.autoApplyTaxes: false to
charge only these. The returned order's taxes[].appliedMoney gives the
amount Square computed for each.
Create order options