All Release Notes
Added OrderEdit GraphQL query and mutation schema
10 July 2020
Composable Commerce
HTTP API
Enhancement
OrdersGraphQL
Order edits can now be queried, created, updated, and deleted using the GraphQL API.
- [GraphQL API] Added the following types to the GraphQL schema:
AddOrderEditStagedAction
,AddStagedOrderCustomLineItem
,AddStagedOrderCustomLineItemOutput
,AddStagedOrderDelivery
,AddStagedOrderDeliveryOutput
,AddStagedOrderDiscountCode
,AddStagedOrderDiscountCodeOutput
,AddStagedOrderItemShippingAddress
,AddStagedOrderItemShippingAddressOutput
,AddStagedOrderLineItem
,AddStagedOrderLineItemOutput
,AddStagedOrderParcelToDelivery
,AddStagedOrderParcelToDeliveryOutput
,AddStagedOrderPayment
,AddStagedOrderPaymentOutput
,AddStagedOrderReturnInfo
,AddStagedOrderReturnInfoOutput
,AddStagedOrderShoppingList
,AddStagedOrderShoppingListOutput
,ChangeStagedOrderCustomLineItemMoney
,ChangeStagedOrderCustomLineItemMoneyOutput
,ChangeStagedOrderCustomLineItemQuantity
,ChangeStagedOrderCustomLineItemQuantityOutput
,ChangeStagedOrderLineItemQuantity
,ChangeStagedOrderLineItemQuantityOutput
,ChangeStagedOrderOrderState
,ChangeStagedOrderOrderStateOutput
,ChangeStagedOrderPaymentState
,ChangeStagedOrderPaymentStateOutput
,ChangeStagedOrderShipmentState
,ChangeStagedOrderShipmentStateOutput
,ChangeStagedOrderTaxCalculationMode
,ChangeStagedOrderTaxCalculationModeOutput
,ChangeStagedOrderTaxMode
,ChangeStagedOrderTaxModeOutput
,ChangeStagedOrderTaxRoundingMode
,ChangeStagedOrderTaxRoundingModeOutput
,CustomLineItemDraftOutput
,CustomerGroupReferenceIdentifier
,ExternalTaxAmountDraftOutput
,ExternalTaxRateDraftOutput
,ImportStagedOrderCustomLineItemState
,ImportStagedOrderCustomLineItemStateOutput
,ImportStagedOrderLineItemState
,ImportStagedOrderLineItemStateOutput
,ItemShippingDetailsDraftOutput
,LineItemDraftOutput
,NotProcessed
,OrderEdit
,OrderEditDraft
,OrderEditQueryResult
,OrderEditResult
,OrderEditUpdateAction
,RecalculateStagedOrder
,RecalculateStagedOrderOutput
,RemoveStagedOrderCustomLineItem
,RemoveStagedOrderCustomLineItemOutput
,RemoveStagedOrderDelivery
,RemoveStagedOrderDeliveryOutput
,RemoveStagedOrderDiscountCode
,RemoveStagedOrderDiscountCodeOutput
,RemoveStagedOrderItemShippingAddress
,RemoveStagedOrderItemShippingAddressOutput
,RemoveStagedOrderLineItem
,RemoveStagedOrderLineItemOutput
,RemoveStagedOrderParcelFromDelivery
,RemoveStagedOrderParcelFromDeliveryOutput
,RemoveStagedOrderPayment
,RemoveStagedOrderPaymentOutput
,ResourceIdentifier
,ReturnItemDraftTypeOutput
,ScoreShippingRateInputDraftOutput
,Set
,SetOrderEditComment
,SetOrderEditCustomField
,SetOrderEditCustomType
,SetOrderEditKey
,SetOrderEditStagedActions
,SetStagedOrderBillingAddress
,SetStagedOrderBillingAddressOutput
,SetStagedOrderCountry
,SetStagedOrderCountryOutput
,SetStagedOrderCustomField
,SetStagedOrderCustomFieldOutput
,SetStagedOrderCustomLineItemCustomField
,SetStagedOrderCustomLineItemCustomFieldOutput
,SetStagedOrderCustomLineItemCustomType
,SetStagedOrderCustomLineItemCustomTypeOutput
,SetStagedOrderCustomLineItemShippingDetails
,SetStagedOrderCustomLineItemShippingDetailsOutput
,SetStagedOrderCustomLineItemTaxAmount
,SetStagedOrderCustomLineItemTaxAmountOutput
,SetStagedOrderCustomLineItemTaxRate
,SetStagedOrderCustomLineItemTaxRateOutput
,SetStagedOrderCustomShippingMethod
,SetStagedOrderCustomShippingMethodOutput
,SetStagedOrderCustomType
,SetStagedOrderCustomTypeOutput
,SetStagedOrderCustomerEmail
,SetStagedOrderCustomerEmailOutput
,SetStagedOrderCustomerGroup
,SetStagedOrderCustomerGroupOutput
,SetStagedOrderCustomerId
,SetStagedOrderCustomerIdOutput
,SetStagedOrderDeliveryAddress
,SetStagedOrderDeliveryAddressOutput
,SetStagedOrderDeliveryItems
,SetStagedOrderDeliveryItemsOutput
,SetStagedOrderLineItemCustomField
,SetStagedOrderLineItemCustomFieldOutput
,SetStagedOrderLineItemCustomType
,SetStagedOrderLineItemCustomTypeOutput
,SetStagedOrderLineItemPrice
,SetStagedOrderLineItemPriceOutput
,SetStagedOrderLineItemShippingDetails
,SetStagedOrderLineItemShippingDetailsOutput
,SetStagedOrderLineItemTaxAmount
,SetStagedOrderLineItemTaxAmountOutput
,SetStagedOrderLineItemTaxRate
,SetStagedOrderLineItemTaxRateOutput
,SetStagedOrderLineItemTotalPrice
,SetStagedOrderLineItemTotalPriceOutput
,SetStagedOrderLocale
,SetStagedOrderLocaleOutput
,SetStagedOrderOrderNumber
,SetStagedOrderOrderNumberOutput
,SetStagedOrderOrderTotalTax
,SetStagedOrderOrderTotalTaxOutput
,SetStagedOrderParcelItems
,SetStagedOrderParcelItemsOutput
,SetStagedOrderParcelMeasurements
,SetStagedOrderParcelMeasurementsOutput
,SetStagedOrderParcelTrackingData
,SetStagedOrderParcelTrackingDataOutput
,SetStagedOrderReturnPaymentState
,SetStagedOrderReturnPaymentStateOutput
,SetStagedOrderReturnShipmentState
,SetStagedOrderReturnShipmentStateOutput
,SetStagedOrderShippingAddress
,SetStagedOrderShippingAddressAndCustomShippingMethod
,SetStagedOrderShippingAddressAndCustomShippingMethodOutput
,SetStagedOrderShippingAddressAndShippingMethod
,SetStagedOrderShippingAddressAndShippingMethodOutput
,SetStagedOrderShippingAddressOutput
,SetStagedOrderShippingMethod
,SetStagedOrderShippingMethodOutput
,SetStagedOrderShippingMethodTaxAmount
,SetStagedOrderShippingMethodTaxAmountOutput
,SetStagedOrderShippingMethodTaxRate
,SetStagedOrderShippingMethodTaxRateOutput
,SetStagedOrderShippingRateInput
,SetStagedOrderShippingRateInputOutput
,SetStagedOrderStore
,SetStagedOrderStoreOutput
,ShippingRateInputDraftOutput
,StagedOrderUpdateAction
,StagedOrderUpdateActionOutput
,TransitionStagedOrderCustomLineItemState
,TransitionStagedOrderCustomLineItemStateOutput
,TransitionStagedOrderLineItemState
,TransitionStagedOrderLineItemStateOutput
,TransitionStagedOrderState
,TransitionStagedOrderStateOutput
,UpdateStagedOrderItemShippingAddress
,UpdateStagedOrderItemShippingAddressOutput
,UpdateStagedOrderSyncInfo
,UpdateStagedOrderSyncInfoOutput
. - [GraphQL API] Changed the
Query
type:- Added the
orderEdit
field to theQuery
type. - Added the
orderEdits
field to theQuery
type.
- Added the
- [GraphQL API] Changed the
Mutation
type:- Added the
deleteOrderEdit
field to theMutation
type. - Added the
createOrderEdit
field to theMutation
type. - Added the
updateOrderEdit
field to theMutation
type.
- Added the
Introduced the following changes to the GraphQL schema (in SDL format):
extend type Query {orderEdit("Queries with specified ID"id: String,"Queries with specified key"key: String): OrderEditorderEdits(where: String, sort: [String!], limit: Int, offset: Int): OrderEditQueryResult!}extend type Mutation {createOrderEdit(draft: OrderEditDraft!): OrderEditdeleteOrderEdit(version: Long!,"Queries with specified ID"id: String,"Queries with specified key"key: String): OrderEditupdateOrderEdit(version: Long!, actions: [OrderEditUpdateAction!]!, dryRun: Boolean = false,"Queries with specified ID"id: String,"Queries with specified key"key: String): OrderEdit}input AddOrderEditStagedAction {stagedAction: StagedOrderUpdateAction!}input AddStagedOrderCustomLineItem {shippingDetails: ItemShippingDetailsDraftTypecustom: CustomFieldsDraftquantity: LongexternalTaxRate: ExternalTaxRateDrafttaxCategory: ResourceIdentifierInputslug: String!money: BaseMoneyInput!name: [LocalizedStringItemInputType!]!}type AddStagedOrderCustomLineItemOutput implements StagedOrderUpdateActionOutput {type: String!draft: CustomLineItemDraftOutput!}input AddStagedOrderDelivery {items: [DeliveryItemDraftType!] = []parcels: [DeliveryItemDraftType!] = []address: AddressInput}type AddStagedOrderDeliveryOutput implements StagedOrderUpdateActionOutput {type: String!items: [DeliveryItem!]!parcels: [ParcelData!]!address: Address}input AddStagedOrderDiscountCode {code: String!validateDuplicates: Boolean = false}type AddStagedOrderDiscountCodeOutput implements StagedOrderUpdateActionOutput {type: String!code: String!validateDuplicates: Boolean!}input AddStagedOrderItemShippingAddress {address: AddressInput!}type AddStagedOrderItemShippingAddressOutput implements StagedOrderUpdateActionOutput {type: String!address: Address!}input AddStagedOrderLineItem {shippingDetails: ItemShippingDetailsDraftTypeexternalTotalPrice: ExternalLineItemTotalPriceDraftexternalPrice: BaseMoneyInputexternalTaxRate: ExternalTaxRateDraftcustom: CustomFieldsDraftcatalog: ReferenceInputdistributionChannel: ResourceIdentifierInputsupplyChannel: ResourceIdentifierInputvariantId: Intquantity: Longsku: StringproductId: String}type AddStagedOrderLineItemOutput implements StagedOrderUpdateActionOutput {type: String!draft: LineItemDraftOutput!}input AddStagedOrderParcelToDelivery {deliveryId: String!measurements: ParcelMeasurementsDraftTypetrackingData: TrackingDataDraftTypeitems: [DeliveryItemDraftType!] = []}type AddStagedOrderParcelToDeliveryOutput implements StagedOrderUpdateActionOutput {type: String!deliveryId: String!measurements: ParcelMeasurementstrackingData: TrackingDataitems: [DeliveryItem!]!}input AddStagedOrderPayment {payment: ResourceIdentifierInput!}type AddStagedOrderPaymentOutput implements StagedOrderUpdateActionOutput {type: String!paymentResId: ResourceIdentifier!}input AddStagedOrderReturnInfo {items: [ReturnItemDraftType!]!returnDate: DateTimereturnTrackingId: String}type AddStagedOrderReturnInfoOutput implements StagedOrderUpdateActionOutput {type: String!items: [ReturnItemDraftTypeOutput!]!returnDate: DateTimereturnTrackingId: String}input AddStagedOrderShoppingList {shoppingList: ResourceIdentifierInput!supplyChannel: ResourceIdentifierInputdistributionChannel: ResourceIdentifierInput}type AddStagedOrderShoppingListOutput implements StagedOrderUpdateActionOutput {type: String!shoppingListResId: ResourceIdentifier!supplyChannelResId: ChannelReferenceIdentifierdistributionChannelResId: ChannelReferenceIdentifier}input ChangeStagedOrderCustomLineItemMoney {customLineItemId: String!money: BaseMoneyInput!}type ChangeStagedOrderCustomLineItemMoneyOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!money: BaseMoney!}input ChangeStagedOrderCustomLineItemQuantity {customLineItemId: String!quantity: Long!}type ChangeStagedOrderCustomLineItemQuantityOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!quantity: Long!}input ChangeStagedOrderLineItemQuantity {lineItemId: String!quantity: Long!externalPrice: BaseMoneyInputexternalTotalPrice: ExternalLineItemTotalPriceDraft}type ChangeStagedOrderLineItemQuantityOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!quantity: Long!externalPrice: BaseMoneyexternalTotalPrice: ExternalLineItemTotalPrice}input ChangeStagedOrderOrderState {orderState: OrderState!}type ChangeStagedOrderOrderStateOutput implements StagedOrderUpdateActionOutput {type: String!orderState: OrderState!}input ChangeStagedOrderPaymentState {paymentState: PaymentState!}type ChangeStagedOrderPaymentStateOutput implements StagedOrderUpdateActionOutput {type: String!paymentState: PaymentState!}input ChangeStagedOrderShipmentState {shipmentState: ShipmentState!}type ChangeStagedOrderShipmentStateOutput implements StagedOrderUpdateActionOutput {type: String!shipmentState: ShipmentState!}input ChangeStagedOrderTaxCalculationMode {taxCalculationMode: TaxCalculationMode!}type ChangeStagedOrderTaxCalculationModeOutput implements StagedOrderUpdateActionOutput {type: String!taxCalculationMode: TaxCalculationMode!}input ChangeStagedOrderTaxMode {taxMode: TaxMode!}type ChangeStagedOrderTaxModeOutput implements StagedOrderUpdateActionOutput {type: String!taxMode: TaxMode!}input ChangeStagedOrderTaxRoundingMode {taxRoundingMode: RoundingMode!}type ChangeStagedOrderTaxRoundingModeOutput implements StagedOrderUpdateActionOutput {type: String!taxRoundingMode: RoundingMode!}type CustomFieldsCommand {typeId: StringtypeKey: Stringtype: ResourceIdentifierfields: Json!}type CustomLineItemDraftOutput {money: BaseMoney!slug: String!taxCategory: ResourceIdentifierexternalTaxRate: ExternalTaxRateDraftOutputquantity: Longcustom: CustomFieldsCommandshippingDetails: ItemShippingDetailsDraftOutputname("String is defined for different locales. This argument specifies the desired locale."locale: Locale,"List of languages the client is able to understand, and which locale variant is preferred."acceptLanguage: [Locale!]): StringnameAllLocales: [LocalizedString!]!}type CustomerGroupReferenceIdentifier {typeId: String!id: Stringkey: String}type ExternalTaxAmountDraftOutput {totalGross: Money!taxRate: ExternalTaxRateDraftOutput!}type ExternalTaxRateDraftOutput {name: String!amount: Floatcountry: Country!state: StringsubRates: [SubRate!]!includedInPrice: Boolean!}input ImportStagedOrderCustomLineItemState {customLineItemId: String!state: [ItemStateDraftType!]!}type ImportStagedOrderCustomLineItemStateOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!state: Set!}input ImportStagedOrderLineItemState {lineItemId: String!state: [ItemStateDraftType!]!}type ImportStagedOrderLineItemStateOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!state: Set!}type ItemShippingDetailsDraftOutput {targets: [ItemShippingTarget!]!}type LineItemDraftOutput {productId: Stringsku: Stringquantity: LongvariantId: IntsupplyChannel: ChannelReferenceIdentifierdistributionChannel: ChannelReferenceIdentifiercatalog: Referencecustom: CustomFieldsCommandexternalTaxRate: ExternalTaxRateDraftOutputexternalPrice: BaseMoneyexternalTotalPrice: ExternalLineItemTotalPriceshippingDetails: ItemShippingDetailsDraftOutput}type NotProcessed implements OrderEditResult {type: String!}type OrderEdit implements Versioned {key: StringresourceRef: Reference!resource: OrderstagedActions: [StagedOrderUpdateActionOutput!]!result: OrderEditResult!comment: Stringcustom: CustomFieldsTypeid: String!version: Long!createdAt: DateTime!lastModifiedAt: DateTime!createdBy: InitiatorlastModifiedBy: Initiator}input OrderEditDraft {key: Stringresource: ReferenceInput!stagedActions: [StagedOrderUpdateAction!]!custom: CustomFieldsDraftcomment: StringdryRun: Boolean}type OrderEditQueryResult {offset: Int!count: Int!total: Long!results: [OrderEdit!]!}interface OrderEditResult {type: String!}input OrderEditUpdateAction {addStagedAction: AddOrderEditStagedActionsetComment: SetOrderEditCommentsetCustomField: SetOrderEditCustomFieldsetCustomType: SetOrderEditCustomTypesetKey: SetOrderEditKeysetStagedActions: SetOrderEditStagedActions}type PreviewFailure implements OrderEditResult {type: String!errors: [Json!]!}type PreviewSuccess implements OrderEditResult {type: String!preview: Order!}input RecalculateStagedOrder {updateProductData: Boolean = false}type RecalculateStagedOrderOutput implements StagedOrderUpdateActionOutput {type: String!updateProductData: Boolean!}input RemoveStagedOrderCustomLineItem {customLineItemId: String!}type RemoveStagedOrderCustomLineItemOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!}input RemoveStagedOrderDelivery {deliveryId: String!}type RemoveStagedOrderDeliveryOutput implements StagedOrderUpdateActionOutput {type: String!deliveryId: String!}input RemoveStagedOrderDiscountCode {discountCode: ReferenceInput!}type RemoveStagedOrderDiscountCodeOutput implements StagedOrderUpdateActionOutput {discountCode: DiscountCodediscountCodeRef: Reference!type: String!}input RemoveStagedOrderItemShippingAddress {addressKey: String!}type RemoveStagedOrderItemShippingAddressOutput implements StagedOrderUpdateActionOutput {type: String!addressKey: String!}input RemoveStagedOrderLineItem {lineItemId: String!quantity: LongexternalPrice: BaseMoneyInputexternalTotalPrice: ExternalLineItemTotalPriceDraftshippingDetailsToRemove: ItemShippingDetailsDraftType}type RemoveStagedOrderLineItemOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!quantity: LongexternalPrice: BaseMoneyexternalTotalPrice: ExternalLineItemTotalPriceshippingDetailsToRemove: ItemShippingDetailsDraftOutput}input RemoveStagedOrderParcelFromDelivery {parcelId: String!}type RemoveStagedOrderParcelFromDeliveryOutput implements StagedOrderUpdateActionOutput {type: String!parcelId: String!}input RemoveStagedOrderPayment {payment: ResourceIdentifierInput!}type RemoveStagedOrderPaymentOutput implements StagedOrderUpdateActionOutput {type: String!paymentResId: ResourceIdentifier!}type ResourceIdentifier {typeId: String!key: Stringid: String}type ReturnItemDraftTypeOutput {quantity: Long!lineItemId: StringcustomLineItemId: Stringcomment: StringshipmentState: ReturnShipmentState!}type ScoreShippingRateInputDraftOutput implements ShippingRateInputDraftOutput {score: Int!type: String!}scalar Setinput SetOrderEditComment {comment: String}input SetOrderEditCustomField {name: String!value: String}input SetOrderEditCustomType {fields: [CustomFieldInput!]type: ResourceIdentifierInputtypeKey: StringtypeId: String}input SetOrderEditKey {key: String}input SetOrderEditStagedActions {stagedActions: [StagedOrderUpdateAction!]!}input SetStagedOrderBillingAddress {address: AddressInput}type SetStagedOrderBillingAddressOutput implements StagedOrderUpdateActionOutput {type: String!address: Address}input SetStagedOrderCountry {country: Country}type SetStagedOrderCountryOutput implements StagedOrderUpdateActionOutput {type: String!country: Country}input SetStagedOrderCustomField {name: String!value: String}type SetStagedOrderCustomFieldOutput implements StagedOrderUpdateActionOutput {type: String!name: String!value: Json}input SetStagedOrderCustomLineItemCustomField {customLineItemId: String!name: String!value: String}type SetStagedOrderCustomLineItemCustomFieldOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!name: String!value: Json}input SetStagedOrderCustomLineItemCustomType {customLineItemId: String!fields: [CustomFieldInput!]type: ResourceIdentifierInputtypeKey: StringtypeId: String}type SetStagedOrderCustomLineItemCustomTypeOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!custom: CustomFieldsCommand!}input SetStagedOrderCustomLineItemShippingDetails {customLineItemId: String!shippingDetails: ItemShippingDetailsDraftType}type SetStagedOrderCustomLineItemShippingDetailsOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!shippingDetails: ItemShippingDetailsDraftOutput}input SetStagedOrderCustomLineItemTaxAmount {customLineItemId: String!externalTaxAmount: ExternalTaxAmountDraft}type SetStagedOrderCustomLineItemTaxAmountOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!externalTaxAmount: ExternalTaxAmountDraftOutput}input SetStagedOrderCustomLineItemTaxRate {customLineItemId: String!externalTaxRate: ExternalTaxRateDraft}type SetStagedOrderCustomLineItemTaxRateOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!externalTaxRate: ExternalTaxRateDraftOutput}input SetStagedOrderCustomShippingMethod {shippingMethodName: String!shippingRate: ShippingRateDraft!taxCategory: ResourceIdentifierInputexternalTaxRate: ExternalTaxRateDraft}type SetStagedOrderCustomShippingMethodOutput implements StagedOrderUpdateActionOutput {type: String!shippingMethodName: String!shippingRate: ShippingRate!taxCategoryResId: ResourceIdentifierexternalTaxRate: ExternalTaxRateDraftOutput}input SetStagedOrderCustomType {fields: [CustomFieldInput!]type: ResourceIdentifierInputtypeKey: StringtypeId: String}type SetStagedOrderCustomTypeOutput implements StagedOrderUpdateActionOutput {type: String!custom: CustomFieldsCommand!}input SetStagedOrderCustomerEmail {email: String}type SetStagedOrderCustomerEmailOutput implements StagedOrderUpdateActionOutput {type: String!email: String}input SetStagedOrderCustomerGroup {customerGroup: ResourceIdentifierInput}type SetStagedOrderCustomerGroupOutput implements StagedOrderUpdateActionOutput {type: String!customerGroupResId: CustomerGroupReferenceIdentifier}input SetStagedOrderCustomerId {customerId: String}type SetStagedOrderCustomerIdOutput implements StagedOrderUpdateActionOutput {type: String!customerId: String}input SetStagedOrderDeliveryAddress {deliveryId: String!address: AddressInput}type SetStagedOrderDeliveryAddressOutput implements StagedOrderUpdateActionOutput {type: String!deliveryId: String!address: Address}input SetStagedOrderDeliveryItems {deliveryId: String!items: [DeliveryItemDraftType!]!}type SetStagedOrderDeliveryItemsOutput implements StagedOrderUpdateActionOutput {type: String!deliveryId: String!items: [DeliveryItem!]!}input SetStagedOrderLineItemCustomField {lineItemId: String!name: String!value: String}type SetStagedOrderLineItemCustomFieldOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!name: String!value: Json}input SetStagedOrderLineItemCustomType {lineItemId: String!fields: [CustomFieldInput!]type: ResourceIdentifierInputtypeKey: StringtypeId: String}type SetStagedOrderLineItemCustomTypeOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!custom: CustomFieldsCommand!}input SetStagedOrderLineItemPrice {lineItemId: String!externalPrice: BaseMoneyInput}type SetStagedOrderLineItemPriceOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!externalPrice: BaseMoney}input SetStagedOrderLineItemShippingDetails {lineItemId: String!shippingDetails: ItemShippingDetailsDraftType}type SetStagedOrderLineItemShippingDetailsOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!shippingDetails: ItemShippingDetailsDraftOutput}input SetStagedOrderLineItemTaxAmount {lineItemId: String!externalTaxAmount: ExternalTaxAmountDraft}type SetStagedOrderLineItemTaxAmountOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!externalTaxAmount: ExternalTaxAmountDraftOutput}input SetStagedOrderLineItemTaxRate {lineItemId: String!externalTaxRate: ExternalTaxRateDraft}type SetStagedOrderLineItemTaxRateOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!externalTaxRate: ExternalTaxRateDraftOutput}input SetStagedOrderLineItemTotalPrice {lineItemId: String!externalTotalPrice: ExternalLineItemTotalPriceDraft}type SetStagedOrderLineItemTotalPriceOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!externalTotalPrice: ExternalLineItemTotalPrice}input SetStagedOrderLocale {locale: Locale}type SetStagedOrderLocaleOutput implements StagedOrderUpdateActionOutput {type: String!locale: Locale}input SetStagedOrderOrderNumber {orderNumber: String}type SetStagedOrderOrderNumberOutput implements StagedOrderUpdateActionOutput {type: String!orderNumber: String}input SetStagedOrderOrderTotalTax {externalTotalGross: MoneyInputexternalTaxPortions: [TaxPortionDraft!] = []}type SetStagedOrderOrderTotalTaxOutput implements StagedOrderUpdateActionOutput {type: String!externalTotalGross: MoneyexternalTaxPortions: [TaxPortion!]!}input SetStagedOrderParcelItems {parcelId: String!items: [DeliveryItemDraftType!]!}type SetStagedOrderParcelItemsOutput implements StagedOrderUpdateActionOutput {type: String!parcelId: String!items: [DeliveryItem!]!}input SetStagedOrderParcelMeasurements {parcelId: String!measurements: ParcelMeasurementsDraftType}type SetStagedOrderParcelMeasurementsOutput implements StagedOrderUpdateActionOutput {type: String!parcelId: String!measurements: ParcelMeasurements}input SetStagedOrderParcelTrackingData {parcelId: String!trackingData: TrackingDataDraftType}type SetStagedOrderParcelTrackingDataOutput implements StagedOrderUpdateActionOutput {type: String!parcelId: String!trackingData: TrackingData}input SetStagedOrderReturnPaymentState {returnItemId: String!paymentState: ReturnPaymentState!}type SetStagedOrderReturnPaymentStateOutput implements StagedOrderUpdateActionOutput {type: String!returnItemId: String!paymentState: ReturnPaymentState!}input SetStagedOrderReturnShipmentState {returnItemId: String!shipmentState: ReturnShipmentState!}type SetStagedOrderReturnShipmentStateOutput implements StagedOrderUpdateActionOutput {type: String!returnItemId: String!shipmentState: ReturnShipmentState!}input SetStagedOrderShippingAddress {address: AddressInput}input SetStagedOrderShippingAddressAndCustomShippingMethod {address: AddressInput!shippingMethodName: String!shippingRate: ShippingRateDraft!taxCategory: ResourceIdentifierInputexternalTaxRate: ExternalTaxRateDraft}type SetStagedOrderShippingAddressAndCustomShippingMethodOutput implements StagedOrderUpdateActionOutput {type: String!address: Address!shippingMethodName: String!shippingRate: ShippingRate!taxCategoryResId: ResourceIdentifierexternalTaxRate: ExternalTaxRateDraftOutput}input SetStagedOrderShippingAddressAndShippingMethod {address: AddressInput!shippingMethod: ResourceIdentifierInputexternalTaxRate: ExternalTaxRateDraft}type SetStagedOrderShippingAddressAndShippingMethodOutput implements StagedOrderUpdateActionOutput {type: String!address: Address!shippingMethodResId: ResourceIdentifierexternalTaxRate: ExternalTaxRateDraftOutput}type SetStagedOrderShippingAddressOutput implements StagedOrderUpdateActionOutput {type: String!address: Address}input SetStagedOrderShippingMethod {shippingMethod: ResourceIdentifierInputexternalTaxRate: ExternalTaxRateDraft}type SetStagedOrderShippingMethodOutput implements StagedOrderUpdateActionOutput {type: String!shippingMethodResId: ResourceIdentifierexternalTaxRate: ExternalTaxRateDraftOutput}input SetStagedOrderShippingMethodTaxAmount {externalTaxAmount: ExternalTaxAmountDraft}type SetStagedOrderShippingMethodTaxAmountOutput implements StagedOrderUpdateActionOutput {type: String!externalTaxAmount: ExternalTaxAmountDraftOutput}input SetStagedOrderShippingMethodTaxRate {externalTaxRate: ExternalTaxRateDraft}type SetStagedOrderShippingMethodTaxRateOutput implements StagedOrderUpdateActionOutput {type: String!externalTaxRate: ExternalTaxRateDraftOutput}input SetStagedOrderShippingRateInput {shippingRateInput: ShippingRateInputDraft}type SetStagedOrderShippingRateInputOutput implements StagedOrderUpdateActionOutput {type: String!shippingRateInput: ShippingRateInputDraftOutput}input SetStagedOrderStore {store: ResourceIdentifierInput}type SetStagedOrderStoreOutput implements StagedOrderUpdateActionOutput {type: String!storeResId: ResourceIdentifier}interface ShippingRateInputDraftOutput {type: String!}input StagedOrderUpdateAction {addCustomLineItem: AddStagedOrderCustomLineItemaddDelivery: AddStagedOrderDeliveryaddDiscountCode: AddStagedOrderDiscountCodeaddItemShippingAddress: AddStagedOrderItemShippingAddressaddLineItem: AddStagedOrderLineItemaddParcelToDelivery: AddStagedOrderParcelToDeliveryaddPayment: AddStagedOrderPaymentaddReturnInfo: AddStagedOrderReturnInfoaddShoppingList: AddStagedOrderShoppingListchangeCustomLineItemMoney: ChangeStagedOrderCustomLineItemMoneychangeCustomLineItemQuantity: ChangeStagedOrderCustomLineItemQuantitychangeLineItemQuantity: ChangeStagedOrderLineItemQuantitychangeOrderState: ChangeStagedOrderOrderStatechangePaymentState: ChangeStagedOrderPaymentStatechangeShipmentState: ChangeStagedOrderShipmentStatechangeTaxCalculationMode: ChangeStagedOrderTaxCalculationModechangeTaxMode: ChangeStagedOrderTaxModechangeTaxRoundingMode: ChangeStagedOrderTaxRoundingModeimportCustomLineItemState: ImportStagedOrderCustomLineItemStateimportLineItemState: ImportStagedOrderLineItemStaterecalculate: RecalculateStagedOrderremoveCustomLineItem: RemoveStagedOrderCustomLineItemremoveDelivery: RemoveStagedOrderDeliveryremoveDiscountCode: RemoveStagedOrderDiscountCoderemoveItemShippingAddress: RemoveStagedOrderItemShippingAddressremoveLineItem: RemoveStagedOrderLineItemremoveParcelFromDelivery: RemoveStagedOrderParcelFromDeliveryremovePayment: RemoveStagedOrderPaymentsetBillingAddress: SetStagedOrderBillingAddresssetCountry: SetStagedOrderCountrysetCustomField: SetStagedOrderCustomFieldsetCustomLineItemCustomField: SetStagedOrderCustomLineItemCustomFieldsetCustomLineItemCustomType: SetStagedOrderCustomLineItemCustomTypesetCustomLineItemShippingDetails: SetStagedOrderCustomLineItemShippingDetailssetCustomLineItemTaxAmount: SetStagedOrderCustomLineItemTaxAmountsetCustomLineItemTaxRate: SetStagedOrderCustomLineItemTaxRatesetCustomShippingMethod: SetStagedOrderCustomShippingMethodsetCustomType: SetStagedOrderCustomTypesetCustomerEmail: SetStagedOrderCustomerEmailsetCustomerGroup: SetStagedOrderCustomerGroupsetCustomerId: SetStagedOrderCustomerIdsetDeliveryAddress: SetStagedOrderDeliveryAddresssetDeliveryItems: SetStagedOrderDeliveryItemssetLineItemCustomField: SetStagedOrderLineItemCustomFieldsetLineItemCustomType: SetStagedOrderLineItemCustomTypesetLineItemPrice: SetStagedOrderLineItemPricesetLineItemShippingDetails: SetStagedOrderLineItemShippingDetailssetLineItemTaxAmount: SetStagedOrderLineItemTaxAmountsetLineItemTaxRate: SetStagedOrderLineItemTaxRatesetLineItemTotalPrice: SetStagedOrderLineItemTotalPricesetLocale: SetStagedOrderLocalesetOrderNumber: SetStagedOrderOrderNumbersetOrderTotalTax: SetStagedOrderOrderTotalTaxsetParcelItems: SetStagedOrderParcelItemssetParcelMeasurements: SetStagedOrderParcelMeasurementssetParcelTrackingData: SetStagedOrderParcelTrackingDatasetReturnPaymentState: SetStagedOrderReturnPaymentStatesetReturnShipmentState: SetStagedOrderReturnShipmentStatesetShippingAddress: SetStagedOrderShippingAddresssetShippingAddressAndCustomShippingMethod: SetStagedOrderShippingAddressAndCustomShippingMethodsetShippingAddressAndShippingMethod: SetStagedOrderShippingAddressAndShippingMethodsetShippingMethod: SetStagedOrderShippingMethodsetShippingMethodTaxAmount: SetStagedOrderShippingMethodTaxAmountsetShippingMethodTaxRate: SetStagedOrderShippingMethodTaxRatesetShippingRateInput: SetStagedOrderShippingRateInputsetStore: SetStagedOrderStoretransitionCustomLineItemState: TransitionStagedOrderCustomLineItemStatetransitionLineItemState: TransitionStagedOrderLineItemStatetransitionState: TransitionStagedOrderStateupdateItemShippingAddress: UpdateStagedOrderItemShippingAddressupdateSyncInfo: UpdateStagedOrderSyncInfo}interface StagedOrderUpdateActionOutput {type: String!}input TransitionStagedOrderCustomLineItemState {customLineItemId: String!quantity: Long!fromState: ResourceIdentifierInput!toState: ResourceIdentifierInput!actualTransitionDate: DateTime}type TransitionStagedOrderCustomLineItemStateOutput implements StagedOrderUpdateActionOutput {type: String!customLineItemId: String!quantity: Long!fromStateResId: ResourceIdentifier!toStateResId: ResourceIdentifier!actualTransitionDate: DateTime}input TransitionStagedOrderLineItemState {lineItemId: String!quantity: Long!fromState: ResourceIdentifierInput!toState: ResourceIdentifierInput!actualTransitionDate: DateTime}type TransitionStagedOrderLineItemStateOutput implements StagedOrderUpdateActionOutput {type: String!lineItemId: String!quantity: Long!fromStateResId: ResourceIdentifier!toStateResId: ResourceIdentifier!actualTransitionDate: DateTime}input TransitionStagedOrderState {state: ResourceIdentifierInput!force: Boolean = false}type TransitionStagedOrderStateOutput implements StagedOrderUpdateActionOutput {type: String!stateResId: ResourceIdentifier!force: Boolean!}input UpdateStagedOrderItemShippingAddress {address: AddressInput!}type UpdateStagedOrderItemShippingAddressOutput implements StagedOrderUpdateActionOutput {type: String!address: Address!}input UpdateStagedOrderSyncInfo {channel: ResourceIdentifierInput!syncedAt: DateTimeexternalId: String}type UpdateStagedOrderSyncInfoOutput implements StagedOrderUpdateActionOutput {type: String!channelResId: ChannelReferenceIdentifier!syncedAt: DateTimeexternalId: String}