Skip to main content

orderGetDefaults

Get the default values for a new order.

orderGetDefaults(
channelId: ID
template: String
): OrderDefaults!

Arguments

orderGetDefaults.channelId ● ID scalar

The sales channel ID that will be used for the order.

orderGetDefaults.template ● String scalar

The template to use for the order number. This template shold be provided in the format of component[.*]{0,}component..., where component can be one of the following: :code_name, :day_year, :random_suffix, :random_prefix.

Type

OrderDefaults object

Order defaults