Skip to main content

createOrder

createOrder

Create a new order in the system.

Parameters

inputrequiredOrderToCreateInput

Order creation input

Returns

Order object with all nested relationships resolved

Input Types Details

Click to expand and view the complete structure of nested input types:

RecipientToCreateInput - Delivery recipient information

Recipient delivery information for order creation. Represents the person or entity receiving the shipment.

FieldTypeRequiredDescription
emailEmailAddressEmail address of the recipient
firstNameStringFirst name of the recipient
lastNameStringLast name of the recipient
phonePhoneNumberPhone number for contact
line1StringPrimary street address
line2StringSecondary address line (apartment, suite, etc.)
cityStringCity name
zipZipCodePostal code
countryCodeCountryCodeISO 3166-1 alpha-2 country code
companyStringCompany name (if applicable)
additionalStringAdditional address information
cmsIdStringCustomer management system ID
FulfillmentOrderToCreateInput - Fulfillment order input

Fulfillment order input for order creation. Defines shipping method and products to be fulfilled.

FieldTypeRequiredDescription
products[ProductInput!]Products to be fulfilled (see below)
serviceWingServiceWing shipping service (e.g., STANDARD, EXPRESS)
carrierPickupIdStringOptional carrier pickup point ID for relay point delivery
carrierPickupNameStringOptional carrier pickup point name
customLocationStringCustom delivery location instructions
isInsuranceEnabledBooleanEnable insurance coverage for this shipment (default: false)
isSignatureEnabledBooleanRequire signature on delivery (default: false)
isSaturdayDeliveryEnabledBooleanEnable Saturday delivery if available (default: false)
ProductInput - Product details within FulfillmentOrder

Product input for order fulfillment. Used to define products when creating fulfillment orders.

FieldTypeRequiredDescription
designationStringProduct name or description
priceFloatUnit price of the product
quantityIntQuantity ordered
weightFloatWeight per unit in kilograms
skuStringProduct stock keeping unit (SKU)
eanStringEuropean Article Number (EAN/barcode)
countryOfOriginStringCountry where the product was manufactured
hsCodeStringHS/Tariff code for customs
lengthFloatProduct length in centimeters
widthFloatProduct width in centimeters
heightFloatProduct height in centimeters

Output Structure

The mutation returns an Order object with all nested relationships fully resolved: