Queries and mutations for managing Order Edits in the platform.

Queries

Query Order Edits

QUERYorderEdits
Arguments
where​
String​
sort​
Array of String​
limit​
Int​
offset​
Int​

Get Order Edit

QUERYorderEdit
Arguments
id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Output:OrderEdit

Mutations

Create Order Edit

MUTATIONcreateOrderEdit
Arguments
draft​
Output:OrderEdit

Update Order Edit

MUTATIONupdateOrderEdit
Arguments
version​
Long​
actions​
dryRun​
Boolean​
Default: false​
id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Output:OrderEdit

Delete Order Edit

MUTATIONdeleteOrderEdit
Arguments
version​
Long​
id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Output:OrderEdit

Apply Order Edit

MUTATIONapplyOrderEdit
Arguments
id​
String​

The id of the OrderEdit to apply.

editVersion​
Long​

Current version of the OrderEdit.

resourceVersion​
Long​

Current version of the referenced Order.

Output:OrderEdit

Output types

OrderEdit

key​
String​

User-defined unique identifier of the Order Edit.

resourceRef​
Reference to the Order updated with this edit.
resource​
Reference to the Order updated with this edit.
stagedActions​
Update actions applied to the Order referenced by resource.
result​

For applied edits, it's a summary of the changes on the Order. For unapplied edits, it's a preview of the changes.

comment​
String​

User-defined information regarding the Order Edit.

custom​

Custom Fields of the Order Edit.

id​
String​

Unique identifier of the Order Edit.

version​
Long​

Current version of the Order Edit.

createdAt​

Date and time (UTC) the Order Edit was initially created.

lastModifiedAt​

Date and time (UTC) the Order Edit was last updated.

createdBy​

IDs and references that created the OrderEdit.

lastModifiedBy​

IDs and references that last modified the OrderEdit.

StagedOrderUpdateActionOutput

type​
String​

OrderEditResult

type​
String​

Order Edit Query Result

offset​
Int​
count​
Int​
total​
Long​
exists​
Boolean​
results​
Array of OrderEdit​

Input types

OrderEditDraft

key​
String​

User-defined unique identifier for the Order Edit.

resource​
Reference to the Order updated with this edit.
stagedActions​
Update actions to apply to the Order referenced in resource. Cannot be updated if the edit has been applied.
custom​

Custom Fields for the Order Edit.

comment​
String​

User-defined description regarding the Order Edit.

dryRun​
Boolean​
Whether to preview the edited Order first without persisting it (dry run). A dry run allows checking for potential errors when trying to apply the stagedActions.
Order API Extensions, if any, are also called in dry runs.

OrderEditUpdateAction

addStagedAction​
setComment​
setCustomField​
setCustomType​
setKey​
setStagedActions​

Update actions

Add StagedAction

The stagedActions field cannot be updated if the Order Edit result is OrderEdit Applied.
stagedAction​
Order update action to append to the stagedActions array.

Set Comment

comment​
String​

Value to set. If omitted, any existing value is removed.

Set CustomField

name​
String​
Name of the Custom Field.
value​
String​
If value is absent or null, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value is provided, it is set for the field defined by name.

Set Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set Key

key​
String​

Value to set. If omitted, any existing value is removed.

Set StagedActions

The stagedActions field cannot be updated if the Order Edit result is OrderEdit Applied.
stagedActions​
Value to replace the stagedActions of the Order Edit.

StagedOrderUpdateAction

addDelivery​
addDiscountCode​
addItemShippingAddress​
addParcelToDelivery​
addPayment​
addReturnInfo​
addShoppingList​
changeCustomLineItemMoney​
changeCustomLineItemQuantity​
changeLineItemQuantity​
changeOrderState​
changePaymentState​
changePriceRoundingMode​
changeShipmentState​
changeTaxCalculationMode​
changeTaxMode​
changeTaxRoundingMode​
importCustomLineItemState​
importLineItemState​
removeCustomLineItem​
removeDelivery​
removeDiscountCode​
removeItemShippingAddress​
removeLineItem​
removeParcelFromDelivery​
removePayment​
setBillingAddress​
setBillingAddressCustomField​
setBillingAddressCustomType​
setCountry​
setCustomField​
setCustomLineItemCustomField​
setCustomLineItemCustomType​
setCustomLineItemShippingDetails​
setCustomLineItemTaxAmount​
setCustomLineItemTaxRate​
setCustomShippingMethod​
setCustomType​
setCustomerEmail​
setCustomerGroup​
setCustomerId​
setDeliveryAddress​
setDeliveryAddressCustomField​
setDeliveryAddressCustomType​
setDeliveryCustomField​
setDeliveryCustomType​
setDeliveryItems​
setDirectDiscounts​
setDirectDiscountsIgnoreCartDiscounts​
setEstimatedDelivery​
setItemShippingAddressCustomField​
setItemShippingAddressCustomType​
setLineItemCustomField​
setLineItemCustomType​
setLineItemDistributionChannel​
setLineItemPrice​
setLineItemShippingDetails​
setLineItemTaxAmount​
setLineItemTaxRate​
setLineItemTotalPrice​
setLocale​
setBusinessUnit​
setOrderNumber​
setOrderTotalTax​
setParcelCustomField​
setParcelCustomType​
setParcelItems​
setParcelMeasurements​
setParcelTrackingData​
setPurchaseOrderNumber​
setReturnInfo​
setReturnItemCustomField​
setReturnItemCustomType​
setReturnPaymentState​
setReturnShipmentState​
setShippingAddress​
setShippingAddressAndCustomShippingMethod​
setShippingAddressAndShippingMethod​
setShippingAddressCustomField​
setShippingAddressCustomType​
setShippingCustomField​
setShippingCustomType​
setShippingMethod​
setShippingMethodTaxAmount​
setShippingMethodTaxRate​
setShippingRateInput​
setStore​
transitionCustomLineItemState​
transitionLineItemState​
transitionState​
updateItemShippingAddress​
updateSyncInfo​
addLineItem​
addCustomLineItem​

Staged Order update actions

on Order

Set Order Number

orderNumber​
String​

Set Purchase Order Number

purchaseOrderNumber​
String​

Set Business Unit B2B B2X

businessUnit​

Set Customer ID

customerId​
String​

Set Customer Email

email​
String​

Set Customer Group

customerGroup​

Add LineItem

key​
String​
productId​
String​
sku​
String​
quantity​
Long​
variantId​
Int​
supplyChannel​
distributionChannel​
custom​
addedAt​
recurrenceInfo​
externalTaxRate​
externalPrice​
externalTotalPrice​
perMethodExternalTaxRate​
Default: []​
inventoryMode​
Can be None, TrackOnly, ReserveOnOrder, or ReserveOnCart​
shippingDetails​

LineItemRecurrenceInfoInputDraft

recurrencePolicy​
expiresAt​
priceSelectionMode​
Can be Dynamic, or Fixed​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

BaseMoneyInput

centPrecision​
highPrecision​

MoneyInput

currencyCode​
centAmount​
Long​

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

ExternalLineItemTotalPriceDraft

price​
totalPrice​

MethodExternalTaxRateDraft

shippingMethodKey​
String​
User-defined unique identifier of the Shipping Method in a Cart with Multiple ShippingMode.
taxRate​
External Tax Rate for the Shipping Method, if the Cart has External TaxMode.

InventoryMode

None
No inventory checks or modifications when adding items or ordering. Default for a new cart.
TrackOnly
Orders decrement the available quantity on the matching inventory entry; ordering fails only when no inventory entry exists for a line item.
ReserveOnOrder
Line items are reserved only for the duration of the ordering transaction; creating an order fails when an unavailable line item exists.
ReserveOnCart
Items are reserved when added to the cart. Not supported by this service.

ItemShippingDetailsDraftType

targets​
Default: []​
shippingTargets​
Default: []​
itemShippingAddressTargets​
Default: []​

ShippingTargetDraftType

quantity​
Long​
addressKey​
String​
shippingMethodKey​
String​

ShippingMethodTargetDraftType

quantity​
Long​
shippingMethodKey​
String​

ItemShippingAddressTargetDraftType

quantity​
Long​
addressKey​
String​

Remove LineItem

lineItemId​
String​
quantity​
Long​
lineItemKey​
String​
externalPrice​
externalTotalPrice​
shippingDetailsToRemove​

BaseMoneyInput

centPrecision​
highPrecision​

MoneyInput

currencyCode​
centAmount​
Long​

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

ExternalLineItemTotalPriceDraft

price​
totalPrice​

ItemShippingDetailsDraftType

targets​
Default: []​
shippingTargets​
Default: []​
itemShippingAddressTargets​
Default: []​

ShippingTargetDraftType

quantity​
Long​
addressKey​
String​
shippingMethodKey​
String​

ShippingMethodTargetDraftType

quantity​
Long​
shippingMethodKey​
String​

ItemShippingAddressTargetDraftType

quantity​
Long​
addressKey​
String​

Add CustomLineItem

name​
key​
String​
money​
slug​
String​
taxCategory​
externalTaxRate​
quantity​
Long​
custom​
Can be External, or Standard​
recurrenceInfo​
shippingDetails​

BaseMoneyInput

centPrecision​
highPrecision​

MoneyInput

currencyCode​
centAmount​
Long​

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

CustomLineItemPriceMode

External
Cart discounts are deactivated for the custom line items with this price mode.
Standard
This is the default mode.

CustomLineItemRecurrenceInfoInputDraft

recurrencePolicy​
expiresAt​

ItemShippingDetailsDraftType

targets​
Default: []​
shippingTargets​
Default: []​
itemShippingAddressTargets​
Default: []​

ShippingTargetDraftType

quantity​
Long​
addressKey​
String​
shippingMethodKey​
String​

ShippingMethodTargetDraftType

quantity​
Long​
shippingMethodKey​
String​

ItemShippingAddressTargetDraftType

quantity​
Long​
addressKey​
String​

Remove CustomLineItem

customLineItemId​
String​
customLineItemKey​
String​

Add Shopping List

shoppingList​
supplyChannel​
distributionChannel​

Set Order Total Tax

externalTotalGross​
externalTaxPortions​
Array of TaxPortionDraft​
Default: []​

MoneyInput

currencyCode​
centAmount​
Long​

TaxPortionDraft

Represents the portions that sum up to the totalGross field of a TaxedPrice.
The portions are calculated from the TaxRates. If a Tax Rate has SubRates, they are used and can be identified by name. Tax portions from Line Items with the same rate and name will be accumulated to the same tax portion.
name​
String​

Name of the tax portion.

rate​
Float​

A number in the range 0-1.

amount​

Money value for the tax portion.

Change TaxMode

taxMode​
Can be Disabled, External, ExternalAmount, or Platform​

TaxMode

Disabled
No taxes are added to the cart.
External
The tax rates are set externally per ExternalTaxRateDraft. A cart with this tax mode can only be ordered if all line items, all custom line items and the shipping method have an external tax rate set. The totalNet and totalGross as well as the taxPortions fields are calculated according to the taxRoundingMode.
ExternalAmount
The tax amounts and the tax rates as well as the tax portions are set externally per ExternalTaxAmountDraft. A cart with this tax mode can only be ordered if the cart itself and all line items, all custom line items and the shipping method have an external tax amount and rate set
Platform
The tax rates are selected from the TaxCategories based on the cart shipping address. The totalNet and totalGross as well as the taxPortions fields are calculated according to the taxRoundingMode.

Change Price RoundingMode

priceRoundingMode​
Can be HalfDown, HalfEven, or HalfUp​

RoundingMode

HalfDown
[Round half down](https://en.wikipedia.org/wiki/Rounding#Round_half_down)
HalfEven
[Round half to even](https://en.wikipedia.org/wiki/Rounding#Round_half_to_even). Default rounding mode as used in IEEE 754 computing functions and operators.
HalfUp
[Round half up](https://en.wikipedia.org/wiki/Rounding#Round_half_up)

Change Tax RoundingMode

taxRoundingMode​
Can be HalfDown, HalfEven, or HalfUp​

RoundingMode

HalfDown
[Round half down](https://en.wikipedia.org/wiki/Rounding#Round_half_down)
HalfEven
[Round half to even](https://en.wikipedia.org/wiki/Rounding#Round_half_to_even). Default rounding mode as used in IEEE 754 computing functions and operators.
HalfUp
[Round half up](https://en.wikipedia.org/wiki/Rounding#Round_half_up)

Change TaxCalculationMode

taxCalculationMode​
Can be LineItemLevel, or UnitPriceLevel​

TaxCalculationMode

LineItemLevel
Default. This calculation mode calculates the taxes after the unit price is multiplied with the quantity. E.g. `($1.08 * 3 = $3.24) * 1.19 = $3.8556 -> $3.86 rounded`
UnitPriceLevel
This calculation mode calculates the taxes on the unit price before multiplying with the quantity. E.g. `($1.08 * 1.19 = $1.2852 -> $1.29 rounded) * 3 = $3.87`

Add DiscountCode

code​
String​
validateDuplicates​
Boolean​
Default: false​

Remove DiscountCode

discountCode​

Set DirectDiscounts

discounts​

DirectDiscountDraft

Represents a CartDiscount that can only be associated with a single Cart or Order.
For an introduction to Direct Discounts and to understand how they work, see the Direct Discounts overview.
value​

Defines the effect the Discount will have.

target​

Defines what segment of the Cart will be discounted.

If value is set to giftLineItem, this must not be set.
participateInBestDealSelection​
Boolean​
  • If set to true, Direct Discounts compete against Product Discounts to apply the best deal.
  • If set to false, Direct Discounts are ignored when calculating the best deal comparison, and are applied on top of the discount type that offers the best deal.
This applies only when the DiscountCombinationMode for the Project is BestDeal.

CartDiscountValueInput

relative​
relativeCart​
absolute​
absoluteCart​
fixed​
fixedCart​
giftLineItem​

RelativeDiscountValueInput

permyriad​
Int​

RelativeCartDiscountValueInput

permyriad​
Int​
applicationMode​
Can be ProportionateDistribution, EvenDistribution, or IndividualApplication​

DiscountApplicationMode

ProportionateDistribution
EvenDistribution
IndividualApplication

AbsoluteDiscountValueInput

money​
Array of MoneyInput​

MoneyInput

currencyCode​
centAmount​
Long​

AbsoluteCartDiscountValueInput

money​
Array of MoneyInput​
applicationMode​
Can be ProportionateDistribution, EvenDistribution, or IndividualApplication​

FixedPriceDiscountValueInput

money​

CartDiscountValueBaseMoneyInput

centPrecision​
highPrecision​
currencyCode​
CurrencyCode and centAmount are deprecated. Please use Money(centPrecision) or HighPrecisionMoney(highPrecision).
centAmount​
Long​
CurrencyCode and centAmount are deprecated. Please use Money(centPrecision) or HighPrecisionMoney(highPrecision).

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

FixedPriceCartDiscountValueInput

money​
applicationMode​
Can be ProportionateDistribution, EvenDistribution, or IndividualApplication​

GiftLineItemValueInput

variantId​
Int​
distributionChannel​
supplyChannel​

CartDiscountTargetInput

lineItems​
customLineItems​
shipping​
multiBuyLineItems​
multiBuyCustomLineItems​
totalPrice​
pattern​

LineItemsTargetInput

predicate​
String​

CustomLineItemsTargetInput

predicate​
String​

ShippingTargetInput

dummy​
String​

MultiBuyLineItemsTargetInput

predicate​
String​
triggerQuantity​
Long​
discountedQuantity​
Long​
maxOccurrence​
Int​
selectionMode​
Can be Cheapest, or MostExpensive​

SelectionMode

Cheapest
MostExpensive

MultiBuyCustomLineItemsTargetInput

predicate​
String​
triggerQuantity​
Long​
discountedQuantity​
Long​
maxOccurrence​
Int​
selectionMode​
Can be Cheapest, or MostExpensive​

CartDiscountTotalPriceTargetInput

dummy​
String​

CartDiscountPatternTargetInput

triggerPattern​
targetPattern​
maxOccurrence​
Int​
selectionMode​
Can be Cheapest, or MostExpensive​

PatternComponentInput

CountOnLineItemUnits​
CountOnCustomLineItemUnits​

CountOnLineItemUnitsInput

predicate​
String​
minCount​
Int​
Default: 1​
maxCount​
Int​
excludeCount​
Int​

CountOnCustomLineItemUnitsInput

predicate​
String​
minCount​
Int​
Default: 1​
maxCount​
Int​
excludeCount​DEPRECATED
Int​

Please use 'triggerPattern' to exclude.

Set DirectDiscountsIgnoreCartDiscounts

directDiscountsIgnoreCartDiscounts​
Boolean​

Add Payment

Remove Payment

Change PaymentState

paymentState​
Can be BalanceDue, CreditOwed, Failed, Paid, or Pending​

PaymentState

BalanceDue
CreditOwed
Failed
Paid
Pending

Set Billing Address

address​

Set Shipping Address

address​

Add ItemShippingAddress

address​

Remove ItemShippingAddress

addressKey​
String​

Update ItemShippingAddress

address​

Set ShippingAddress and ShippingMethod

address​
shippingMethod​
externalTaxRate​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

Set ShippingAddress and Custom ShippingMethod

address​
shippingMethodName​
String​
shippingRate​
taxCategory​
externalTaxRate​
custom​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

Set ShippingMethod

shippingMethod​
externalTaxRate​
estimatedDelivery​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

EstimatedDeliveryDraft

from​
until​

Set Custom ShippingMethod

shippingMethodName​
String​
shippingRate​
taxCategory​
externalTaxRate​
custom​
estimatedDelivery​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

EstimatedDeliveryDraft

from​
until​

Set ShippingRateInput

shippingRateInput​

ShippingRateInputDraft

Classification​
Score​

ClassificationShippingRateInputDraft

key​
String​

Key of the value used as a programmatic identifier.

ScoreShippingRateInputDraft

score​
Int​

Abstract value for categorizing a Cart.

Add Delivery

deliveryKey​
String​
items​
Default: []​
parcels​
Default: []​
address​
custom​
shippingKey​
String​

DeliveryItemDraftType

id​
String​
quantity​
Long​

ParcelDataDraftType

key​
String​
measurements​
trackingData​
items​
Default: []​
custom​

ParcelMeasurementsDraftType

heightInMillimeter​
Int​
lengthInMillimeter​
Int​
widthInMillimeter​
Int​
weightInGram​
Int​

TrackingDataDraftType

trackingId​
String​
carrier​
String​
provider​
String​
providerTransaction​
String​
isReturn​
Boolean​
Default: false​

Remove Delivery

deliveryId​
String​
deliveryKey​
String​

Change ShipmentState

shipmentState​
Can be Backorder, Canceled, Delayed, Delivered, Partial, Pending, Ready, or Shipped​

ShipmentState

Backorder
Canceled
Delayed
Delivered
Partial
Pending
Ready
Shipped

Add ReturnInfo

items​
returnDate​
returnTrackingId​
String​

ReturnItemDraftType

key​
String​
quantity​
Long​
lineItemId​
String​
customLineItemId​
String​
comment​
String​
shipmentState​
Can be Advised, BackInStock, Returned, or Unusable​
custom​

ReturnShipmentState

Advised
BackInStock
Returned
Unusable

Set ReturnInfo

items​
Default: []​

ReturnInfoDraftType

items​
returnDate​
returnTrackingId​
String​

ReturnItemDraftType

key​
String​
quantity​
Long​
lineItemId​
String​
customLineItemId​
String​
comment​
String​
shipmentState​
Can be Advised, BackInStock, Returned, or Unusable​
custom​

ReturnShipmentState

Advised
BackInStock
Returned
Unusable

Set ReturnShipmentState

returnItemId​
String​
returnItemKey​
String​
shipmentState​
Can be Advised, BackInStock, Returned, or Unusable​

ReturnShipmentState

Advised
BackInStock
Returned
Unusable

Set ReturnPaymentState

returnItemId​
String​
returnItemKey​
String​
paymentState​
Can be Initial, NonRefundable, NotRefunded, or Refunded​

ReturnPaymentState

Initial
NonRefundable
NotRefunded
Refunded

Change OrderState

orderState​
Can be Cancelled, Complete, Confirmed, or Open​

OrderState

Cancelled
Complete
Confirmed
Open

Transition State

force​
Boolean​
Default: false​

Update SyncInfo

syncedAt​
externalId​
String​

Set Locale

locale​

Set Country

country​

Set Store

Set Estimated Delivery

estimatedDelivery​
shippingKey​
String​

EstimatedDeliveryDraft

from​
until​

Set Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set CustomField

name​
String​
value​
String​

on Line Item

Change LineItem Quantity

lineItemId​
String​
quantity​
Long​
lineItemKey​
String​
externalPrice​
externalTotalPrice​

BaseMoneyInput

centPrecision​
highPrecision​

MoneyInput

currencyCode​
centAmount​
Long​

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

ExternalLineItemTotalPriceDraft

price​
totalPrice​

Set LineItem TaxRate

lineItemId​
String​
externalTaxRate​
shippingKey​
String​
lineItemKey​
String​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

Set LineItem TaxAmount

lineItemId​
String​
externalTaxAmount​
shippingKey​
String​
lineItemKey​
String​

ExternalTaxAmountDraft

totalGross​
Total gross amount (totalNet + taxPortions) of the Line Item or Custom Line Item.
taxRate​

Tax Rates and subrates of states and countries.

MoneyInput

currencyCode​
centAmount​
Long​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

Set LineItem Price

lineItemId​
String​
externalPrice​
lineItemKey​
String​

BaseMoneyInput

centPrecision​
highPrecision​

MoneyInput

currencyCode​
centAmount​
Long​

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

Set LineItem TotalPrice

lineItemId​
String​
externalTotalPrice​
lineItemKey​
String​

ExternalLineItemTotalPriceDraft

price​
totalPrice​

BaseMoneyInput

centPrecision​
highPrecision​

MoneyInput

currencyCode​
centAmount​
Long​

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

Set LineItem DistributionChannel

lineItemId​
String​
distributionChannel​
lineItemKey​
String​

Set LineItem ShippingDetails

lineItemId​
String​
shippingDetails​
lineItemKey​
String​

ItemShippingDetailsDraftType

targets​
Default: []​
shippingTargets​
Default: []​
itemShippingAddressTargets​
Default: []​

ShippingTargetDraftType

quantity​
Long​
addressKey​
String​
shippingMethodKey​
String​

ShippingMethodTargetDraftType

quantity​
Long​
shippingMethodKey​
String​

ItemShippingAddressTargetDraftType

quantity​
Long​
addressKey​
String​

Set LineItem Custom Type

lineItemId​
String​
fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​
lineItemKey​
String​

Set LineItem CustomField

lineItemId​
String​
name​
String​
value​
String​
lineItemKey​
String​

Transition LineItem State

lineItemId​
String​
lineItemKey​
String​
quantity​
Long​
actualTransitionDate​

Import LineItem State

lineItemId​
String​
lineItemKey​
String​
state​
Array of ItemStateDraftType​

ItemStateDraftType

quantity​
Long​
state​

on Custom Line Item

Change CustomLineItem Quantity

customLineItemId​
String​
customLineItemKey​
String​
quantity​
Long​

Set CustomLineItem TaxRate

customLineItemId​
String​
customLineItemKey​
String​
externalTaxRate​
shippingKey​
String​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

Set CustomLineItem TaxAmount

customLineItemId​
String​
customLineItemKey​
String​
externalTaxAmount​
shippingKey​
String​

ExternalTaxAmountDraft

totalGross​
Total gross amount (totalNet + taxPortions) of the Line Item or Custom Line Item.
taxRate​

Tax Rates and subrates of states and countries.

MoneyInput

currencyCode​
centAmount​
Long​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

Change CustomLineItem Money

customLineItemId​
String​
customLineItemKey​
String​
money​

BaseMoneyInput

centPrecision​
highPrecision​

MoneyInput

currencyCode​
centAmount​
Long​

HighPrecisionMoneyInput

currencyCode​
preciseAmount​
Long​
fractionDigits​
Int​
centAmount​
Long​

Set CustomLineItem ShippingDetails

customLineItemId​
String​
customLineItemKey​
String​
shippingDetails​

ItemShippingDetailsDraftType

targets​
Default: []​
shippingTargets​
Default: []​
itemShippingAddressTargets​
Default: []​

ShippingTargetDraftType

quantity​
Long​
addressKey​
String​
shippingMethodKey​
String​

ShippingMethodTargetDraftType

quantity​
Long​
shippingMethodKey​
String​

ItemShippingAddressTargetDraftType

quantity​
Long​
addressKey​
String​

Set CustomLineItem Custom Type

customLineItemId​
String​
customLineItemKey​
String​
fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set CustomLineItem CustomField

customLineItemId​
String​
customLineItemKey​
String​
name​
String​
value​
String​

Transition CustomLineItem State

customLineItemId​
String​
customLineItemKey​
String​
quantity​
Long​
actualTransitionDate​

Import CustomLineItem State

customLineItemId​
String​
customLineItemKey​
String​
state​
Array of ItemStateDraftType​

ItemStateDraftType

quantity​
Long​
state​

on Billing Address

Set Billing Address Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set Billing Address CustomField

name​
String​
value​
String​

on Shipping Address

Set Shipping Address Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set Shipping Address CustomField

name​
String​
value​
String​

on ItemShipping Address

Set ItemShipping Address Custom Type

addressKey​
String​
fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set ItemShipping Address CustomField

addressKey​
String​
name​
String​
value​
String​

on Shipping Method

Set ShippingMethod TaxAmount

externalTaxAmount​
shippingKey​
String​

ExternalTaxAmountDraft

totalGross​
Total gross amount (totalNet + taxPortions) of the Line Item or Custom Line Item.
taxRate​

Tax Rates and subrates of states and countries.

MoneyInput

currencyCode​
centAmount​
Long​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

Set ShippingMethod TaxRate

externalTaxRate​
shippingKey​
String​

ExternalTaxRateDraft

Controls calculation of taxed prices for Line Items, Custom Line Items, and Shipping Methods as explained in Cart tax calculation.
name​
String​

Name of the Tax Rate.

amount​
Float​

Percentage in the range of 0-1.

  • If no subRates are specified, a value must be defined.
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
country​

Country for which the tax applies.

state​
String​

State within the specified country.

subRates​
Array of SubRateDraft​
Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.
Default: []​
includedInPrice​
Boolean​
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
Default: false​
taxRoundingTarget​
Determines whether the taxRoundingMode of the Cart or Order is applied to the net price or the tax amount when includedInPrice is true. The field is ignored if includedInPrice is false.
Can be Net, or Tax​Default: Net​

SubRateDraft

name​
String​
amount​
Float​

TaxRoundingTarget

Net
Default. `taxRoundingMode` is applied to the net price and the tax amount is the exact remainder. E.g. at 20% on `1.23`, the net rounds to `1.02` and the tax is `0.21`.
Tax
`taxRoundingMode` is applied to the tax amount and the net price is the exact remainder. E.g. at 20% on `1.23`, the tax rounds to `0.20` and the net is `1.03`. Has no effect when the rate is not included in the price.

on Shipping

Set Shipping Custom Type

shippingKey​
String​
fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set Shipping CustomField

shippingKey​
String​
name​
String​
value​
String​

on Delivery

Set Delivery Address

deliveryId​
String​
deliveryKey​
String​
address​

Add Parcel to Delivery

deliveryId​
String​
deliveryKey​
String​
parcelKey​
String​
measurements​
trackingData​
items​
Default: []​
custom​

ParcelMeasurementsDraftType

heightInMillimeter​
Int​
lengthInMillimeter​
Int​
widthInMillimeter​
Int​
weightInGram​
Int​

TrackingDataDraftType

trackingId​
String​
carrier​
String​
provider​
String​
providerTransaction​
String​
isReturn​
Boolean​
Default: false​

DeliveryItemDraftType

id​
String​
quantity​
Long​

Remove Parcel from Delivery

parcelId​
String​
parcelKey​
String​

Set Delivery Items

deliveryId​
String​
deliveryKey​
String​
items​

DeliveryItemDraftType

id​
String​
quantity​
Long​

Set Delivery Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​
deliveryId​
String​
deliveryKey​
String​

Set Delivery CustomField

name​
String​
value​
String​
deliveryId​
String​
deliveryKey​
String​

on Delivery Address

Set Delivery Address Custom Type

deliveryId​
String​
deliveryKey​
String​
fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set Delivery Address CustomField

deliveryId​
String​
deliveryKey​
String​
name​
String​
value​
String​

on Parcel

Set Parcel Measurements

parcelId​
String​
parcelKey​
String​
measurements​

ParcelMeasurementsDraftType

heightInMillimeter​
Int​
lengthInMillimeter​
Int​
widthInMillimeter​
Int​
weightInGram​
Int​

Set Parcel Tracking Data

parcelId​
String​
parcelKey​
String​
trackingData​

TrackingDataDraftType

trackingId​
String​
carrier​
String​
provider​
String​
providerTransaction​
String​
isReturn​
Boolean​
Default: false​

Set Parcel Items

parcelId​
String​
parcelKey​
String​
items​

DeliveryItemDraftType

id​
String​
quantity​
Long​

Set Parcel Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​
parcelId​
String​
parcelKey​
String​

Set Parcel CustomField

name​
String​
value​
String​
parcelId​
String​
parcelKey​
String​

on ReturnItem

Set ReturnItem Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​
returnItemId​
String​
returnItemKey​
String​

Set ReturnItem CustomField

name​
String​
value​
String​
returnItemId​
String​
returnItemKey​
String​