This is a global notification. You can write markdown here! Link to official website
Long Page with Many Types
This is a replication of a very long page from the docs repository that contains many types. This page exists for testing optimizations.
Representations
List of Types
ApiClient
idString | The unique ID of the API client.
This is the OAuth2 |
createdAtDateTime | |
nameString | |
scopeString | A whitespace separated list of the OAuth scopes.
This is the OAuth2 |
lastUsedAtDate | The last day this API Client was used to obtain a token. |
deleteAtDateTime | If set, the client will be deleted on (or shortly after) this point in time. |
secretString | The secret is only shown once in the response of creating the API Client.
This is the OAuth2 |
ApiClientDraft
nameString | |
scopeString | |
deleteDaysAfterCreationInt | If set, the client will be deleted after the specified amount of days. |
ApiClientPagedQueryResponse
limitInt | |
countInt | |
totalInt | |
offsetInt | |
resultsArray of ApiClient |
CartAddCustomLineItemAction
actionString | "addCustomLineItem" |
money | |
name | |
quantityInt | |
slugString | |
taxCategoryTaxCategoryResourceIdentifier | |
externalTaxRate | |
customCustomFieldsDraft |
{"action" : "addCustomLineItem","name" : {"en" : "Name EN","de" : "Name DE"},"quantity" : 1,"money" : {"currencyCode" : "EUR","centAmount" : 4200},"slug" : "mySlug","taxCategory" : {"typeId" : "tax-category","id" : "{{category-id}}"}}
CartAddDiscountCodeAction
actionString | "addDiscountCode" |
codeString |
{"action" : "addDiscountCode","code" : "mydiscountcode"}
CartAddItemShippingAddressAction
actionString | "addItemShippingAddress" |
address |
{"action" : "addItemShippingAddress","address" : {"id" : "exampleAddress","key" : "exampleKey","title" : "My Address","salutation" : "Mr.","firstName" : "Example","lastName" : "Person","streetName" : "Examplary Street","streetNumber" : "4711","additionalStreetInfo" : "Backhouse","postalCode" : "80933","city" : "Exemplary City","region" : "Exemplary Region","state" : "Exemplary State","country" : "DE","company" : "My Company Name","department" : "Sales","building" : "Hightower 1","apartment" : "247","pOBox" : "2471","phone" : "+49 89 12345678","mobile" : "+49 171 2345678","email" : "mail@mail.com","fax" : "+49 89 12345679","additionalAddressInfo" : "no additional Info","externalId" : "Information not needed"}}
CartAddLineItemAction
actionString | "addLineItem" |
distributionChannel | |
externalTaxRate | |
productIdString | |
variantIdInt | |
skuString | |
quantityInt | |
supplyChannel | |
externalPrice | |
externalTotalPrice | |
shippingDetails | |
customCustomFieldsDraft |
{"action" : "addLineItem","productId" : "{{product-id}}","variantId" : 2,"quantity" : 1,"supplyChannel" : {"typeId" : "channel","id" : "{{channel-id}}"},"distributionChannel" : {"typeId" : "channel","id" : "{{channel-id}}"},"externalTaxRate" : {"name" : "StandardExternalTaxRate","amount" : 0.19,"country" : "DE","state" : "Bavaria"},"shippingDetails" : {"targets" : [ {"addressKey" : "AddressKeyStringFromAddress","quantity" : 2} ]}}
CartAddPaymentAction
actionString | "addPayment" |
paymentPaymentResourceIdentifier |
{"action" : "addPayment","payment" : {"id" : "{{payment-id}}","typeId" : "payment"}}
CartAddShoppingListAction
actionString | "addShoppingList" |
shoppingListShoppingListResourceIdentifier | |
supplyChannel | |
distributionChannel |
{"action" : "addShoppingList","shoppingList" : {"id" : "{{shopping-list-id}}","typeId" : "shopping-list"},"supplyChannel" : {"typeId" : "channel","id" : "{{channel-id}}"},"distributionChannel" : {"typeId" : "channel","id" : "{{channel-id}}"}}
CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
actionString | "applyDeltaToCustomLineItemShippingDetailsTargets" |
customLineItemIdString | |
targetsDeltaArray of ItemShippingTarget |
{"action" : "applyDeltaToCustomLineItemShippingDetailsTargets","customLineItemId" : "{{lineItemId}}","targetsDelta" : [ {"addressKey" : "addressKeyString","quantity" : 1} ]}
CartApplyDeltaToLineItemShippingDetailsTargetsAction
actionString | "applyDeltaToLineItemShippingDetailsTargets" |
lineItemIdString | |
targetsDeltaArray of ItemShippingTarget |
{"action" : "applyDeltaToLineItemShippingDetailsTargets","lineItemId" : "{{lineItemId}}","targetsDelta" : [ {"addressKey" : "addressKeyString","quantity" : 1} ]}
CartChangeCustomLineItemMoneyAction
actionString | "changeCustomLineItemMoney" |
customLineItemIdString | |
money |
{"action" : "changeCustomLineItemMoney","customLineItemId" : "{{customLineItemId}}","money" : {"currencyCode" : "EUR","centAmount" : 4200}}
CartChangeCustomLineItemQuantityAction
actionString | "changeCustomLineItemQuantity" |
customLineItemIdString | |
quantityInt |
{"action" : "changeCustomLineItemQuantity","customLineItemId" : "{{lineItemId}}","quantity" : 1}
CartChangeLineItemQuantityAction
actionString | "changeLineItemQuantity" |
lineItemIdString | |
quantityInt | |
externalPrice | |
externalTotalPrice |
{"action" : "changeLineItemQuantity","lineItemId" : "{{lineItemId}}","quantity" : 1}
CartChangeTaxCalculationModeAction
actionString | "changeTaxCalculationMode" |
taxCalculationMode |
{"action" : "changeTaxCalculationMode","taxCalculationMode" : "LineItemLevel"}
CartChangeTaxModeAction
actionString | "changeTaxMode" |
taxMode |
{"action" : "changeTaxMode","taxMode" : "Platform"}
CartChangeTaxRoundingModeAction
actionString | "changeTaxRoundingMode" |
taxRoundingMode |
{"action" : "changeTaxRoundingMode","taxRoundingMode" : "HalfUp"}
CartDraft
keyString | User-specific unique identifier of the cart. |
currencyCurrencyCode | A three-digit currency code as per ISO 4217. |
customerIdString | Id of an existing Customer. |
customerEmailString | |
customerGroupCustomerGroupResourceIdentifier | Will be set automatically when the |
anonymousIdString | Assigns the new cart to an anonymous session (the customer has not signed up/in yet). |
storeStoreResourceIdentifier | Assigns the new cart to the store. The store assignment can not be modified. |
countryString | A two-digit country code as per ISO 3166-1 alpha-2. |
inventoryMode | Default inventory mode is |
taxMode | The default tax mode is |
taxRoundingMode | The default tax rounding mode is |
taxCalculationMode | The default tax calculation mode is |
lineItemsArray of LineItemDraft | |
customLineItemsArray of CustomLineItemDraft | |
shippingAddress | The shipping address is used to determine the eligible shipping methods and rates as well as the tax rate of the line items. |
billingAddress | |
shippingMethodShippingMethodResourceIdentifier | |
externalTaxRateForShippingMethod | An external tax rate can be set for the |
localeString | Must be one of the languages supported for this project |
deleteDaysAfterLastModificationInt | The cart will be deleted automatically if it hasn't been modified for the specified amount of days and it is in the |
origin | The default origin is |
shippingRateInput | The shippingRateInput is used as an input to select a ShippingRatePriceTier. Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set. |
itemShippingAddressesArray of BaseAddress | Contains addresses for carts with multiple shipping addresses.
Each address must contain a key which is unique in this cart.
Line items will use these keys to reference the addresses under their |
discountCodesArray of String | The code of existing DiscountCodes. |
customCustomFieldsDraft | The custom fields. |
CartOrigin
CustomerMerchant
CartPagedQueryResponse
limitInt | |
countInt | |
totalInt | |
offsetInt | |
resultsArray of Cart |
CartRecalculateAction
actionString | "recalculate" |
updateProductDataBoolean | If set to |
{"action" : "recalculate","updateProductData" : false}
CartReference
idString | |
typeIdString | "cart" |
objCart |
CartRemoveCustomLineItemAction
actionString | "removeCustomLineItem" |
customLineItemIdString |
{"action" : "removeCustomLineItem","customLineItemId" : "{{customLineItemId}}"}
CartRemoveDiscountCodeAction
actionString | "removeDiscountCode" |
discountCodeDiscountCodeReference |
{"action" : "removeDiscountCode","discountCode" : {"typeId" : "discount-code","id" : "{{discount-code-id}}"}}
CartRemoveItemShippingAddressAction
actionString | "removeItemShippingAddress" |
addressKeyString |
{"action" : "removeItemShippingAddress","addressKey" : "{{addressKey}}"}
CartRemoveLineItemAction
actionString | "removeLineItem" |
lineItemIdString | |
quantityInt | |
externalPrice | |
externalTotalPrice | |
shippingDetailsToRemove |
{"action" : "removeLineItem","lineItemId" : "{{lineItemId}}","quantity" : 1,"externalPrice" : {"currencyCode" : "EUR","centAmount" : 4000},"shippingDetailsToRemove" : {"targets" : [ {"addressKey" : "AddressKeyStringFromAddress","quantity" : 2} ]}}
CartRemovePaymentAction
actionString | "removePayment" |
paymentPaymentResourceIdentifier |
{"action" : "removePayment","payment" : {"id" : "{{payment-id}}","typeId" : "payment"}}
CartResourceIdentifier
idString | |
keyString | |
typeIdString | "cart" |
CartSetAnonymousIdAction
actionString | "setAnonymousId" |
anonymousIdString | If not set, any existing anonymous ID will be removed. |
{"action" : "setAnonymousId","anonymousId" : "idString"}
CartSetBillingAddressAction
actionString | "setBillingAddress" |
address |
{"action" : "setBillingAddress","address" : {"id" : "exampleAddress","key" : "exampleKey","title" : "My Address","salutation" : "Mr.","firstName" : "Example","lastName" : "Person","streetName" : "Examplary Street","streetNumber" : "4711","additionalStreetInfo" : "Backhouse","postalCode" : "80933","city" : "Exemplary City","region" : "Exemplary Region","state" : "Exemplary State","country" : "DE","company" : "My Company Name","department" : "Sales","building" : "Hightower 1","apartment" : "247","pOBox" : "2471","phone" : "+49 89 12345678","mobile" : "+49 171 2345678","email" : "mail@mail.com","fax" : "+49 89 12345679","additionalAddressInfo" : "no additional Info","externalId" : "Information not needed"}}
CartSetBillingAddressCustomFieldAction
actionString | "setBillingAddressCustomField" |
nameString | |
valueAny |
{"action" : "setBillingAddressCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartSetBillingAddressCustomTypeAction
actionString | "setBillingAddressCustomType" |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setBillingAddressCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CartSetCartTotalTaxAction
actionString | "setCartTotalTax" |
externalTotalGross | The total gross amount of the cart (totalNet + taxes). |
externalTaxPortionsArray of TaxPortionDraft |
{"action" : "setCartTotalTax","externalTotalGross" : {"currencyCode" : "EUR","centAmount" : 10000}}
CartSetCountryAction
actionString | "setCountry" |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
{"action" : "setCountry","country" : "DE"}
CartSetCustomerEmailAction
actionString | "setCustomerEmail" |
emailString |
{"action" : "setCustomerEmail","email" : "foo@bar.com"}
CartSetCustomerGroupAction
actionString | "setCustomerGroup" |
customerGroupCustomerGroupResourceIdentifier |
{"action" : "setCustomerGroup","customerGroup" : {"id" : "{{customer-group-id}}","typeId" : "customer-group"}}
CartSetCustomerIdAction
actionString | "setCustomerId" |
customerIdString | If set, a customer with the given ID must exist in the project. |
{"action" : "setCustomerId","customerId" : "{{customer-id}}"}
CartSetCustomFieldAction
actionString | "setCustomField" |
nameString | |
valueAny |
{"action" : "setCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartSetCustomLineItemCustomFieldAction
actionString | "setCustomLineItemCustomField" |
customLineItemIdString | |
nameString | |
valueAny |
{"action" : "setCustomLineItemCustomField","customLineItemId" : "{{customLineItemId}}","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartSetCustomLineItemCustomTypeAction
actionString | "setCustomLineItemCustomType" |
customLineItemIdString | |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setCustomLineItemCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"},"customLineItemId" : "{{customLineItemId}}"}
CartSetCustomLineItemShippingDetailsAction
actionString | "setCustomLineItemShippingDetails" |
customLineItemIdString | |
shippingDetails |
{"action" : "setCustomLineItemShippingDetails","customLineItemId" : "{{lineItemId}}","shippingDetails" : {"targets" : [ {"addressKey" : "{{addressKey}}","quantity" : 1} ]}}
CartSetCustomLineItemTaxAmountAction
actionString | "setCustomLineItemTaxAmount" |
customLineItemIdString | |
externalTaxAmount |
{"action" : "setCustomLineItemTaxAmount","customLineItemId" : "{{customLineItemId}}","externalTaxAmount" : {"totalGross" : {"centAmount" : 2000000,"currencyCode" : "EUR"},"taxRate" : {"name" : "myTaxRate","amount" : 0.19,"country" : "DE"}}}
CartSetCustomLineItemTaxRateAction
actionString | "setCustomLineItemTaxRate" |
customLineItemIdString | |
externalTaxRate |
{"action" : "setCustomLineItemTaxRate","customLineItemId" : "{{customLineItemId}}","externalTaxRate" : {"name" : "TaxRateName","country" : "DE","amount" : 0.19}}
CartSetCustomShippingMethodAction
actionString | "setCustomShippingMethod" |
shippingMethodNameString | |
shippingRateShippingRateDraft | |
taxCategoryTaxCategoryResourceIdentifier | |
externalTaxRate |
{"action" : "setCustomShippingMethod","shippingMethodName" : "myCustomShippingMethod","shippingRate" : {"price" : {"currencyCode" : "EUR","centAmount" : 4200}},"taxCategory" : {"id" : "{{category-id}}","typeId" : "tax-category"}}
CartSetCustomTypeAction
actionString | "setCustomType" |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CartSetDeleteDaysAfterLastModificationAction
actionString | "setDeleteDaysAfterLastModification" |
deleteDaysAfterLastModificationInt |
{"action" : "setDeleteDaysAfterLastModification","deleteDaysAfterLastModification" : 90}
CartSetDeliveryAddressCustomFieldAction
actionString | "setDeliveryAddressCustomField" |
deliveryIdString | |
nameString | |
valueAny |
{"action" : "setDeliveryAddressCustomField","deliveryId" : "{{delivery-id}}","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartSetDeliveryAddressCustomTypeAction
actionString | "setDeliveryAddressCustomType" |
deliveryIdString | |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setDeliveryAddressCustomType","deliveryId" : "{{delivery-id}}","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CartSetItemShippingAddressCustomFieldAction
actionString | "setItemShippingAddressCustomField" |
addressKeyString | |
nameString | |
valueAny |
{"action" : "setItemShippingAddressCustomField","addressKey" : "{{address-key}}","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartSetItemShippingAddressCustomTypeAction
actionString | "setItemShippingAddressCustomType" |
addressKeyString | |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setItemShippingAddressCustomType","addressKey" : "{{address-key}}","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CartSetKeyAction
keyString | |
actionString | "setKey" |
{"action" : "setKey","key" : "myNewKey"}
CartSetLineItemCustomFieldAction
actionString | "setLineItemCustomField" |
lineItemIdString | |
nameString | |
valueAny |
{"action" : "setLineItemCustomField","lineItemId" : "{{lineItemId}}","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartSetLineItemCustomTypeAction
actionString | "setLineItemCustomType" |
lineItemIdString | |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setLineItemCustomType","lineItemId" : "{{lineItemId}}","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CartSetLineItemDistributionChannelAction
actionString | "setLineItemDistributionChannel" |
lineItemIdString | |
distributionChannel |
{"action" : "setLineItemDistributionChannel","lineItemId" : "{{lineItemId}}","distributionChannel" : {"typeId" : "channel","id" : "{{channel-id}}"}}
CartSetLineItemPriceAction
actionString | "setLineItemPrice" |
lineItemIdString | |
externalPrice |
{"action" : "setLineItemPrice","lineItemId" : "{{lineItemId}}","externalPrice" : {"currencyCode" : "EUR","centAmount" : 4000}}
CartSetLineItemShippingDetailsAction
actionString | "setLineItemShippingDetails" |
lineItemIdString | |
shippingDetails |
{"action" : "setLineItemShippingDetails","lineItemId" : "{{lineItemId}}","shippingDetails" : {"targets" : [ {"addressKey" : "{{addressKey}}","quantity" : 1} ]}}
CartSetLineItemTaxAmountAction
actionString | "setLineItemTaxAmount" |
lineItemIdString | |
externalTaxAmount |
{"action" : "setLineItemTaxAmount","lineItemId" : "{{lineItemId}}","externalTaxAmount" : {"totalGross" : {"currencyCode" : "EUR","centAmount" : 100},"taxRate" : {"name" : "myTaxRate","amount" : 0.19,"country" : "DE"}}}
CartSetLineItemTaxRateAction
actionString | "setLineItemTaxRate" |
lineItemIdString | |
externalTaxRate |
{"action" : "setLineItemTaxRate","lineItemId" : "{{lineItemId}}","externalTaxRate" : {"name" : "myTaxRate","amount" : 0.19,"country" : "DE"}}
CartSetLineItemTotalPriceAction
actionString | "setLineItemTotalPrice" |
lineItemIdString | |
externalTotalPrice |
{"action" : "setLineItemTotalPrice","lineItemId" : "{{lineItemId}}","externalTotalPrice" : {"price" : {"currencyCode" : "EUR","centAmount" : 4200},"totalPrice" : {"currencyCode" : "EUR","centAmount" : 4200}}}
CartSetLocaleAction
actionString | "setLocale" |
localeString |
{"action" : "setLocale","locale" : "de-DE"}
CartSetShippingAddressAction
actionString | "setShippingAddress" |
address |
{"action" : "setShippingAddress","address" : {"id" : "exampleAddress","key" : "exampleKey","title" : "My Address","salutation" : "Mr.","firstName" : "Example","lastName" : "Person","streetName" : "Examplary Street","streetNumber" : "4711","additionalStreetInfo" : "Backhouse","postalCode" : "80933","city" : "Exemplary City","region" : "Exemplary Region","state" : "Exemplary State","country" : "DE","company" : "My Company Name","department" : "Sales","building" : "Hightower 1","apartment" : "247","pOBox" : "2471","phone" : "+49 89 12345678","mobile" : "+49 171 2345678","email" : "mail@mail.com","fax" : "+49 89 12345679","additionalAddressInfo" : "no additional Info","externalId" : "Information not needed"}}
CartSetShippingAddressCustomFieldAction
actionString | "setShippingAddressCustomField" |
nameString | |
valueAny |
{"action" : "setShippingAddressCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartSetShippingAddressCustomTypeAction
actionString | "setShippingAddressCustomType" |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setShippingAddressCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CartSetShippingMethodAction
actionString | "setShippingMethod" |
shippingMethodShippingMethodResourceIdentifier | |
externalTaxRate |
{"action" : "setShippingMethod","shippingMethod" : {"id" : "{{shipping-method-id}}","typeId" : "shipping-method"}}
CartSetShippingMethodTaxAmountAction
actionString | "setShippingMethodTaxAmount" |
externalTaxAmount |
{"action" : "setShippingMethodTaxAmount","externalTaxAmount" : {"totalGross" : {"centAmount" : 2000000,"currencyCode" : "EUR"},"taxRate" : {"name" : "myTaxRate","amount" : 0.19,"country" : "DE"}}}
CartSetShippingMethodTaxRateAction
actionString | "setShippingMethodTaxRate" |
externalTaxRate |
{"action" : "setShippingMethodTaxRate","externalTaxRate" : {"name" : "myTaxRate","amount" : 0.19,"country" : "DE"}}
CartSetShippingRateInputAction
actionString | "setShippingRateInput" |
shippingRateInput | Based on the definition of ShippingRateInputType. If CartClassification is defined, it must be ClassificationShippingRateInput. If CartScore is defined, it must be ScoreShippingRateInput. Otherwise it can not bet set. |
{"action" : "setShippingRateInput","shippingRateInput" : {"type" : "Classification","key" : "shippingRateString"}}
CartState
ActiveMergedOrdered
CartUpdate
versionInt | |
actionsArray of CartUpdateAction |
CartUpdateAction
actionString |
CartUpdateItemShippingAddressAction
actionString | "updateItemShippingAddress" |
address |
{"action" : "updateItemShippingAddress","address" : {"id" : "exampleAddress","key" : "exampleKey","title" : "My Address","salutation" : "Mr.","firstName" : "Example","lastName" : "Person","streetName" : "Examplary Street","streetNumber" : "4711","additionalStreetInfo" : "Backhouse","postalCode" : "80933","city" : "Exemplary City","region" : "Exemplary Region","state" : "Exemplary State","country" : "DE","company" : "My Company Name","department" : "Sales","building" : "Hightower 1","apartment" : "247","pOBox" : "2471","phone" : "+49 89 12345678","mobile" : "+49 171 2345678","email" : "mail@mail.com","fax" : "+49 89 12345679","additionalAddressInfo" : "no additional Info","externalId" : "Information not needed"}}
ClassificationShippingRateInput
keyString | |
typeString | "Classification" |
label |
ClassificationShippingRateInputDraft
keyString | |
typeString | "Classification" |
CustomLineItem
idString | The unique ID of this CustomLineItem. |
name | The name of this CustomLineItem. |
money | The cost to add to the cart. The amount can be negative. |
taxedPrice | Set once the |
totalPrice | The total price of this custom line item.
If custom line item is discounted, then the |
slugString | A unique String in the cart to identify this CustomLineItem. |
quantityInt | The amount of a CustomLineItem in the cart. Must be a positive integer. |
stateArray of ItemState | |
taxCategoryTaxCategoryReference | |
taxRateTaxRate | Will be set automatically in the |
discountedPricePerQuantityArray of DiscountedLineItemPriceForQuantity | |
shippingDetails | Container for custom line item specific address(es).
CustomLineItem fields that can be used in query predicates: |
customCustomFields |
CustomLineItemDraft
name | |
quantityInt | The amount of a CustomLineItemin the cart. Must be a positive integer. |
money | |
slugString | |
taxCategoryTaxCategoryResourceIdentifier | The given tax category will be used to select a tax rate when a cart has the TaxMode |
externalTaxRate | An external tax rate can be set if the cart has the |
shippingDetails | Container for custom line item specific address(es). |
customCustomFieldsDraft | The custom fields. |
CustomLineItemImportDraft
name | |
quantityInt | The amount of a CustomLineItem in the cart. Must be a positive integer. |
money | The cost to add to the cart. The amount can be negative. |
slugString | |
stateArray of ItemState | |
taxRateTaxRate | |
taxCategoryTaxCategoryResourceIdentifier | |
shippingDetails | |
customCustomFieldsDraft | The custom fields. |
DiscountCodeInfo
discountCodeDiscountCodeReference | |
state |
DiscountCodeState
NotActiveDoesNotMatchCartMatchesCartMaxApplicationReachedApplicationStoppedByPreviousDiscountNotValid
DiscountedLineItemPortion
discount | |
discountedAmount |
DiscountedLineItemPrice
value | |
includedDiscountsArray of DiscountedLineItemPortion |
DiscountedLineItemPriceForQuantity
quantityFloat | |
discountedPrice |
ExternalLineItemTotalPrice
ExternalTaxAmountDraft
totalGross | The total gross amount of the item (totalNet + taxes). |
taxRate |
ExternalTaxRateDraft
nameString | |
amountFloat | Percentage in the range of [0..1].
Must be supplied if no |
countryString | A two-digit country code as per ISO 3166-1 alpha-2. |
stateString | The state in the country |
subRatesArray of SubRate | For countries (e.g. the US) where the total tax is a combination of multiple taxes (e.g. state and local taxes). |
includedInPriceBoolean | The default value for |
InventoryMode
TrackOnlyReserveOnOrderNone
ItemShippingDetails
targetsArray of ItemShippingTarget | Used to map what sub-quantity should be shipped to which address. Duplicate address keys are not allowed. |
validBoolean |
|
ItemShippingDetailsDraft
targetsArray of ItemShippingTarget | Used to capture one or more (custom) line item specific shipping addresses.
By specifying sub-quantities, it is possible to set multiple shipping addresses for one line item.
A cart can have |
ItemShippingTarget
addressKeyString | The key of the address in the cart's |
quantityFloat | The quantity of items that should go to the address with the specified |
LineItem
idString | The unique ID of this LineItem. |
lastModifiedAtDateTime | The date when the LineItem was last modified by one of the following actions setLineItemShippingDetails, addLineItem, removeLineItem, or changeLineItemQuantity. Optional only for backwards compatible reasons. When the LineItem is created lastModifiedAt is set to addedAt. |
productIdString | |
name | The product name. |
productSlug | The slug of a product is inserted on the fly. It is always up-to-date and can therefore be used to link to the product detail page of the product. It is empty if the product has been deleted. The slug is also empty if the cart or order is retrieved via Reference Expansion or is a snapshot in a Message. |
productTypeProductTypeReference | |
variantProductVariant | The variant data is saved when the variant is added to the cart, and not updated automatically. It can manually be updated with the Recalculate update action. |
price | The price of a line item is selected from the prices array of the product variant.
If the |
taxedPrice | Set once the |
totalPrice | The total price of this line item.
If the line item is discounted, then the |
quantityInt | The amount of a LineItem in the cart. Must be a positive integer. |
addedAtDateTime | When the line item was added to the cart. Optional for backwards compatibility reasons only. |
stateArray of ItemState | |
taxRateTaxRate | Will be set automatically in the |
supplyChannel | The supply channel identifies the inventory entries that should be reserved. The channel has the role InventorySupply. |
distributionChannel | The distribution channel is used to select a ProductPrice. The channel has the role ProductDistribution. |
discountedPricePerQuantityArray of DiscountedLineItemPriceForQuantity | |
priceMode | |
lineItemMode | |
shippingDetails | Container for line item specific address(es). |
customCustomFields |
LineItemDraft
productIdString | |
variantIdInt | |
skuString | |
quantityInt | The amount of a 1 |
addedAtDateTime | When the line item was added to the cart. Optional for backwards compatibility reasons only. |
supplyChannel | By providing supply channel information, you can unique identify inventory entries that should be reserved. The provided channel should have the InventorySupply role. |
distributionChannel | The channel is used to select a ProductPrice. The provided channel should have the ProductDistribution role. |
externalTaxRate | An external tax rate can be set if the cart has the |
externalPrice | Sets the line item |
externalTotalPrice | Sets the line item |
shippingDetails | Container for line item specific address(es). |
customCustomFieldsDraft | The custom fields. |
LineItemMode
StandardGiftLineItem
LineItemPriceMode
PlatformExternalTotalExternalPrice
ProductPublishScope
AllPrices
ReplicaCartDraft
keyString | User-specific unique identifier of the cart. |
referenceCartReference | OrderReference |
RoundingMode
HalfEvenHalfUpHalfDown
ScoreShippingRateInput
typeString | "Score" |
scoreFloat |
ScoreShippingRateInputDraft
typeString | "Score" |
scoreFloat |
ShippingInfo
shippingMethodNameString | |
price | Determined based on the ShippingRate and its tiered prices, and either the sum of LineItem prices or the |
shippingRateShippingRate | The shipping rate used to determine the price. |
taxedPrice | Set once the |
taxRateTaxRate | Will be set automatically in the |
taxCategoryTaxCategoryReference | |
shippingMethodShippingMethodReference | Not set if custom shipping method is used. |
deliveriesArray of Delivery | Deliveries are compilations of information on how the articles are being delivered to the customers. |
discountedPrice | |
shippingMethodState | Indicates whether the ShippingMethod referenced in this ShippingInfo is allowed for the cart or not. |
ShippingMethodState
DoesNotMatchCartMatchesCart
ShippingRateInput
typeString |
ShippingRateInputDraft
typeString |
TaxCalculationMode
LineItemLevelUnitPriceLevel
TaxedItemPrice
totalNet | |
totalGross | TaxedItemPrice fields can not be used in query predicates. |
TaxedPrice
totalNet | |
totalGross | |
taxPortionsArray of TaxPortion | TaxedPrice fields that can be used in query predicates: |
TaxedPriceDraft
totalNet | |
totalGross | |
taxPortionsArray of TaxPortionDraft |
TaxMode
PlatformExternalExternalAmountDisabled
TaxPortion
nameString | |
rateFloat | A number in the range [0..1] Maximum:1 |
amount |
TaxPortionDraft
nameString | |
rateFloat | Maximum: 1 |
amount |
CartDiscountChangeCartPredicateAction
actionString | "changeCartPredicate" |
cartPredicateString | A valid Cart predicate. |
{"action" : "changeCartPredicate","cartPredicate" : "cartPredicateString"}
CartDiscountChangeIsActiveAction
actionString | "changeIsActive" |
isActiveBoolean |
{"action" : "changeIsActive","isActive" : false}
CartDiscountChangeNameAction
actionString | "changeName" |
name |
{"action" : "changeName","name" : {"en" : "NewNameEN","de" : "NewNameDE"}}
CartDiscountChangeRequiresDiscountCodeAction
actionString | "changeRequiresDiscountCode" |
requiresDiscountCodeBoolean |
{"action" : "changeRequiresDiscountCode","requiresDiscountCode" : true}
CartDiscountChangeSortOrderAction
actionString | "changeSortOrder" |
sortOrderString | The string must contain a number between 0 and 1. A discount with greater sortOrder is prioritized higher than a discount with lower sortOrder. |
{"action" : "changeSortOrder","sortOrder" : "0.2"}
CartDiscountChangeStackingModeAction
actionString | "changeStackingMode" |
stackingMode |
{"action" : "changeStackingMode","stackingMode" : "Stacking"}
CartDiscountChangeTargetAction
actionString | "changeTarget" |
target |
{"action" : "changeTarget","target" : {"type" : "lineItems","predicate" : "sku = \"myOtherSKU\""}}
CartDiscountChangeValueAction
actionString | "changeValue" |
value |
{"action" : "changeValue","value" : {"type" : "absolute","money" : [ {"currencyCode" : "EUR","centAmount" : 40099} ]}}
CartDiscountCustomLineItemsTarget
typeString | "customLineItems" |
predicateString |
CartDiscountDraft
keyString | User-specific unique identifier for a cart discount. Must be unique across a project. The field can be reset using the Set Key UpdateAction. |
name | |
description | |
value | |
cartPredicateString | A valid Cart predicate. |
target | Must not be set when the |
sortOrderString | The string must contain a number between 0 and 1. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort order must be unambiguous among all cart discounts. |
isActiveBoolean | Only active discount can be applied to the cart.
Defaults to |
validFromDateTime | |
validUntilDateTime | |
requiresDiscountCodeBoolean | States whether the discount can only be used in a connection with a DiscountCode.
Defaults to |
stackingMode | Specifies whether the application of this discount causes the following discounts to be ignored. Defaults to Stacking. |
customCustomFields |
CartDiscountLineItemsTarget
typeString | "lineItems" |
predicateString |
CartDiscountPagedQueryResponse
limitInt | |
countInt | |
totalInt | |
offsetInt | |
resultsArray of CartDiscount |
CartDiscountReference
idString | |
typeIdString | "cart-discount" |
objCartDiscount |
CartDiscountResourceIdentifier
idString | |
keyString | |
typeIdString | "cart-discount" |
CartDiscountSetCustomFieldAction
actionString | "setCustomField" |
nameString | |
valueAny | If |
{"action" : "setCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
CartDiscountSetCustomTypeAction
actionString | "setCustomType" |
typeTypeResourceIdentifier | If absent, the custom type and any existing CustomFields are removed. |
fieldsObject | A valid JSON object, based on the FieldDefinitions of the Type. Sets the custom fields to this value. |
{"action" : "setCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CartDiscountSetDescriptionAction
actionString | "setDescription" |
description | If the |
{"action" : "setDescription","description" : {"en" : "New Description EN","de" : "New Description DE"}}
CartDiscountSetKeyAction
keyString | If |
actionString | "setKey" |
CartDiscountSetValidFromAction
actionString | "setValidFrom" |
validFromDateTime | If absent, the field with the value is removed in case a value was set before. |
{"action" : "setValidFrom","validFrom" : "2017-10-15T15:00:00.000Z"}
CartDiscountSetValidFromAndUntilAction
actionString | "setValidFromAndUntil" |
validFromDateTime | If absent, the field with the value is removed in case a value was set before. |
validUntilDateTime | If absent, the field with the value is removed in case a value was set before. |
{"action" : "setValidFromAndUntil","validFrom" : "2017-10-15T15:00:00.000Z","validUntil" : "2017-10-15T15:05:00.000Z"}
CartDiscountSetValidUntilAction
actionString | "setValidUntil" |
validUntilDateTime | If absent, the field with the value is removed in case a value was set before. |
{"action" : "setValidUntil","validUntil" : "2017-10-15T20:00:00.000Z"}
CartDiscountShippingCostTarget
typeString | "shipping" |
CartDiscountTarget
typeString |
CartDiscountUpdate
versionInt | |
actionsArray of CartDiscountUpdateAction |
CartDiscountUpdateAction
actionString |
CartDiscountValue
typeString |
CartDiscountValueAbsolute
typeString | "absolute" |
moneyArray of TypedMoney |
CartDiscountValueAbsoluteDraft
typeString | "absolute" |
moneyArray of Money |
CartDiscountValueDraft
typeString |
CartDiscountValueFixed
typeString | "fixed" |
moneyArray of TypedMoney |
CartDiscountValueFixedDraft
typeString | "fixed" |
moneyArray of Money |
CartDiscountValueGiftLineItem
typeString | "giftLineItem" |
productProductReference | |
variantIdInt | |
supplyChannel | The channel must have the role |
distributionChannel | The channel must have the role |
CartDiscountValueGiftLineItemDraft
typeString | "giftLineItem" |
productProductResourceIdentifier | |
variantIdInt | |
supplyChannel | The channel must have the role |
distributionChannel | The channel must have the role |
CartDiscountValueRelative
typeString | "relative" |
permyriadInt |
CartDiscountValueRelativeDraft
typeString | "relative" |
permyriadInt |
MultiBuyCustomLineItemsTarget
typeString | "multiBuyCustomLineItems" |
predicateString | A valid custom line item target predicate. The discount will be applied to custom line items that are matched by the predicate. |
triggerQuantityInt | Quantity of line items that need to be present in order to trigger an application of this discount. |
discountedQuantityInt | Quantity of line items that are discounted per application of this discount. |
maxOccurrenceInt | Maximum number of applications of this discount. |
selectionMode |
MultiBuyLineItemsTarget
typeString | "multiBuyLineItems" |
predicateString | A valid line item target predicate. The discount will be applied to line items that are matched by the predicate. |
triggerQuantityInt | Quantity of line items that need to be present in order to trigger an application of this discount. |
discountedQuantityInt | Quantity of line items that are discounted per application of this discount. |
maxOccurrenceInt | Maximum number of applications of this discount. |
selectionMode |
SelectionMode
CheapestMostExpensive
StackingMode
StackingStopAfterThisDiscount
CategoryAddAssetAction
actionString | "addAsset" |
asset | |
positionInt | When specified, the value might be |
{"action" : "addAsset","asset" : {"sources" : [ {"uri" : "https://www.commercetools.de/ct-logo.svg","key" : "vector"} ],"name" : {"de" : "commercetools Logo","en" : "commercetools logo"}}}
CategoryChangeAssetNameAction
actionString | "changeAssetName" |
assetIdString | |
assetKeyString | |
name |
{"action" : "changeAssetName","assetId" : "{{assetId}}","name" : {"de" : "Mein Asset","en" : "My asset"}}
CategoryChangeAssetOrderAction
actionString | "changeAssetOrder" |
assetOrderArray of String |
{"action" : "changeAssetOrder","assetOrder" : [ "{{assetId1}}", "{{assetId2}}" ]}
CategoryChangeNameAction
actionString | "changeName" |
name |
{"action" : "changeName","name" : {"de" : "neuer Category Name","en" : "new category name"}}
CategoryChangeOrderHintAction
actionString | "changeOrderHint" |
orderHintString |
{"action" : "changeOrderHint","orderHint" : "0.1"}
CategoryChangeParentAction
actionString | "changeParent" |
parent |
{"action" : "changeParent","parent" : {"typeId" : "category","id" : "{{category-id}}"}}
CategoryChangeSlugAction
actionString | "changeSlug" |
slug | Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters. Maximum size is {{ site.data.api-limits.slugLength }}. |
{"action" : "changeSlug","slug" : {"de" : "meine-kategorie","en" : "my-category"}}
CategoryDraft
keyString | User-defined unique identifier for the category.
Keys can only contain alphanumeric characters ( |
name | |
slug | human-readable identifier usually used as deep-link URL to the related category.
Allowed are alphabetic, numeric, underscore ( |
description | |
parent | A category that is the parent of this category in the category tree. The parent can be set by its ID or by its key. |
orderHintString | An attribute as base for a custom category order in one level. A random value will be assigned by API if not set. |
externalIdString | |
metaTitle | |
metaDescription | |
metaKeywords | |
assetsArray of AssetDraft | |
customCustomFieldsDraft | The custom fields. |
CategoryPagedQueryResponse
limitInt | |
countInt | |
totalInt | |
offsetInt | |
resultsArray of Category |
CategoryReference
idString | |
typeIdString | "category" |
objCategory |
CategoryRemoveAssetAction
actionString | "removeAsset" |
assetIdString | |
assetKeyString |
{"action" : "removeAsset","assetId" : "{{assetId}}"}
CategoryResourceIdentifier
idString | |
keyString | |
typeIdString | "category" |
CategorySetAssetCustomFieldAction
actionString | "setAssetCustomField" |
assetIdString | |
assetKeyString | |
nameString | |
valueAny |
{"action" : "setAssetCustomField","assetId" : "{{assetId}}","name" : "ExamplaryStringTypeField","value" : "TextString"}
CategorySetAssetCustomTypeAction
actionString | "setAssetCustomType" |
assetIdString | |
assetKeyString | |
typeTypeResourceIdentifier | If set, the custom type is set to this new value. If absent, the custom type and any existing custom fields are removed. |
fieldsObject | If set, the custom fields are set to this new value. |
{"action" : "setAssetCustomType","assetId" : "{{assetId}}","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CategorySetAssetDescriptionAction
actionString | "setAssetDescription" |
assetIdString | |
assetKeyString | |
description |
{"action" : "setAssetDescription","assetId" : "{{assetId}}","description" : {"de" : "Dies ist eine Asset-Beschreibung","en" : "This is an asset description"}}
CategorySetAssetKeyAction
actionString | "setAssetKey" |
assetIdString | |
assetKeyString | User-defined identifier for the asset.
If left blank or set to |
{"action" : "setAssetKey","assetId" : "{{assetId}}"}
CategorySetAssetSourcesAction
actionString | "setAssetSources" |
assetIdString | |
assetKeyString | |
sourcesArray of AssetSource |
{"action" : "setAssetSources","assetId" : "{{assetId}}","sources" : [ {"uri" : "https://www.commercetools.de/ct-logo.svg","key" : "vector"} ]}
CategorySetCustomFieldAction
actionString | "setCustomField" |
nameString | |
valueAny |
{"action" : "setCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
CategorySetCustomTypeAction
actionString | "setCustomType" |
typeTypeResourceIdentifier | If absent, the custom type and any existing CustomFields are removed. |
fieldsFieldContainer | A valid JSON object, based on the FieldDefinitions of the Type. Sets the custom fields to this value. |
{"action" : "setCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CategorySetDescriptionAction
actionString | "setDescription" |
description |
{"action" : "setDescription","description" : {"de" : "This is a category description","en" : "Dies ist eine Kategorie-Beschreibung"}}
CategorySetExternalIdAction
actionString | "setExternalId" |
externalIdString | If not defined, the external ID is unset. |
{"action" : "setExternalId","externalId" : "externalIdString"}
CategorySetKeyAction
keyString | User-defined unique identifier for the category.
Keys can only contain alphanumeric characters ( |
actionString | "setKey" |
{"action" : "setKey","key" : "myNewKey"}
CategorySetMetaDescriptionAction
actionString | "setMetaDescription" |
metaDescription |
{"action" : "setMetaDescription","metaDescription" : {"de" : "Dies ist meine MetaDecription","en" : "this is my meta description"}}
CategorySetMetaKeywordsAction
actionString | "setMetaKeywords" |
metaKeywords |
{"action" : "setMetaKeywords","metaKeywords" : {"de" : "commercetools, genial","en" : "commercetools, aweseome"}}
CategorySetMetaTitleAction
actionString | "setMetaTitle" |
metaTitle |
{"action" : "setMetaTitle","metaTitle" : {"de" : "Dies ist mein Meta-Title","en" : "This is my meta title"}}
CategoryUpdate
versionInt | |
actionsArray of CategoryUpdateAction |
CategoryUpdateAction
actionString |
ChannelAddRolesAction
actionString | "addRoles" |
rolesArray of ChannelRoleEnum |
{"action" : "addRoles","roles" : [ "InventorySupply" ]}
ChannelChangeDescriptionAction
actionString | "changeDescription" |
description |
{"action" : "changeDescription","description" : {"en" : "new Description EN","de" : "new Description DE"}}
ChannelChangeKeyAction
keyString | |
actionString | "changeKey" |
{"action" : "changeKey","key" : "myNewChannelKey"}
ChannelChangeNameAction
actionString | "changeName" |
name |
{"action" : "changeName","name" : {"en" : "new Channel Name EN","de" : "new Channel Name DE"}}
ChannelDraft
keyString | |
rolesArray of ChannelRoleEnum | If not specified, then channel will get InventorySupply role by default |
name | |
description | |
address | |
geoLocation | |
customCustomFieldsDraft | The custom fields. |
ChannelPagedQueryResponse
limitInt | |
countInt | |
totalInt | |
offsetInt | |
resultsArray of Channel |
ChannelReference
idString | |
typeIdString | "channel" |
objChannel |
ChannelRemoveRolesAction
actionString | "removeRoles" |
rolesArray of ChannelRoleEnum |
{"action" : "removeRoles","roles" : [ "InventorySupply" ]}
ChannelResourceIdentifier
idString | |
keyString | |
typeIdString | "channel" |
ChannelRoleEnum
InventorySupplyProductDistributionOrderExportOrderImportPrimary
ChannelSetAddressAction
actionString | "setAddress" |
address |
{"action" : "setAddress","address" : {"id" : "exampleAddress","key" : "exampleKey","title" : "My Address","salutation" : "Mr.","firstName" : "Example","lastName" : "Person","streetName" : "Examplary Street","streetNumber" : "4711","additionalStreetInfo" : "Backhouse","postalCode" : "80933","city" : "Exemplary City","region" : "Exemplary Region","state" : "Exemplary State","country" : "DE","company" : "My Company Name","department" : "Sales","building" : "Hightower 1","apartment" : "247","pOBox" : "2471","phone" : "+49 89 12345678","mobile" : "+49 171 2345678","email" : "mail@mail.com","fax" : "+49 89 12345679","additionalAddressInfo" : "no additional Info","externalId" : "Information not needed"}}
ChannelSetAddressCustomFieldAction
actionString | "setAddressCustomField" |
nameString | |
valueAny |
{"action" : "setAddressCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
ChannelSetAddressCustomTypeAction
actionString | "setAddressCustomType" |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setAddressCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
ChannelSetCustomFieldAction
actionString | "setCustomField" |
nameString | |
valueAny |
{"action" : "setCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
ChannelSetCustomTypeAction
actionString | "setCustomType" |
typeTypeResourceIdentifier | |
fieldsFieldContainer |
{"action" : "setCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
ChannelSetGeoLocationAction
actionString | "setGeoLocation" |
geoLocation |
{"action" : "setGeoLocation","geoLocation" : {"type" : "Point","coordinates" : [ 48.163569, 11.558663 ]}}
ChannelSetRolesAction
actionString | "setRoles" |
rolesArray of ChannelRoleEnum |
{"action" : "setRoles","roles" : [ "ProductDistribution", "Primary" ]}
ChannelUpdate
versionInt | |
actionsArray of ChannelUpdateAction |
ChannelUpdateAction
actionString |
Address
idString | |
keyString | |
titleString | |
salutationString | |
firstNameString | |
lastNameString | |
streetNameString | |
streetNumberString | |
additionalStreetInfoString | |
postalCodeString | |
cityString | |
regionString | |
stateString | |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
companyString | |
departmentString | |
buildingString | |
apartmentString | |
pOBoxString | |
phoneString | |
mobileString | |
emailString | |
faxString | |
additionalAddressInfoString | |
externalIdString | |
customCustomFields |
AddressDraft
idString | |
keyString | |
titleString | |
salutationString | |
firstNameString | |
lastNameString | |
streetNameString | |
streetNumberString | |
additionalStreetInfoString | |
postalCodeString | |
cityString | |
regionString | |
stateString | |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
companyString | |
departmentString | |
buildingString | |
apartmentString | |
pOBoxString | |
phoneString | |
mobileString | |
emailString | |
faxString | |
additionalAddressInfoString | |
externalIdString | |
customCustomFieldsDraft |
Asset
idString | |
keyString | |
sourcesArray of AssetSource | |
name | |
description | |
tagsArray of String | |
customCustomFields |
AssetDimensions
wInt | |
hInt |
AssetDraft
keyString | |
sourcesArray of AssetSource | |
name | |
description | |
tagsArray of String | |
customCustomFieldsDraft |
AssetSource
keyString | |
uriString | |
dimensions | |
contentTypeString |
BaseAddress
idString | |
keyString | |
titleString | |
salutationString | |
firstNameString | |
lastNameString | |
streetNameString | |
streetNumberString | |
additionalStreetInfoString | |
postalCodeString | |
cityString | |
regionString | |
stateString | |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
companyString | |
departmentString | |
buildingString | |
apartmentString | |
pOBoxString | |
phoneString | |
mobileString | |
emailString | |
faxString | |
additionalAddressInfoString | |
externalIdString |
BaseResource
idString | |
versionInt | |
createdAtDateTime | |
lastModifiedAtDateTime |
CentPrecisionMoney
typeString | "centPrecision" |
fractionDigitsInt | Maximum: 12 |
centAmountInt | |
currencyCodeCurrencyCode | The currency code compliant to ISO 4217. |
CentPrecisionMoneyDraft
centAmountInt | |
currencyCodeCurrencyCode | The currency code compliant to ISO 4217. |
typeString | "centPrecision" |
fractionDigitsInt | Maximum: 12 |
ClientLogging
clientIdString | |
externalUserIdString | |
customer | |
anonymousIdString |
CreatedBy
clientIdString | |
externalUserIdString | |
customer | |
anonymousIdString |
DiscountedPrice
value | |
discountProductDiscountReference |
GeoJson
typeString |
GeoJsonPoint
typeString | "Point" |
coordinatesArray of Number |
HighPrecisionMoney
typeString | "highPrecision" |
fractionDigitsInt | Maximum: 12 |
centAmountInt | |
currencyCodeCurrencyCode | The currency code compliant to ISO 4217. |
preciseAmountInt |
HighPrecisionMoneyDraft
centAmountInt | |
currencyCodeCurrencyCode | The currency code compliant to ISO 4217. |
typeString | "highPrecision" |
fractionDigitsInt | Maximum: 12 |
preciseAmountInt |
Image
urlString | |
dimensions | |
labelString |
ImageDimensions
wInt | |
hInt |
KeyReference
keyString | |
typeId |
LastModifiedBy
clientIdString | |
externalUserIdString | |
customer | |
anonymousIdString |
LocalizedString
/^[a-z]{2}-[A-Z]{2}?$/Any string property matching this regular expression |
Money
centAmountInt | |
currencyCodeCurrencyCode | The currency code compliant to ISO 4217. |
MoneyType
centPrecisionhighPrecision
PagedQueryResponse
limitInt | |
countInt | |
totalInt | |
offsetInt | |
resultsArray of BaseResource | |
metaObject |
Price
idString | |
value | |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
customerGroupCustomerGroupReference | |
channel | |
validFromDateTime | |
validUntilDateTime | |
discounted | |
tiersArray of PriceTier | |
customCustomFields |
PriceDraft
value | |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
customerGroupCustomerGroupResourceIdentifier | |
channel | |
validFromDateTime | |
validUntilDateTime | |
tiersArray of PriceTierDraft | |
discounted | |
customCustomFieldsDraft |
PriceTier
minimumQuantityInt | |
value |
PriceTierDraft
minimumQuantityInt | |
value |
QueryPrice
idString | |
value | |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
customerGroupCustomerGroupReference | |
channel | |
validFromDateTime | |
validUntilDateTime | |
discounted | |
tiersArray of PriceTierDraft | |
customCustomFields |
Reference
idString | |
typeId |
ReferenceTypeId
cartcart-discountcategorychannelcustomercustomer-email-tokencustomer-groupcustomer-password-tokendiscount-codeextensioninventory-entrykey-value-documentorderorder-editpaymentproductproduct-discountproduct-typereviewshipping-methodshopping-liststatestoresubscriptiontax-categorytypezone
ResourceIdentifier
idString | |
keyString | |
typeId |
ScopedPrice
idString | |
value | |
currentValue | |
countryCountryCode | A two-digit country code as per ISO 3166-1 alpha-2. |
customerGroupCustomerGroupReference | |
channel | |
validFromDateTime | |
validUntilDateTime | |
discounted | |
customCustomFields |
TypedMoney
TypedMoneyDraft
Update
versionInt | |
actionsArray of UpdateAction |
UpdateAction
actionString |
AnonymousCartSignInMode
MergeWithExistingCustomerCartUseAsNewActiveCustomerCart
CustomerAddAddressAction
actionString | "addAddress" |
address |
{"action" : "addAddress","address" : {"id" : "exampleAddress","key" : "exampleKey","title" : "My Address","salutation" : "Mr.","firstName" : "Example","lastName" : "Person","streetName" : "Examplary Street","streetNumber" : "4711","additionalStreetInfo" : "Backhouse","postalCode" : "80933","city" : "Exemplary City","region" : "Exemplary Region","state" : "Exemplary State","country" : "DE","company" : "My Company Name","department" : "Sales","building" : "Hightower 1","apartment" : "247","pOBox" : "2471","phone" : "+49 89 12345678","mobile" : "+49 171 2345678","email" : "mail@mail.com","fax" : "+49 89 12345679","additionalAddressInfo" : "no additional Info","externalId" : "Information not needed"}}
CustomerAddBillingAddressIdAction
actionString | "addBillingAddressId" |
addressIdString | |
addressKeyString |
{"action" : "addBillingAddressId","addressId" : "{{addressId}}"}
CustomerAddShippingAddressIdAction
actionString | "addShippingAddressId" |
addressIdString | |
addressKeyString |
{"action" : "addShippingAddressId","addressId" : "{{addressId}}"}
CustomerAddStoreAction
actionString | "addStore" |
storeStoreResourceIdentifier |
{"action" : "addStore","store" : {"key" : "{{store-key}}","typeId" : "store"}}
CustomerChangeAddressAction
actionString | "changeAddress" |
addressIdString | |
addressKeyString | |
address |
{"action" : "changeAddress","addressId" : "{{addressId}}","address" : {"id" : "exampleAddress","key" : "exampleKey","title" : "My Address","salutation" : "Mr.","firstName" : "Example","lastName" : "Person","streetName" : "Examplary Street","streetNumber" : "4711","additionalStreetInfo" : "Backhouse","postalCode" : "80933","city" : "Exemplary City","region" : "Exemplary Region","state" : "Exemplary State","country" : "DE","company" : "My Company Name","department" : "Sales","building" : "Hightower 1","apartment" : "247","pOBox" : "2471","phone" : "+49 89 12345678","mobile" : "+49 171 2345678","email" : "mail@mail.com","fax" : "+49 89 12345679","additionalAddressInfo" : "no additional Info","externalId" : "Information not needed"}}
CustomerChangeEmailAction
actionString | "changeEmail" |
emailString |
{"action" : "changeEmail","email" : "mail@mail.com"}
CustomerChangePassword
idString | |
versionInt | |
currentPasswordString | |
newPasswordString |
CustomerCreateEmailToken
idString | |
versionInt | |
ttlMinutesInt |
CustomerCreatePasswordResetToken
emailString | |
ttlMinutesInt |
CustomerDraft
keyString | User-specific unique identifier for a customer. Must be unique across a project. The field can be reset using the Set Key UpdateAction |
customerNumberString | String that uniquely identifies a customer. It can be used to create more human-readable (in contrast to ID) identifier for the customer. It should be unique across a project. Once it's set it cannot be changed. |
emailString | The customer's email address and the main identifier of uniqueness for a customer account. Email addresses are either unique to the store they're specified for, or for the entire project, and are case insensitive. For more information, see Email uniquenes. |
passwordString | |
firstNameString | |
lastNameString | |
middleNameString | |
titleString | |
anonymousCartIdString | Identifies a single cart that will be assigned to the new customer account. |
anonymousCart | Identifies a single cart that will be assigned to the new customer account. |
anonymousIdString | Identifies carts and orders belonging to an anonymous session that will be assigned to the new customer account. |
dateOfBirthDate | |
companyNameString | |
vatIdString | |
addressesArray of BaseAddress | Sets the ID of each address to be unique in the addresses list. |
defaultShippingAddressInt | The index of the address in the addresses array.
The |
shippingAddressesArray of Integer | The indices of the shipping addresses in the addresses array.
The |
defaultBillingAddressInt | The index of the address in the addresses array.
The |
billingAddressesArray of Integer | The indices of the billing addresses in the addresses array.
The |
isEmailVerifiedBoolean | |
externalIdString | |
customerGroupCustomerGroupResourceIdentifier | |
localeString | Must be one of the languages supported for this project |
salutationString | |
storesArray of StoreResourceIdentifier | References to the stores the customer account is associated with. If no stores are specified, the customer is a global customer, and can log in using the Password Flow for global Customers. If one or more stores are specified, the customer can only log in using the Password Flow for Customers in a Store for those specific stores. |
customCustomFieldsDraft | The custom fields. |
CustomerEmailVerify
versionInt | |
tokenValueString |
CustomerPagedQueryResponse
limitInt | |
countInt | |
totalInt | |
offsetInt | |
resultsArray of Customer |
CustomerReference
idString | |
typeIdString | "customer" |
objCustomer |
CustomerRemoveAddressAction
actionString | "removeAddress" |
addressIdString | |
addressKeyString |
{"action" : "removeAddress","addressId" : "{{addressId}}"}
CustomerRemoveBillingAddressIdAction
actionString | "removeBillingAddressId" |
addressIdString | |
addressKeyString |
{"action" : "removeBillingAddressId","addressId" : "{{addressId}}"}
CustomerRemoveShippingAddressIdAction
actionString | "removeShippingAddressId" |
addressIdString | |
addressKeyString |
{"action" : "removeShippingAddressId","addressId" : "{{addressId}}"}
CustomerRemoveStoreAction
actionString | "removeStore" |
storeStoreResourceIdentifier |
{"action" : "removeStore","store" : {"key" : "{{store-key}}","typeId" : "store"}}
CustomerResetPassword
versionInt | |
tokenValueString | |
newPasswordString |
CustomerResourceIdentifier
idString | |
keyString | |
typeIdString | "customer" |
CustomerSetAddressCustomFieldAction
actionString | "setAddressCustomField" |
addressIdString | |
nameString | |
valueAny |
{"action" : "setAddressCustomField","name" : "ExamplaryStringTypeField","value" : "TextString","addressId" : "{{address-id}}"}
CustomerSetAddressCustomTypeAction
actionString | "setAddressCustomType" |
typeTypeResourceIdentifier | |
fieldsFieldContainer | |
addressIdString |
{"action" : "setAddressCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"},"addressId" : "{{address-id}}"}
CustomerSetCompanyNameAction
actionString | "setCompanyName" |
companyNameString | If not defined, the company name is unset. |
{"action" : "setCompanyName","companyName" : "Company Ltd."}
CustomerSetCustomerGroupAction
actionString | "setCustomerGroup" |
customerGroupCustomerGroupResourceIdentifier | If not defined, the customer group is unset. |
{"action" : "setCustomerGroup","customerGroup" : {"id" : "{{customer-group-id}}","typeId" : "customer-group"}}
CustomerSetCustomerNumberAction
actionString | "setCustomerNumber" |
customerNumberString | It should be unique across a project. Once it's set, it cannot be changed. |
{"action" : "setCustomerNumber","customerNumber" : "123"}
CustomerSetCustomFieldAction
actionString | "setCustomField" |
nameString | |
valueAny |
{"action" : "setCustomField","name" : "ExamplaryStringTypeField","value" : "TextString"}
CustomerSetCustomTypeAction
actionString | "setCustomType" |
typeTypeResourceIdentifier | If absent, the custom type and any existing custom fields are removed. |
fieldsFieldContainer | A valid JSON object, based on the FieldDefinitions of the Type. Sets the custom fields to this value. |
{"action" : "setCustomType","type" : {"id" : "{{type-id}}","typeId" : "type"},"fields" : {"examplaryStringTypeField" : "TextString"}}
CustomerSetDateOfBirthAction
actionString | "setDateOfBirth" |
dateOfBirthDate | If not defined, the date of birth is unset. |
{"action" : "setDateOfBirth","dateOfBirth" : "2015-10-21"}
CustomerSetDefaultBillingAddressAction
actionString | "setDefaultBillingAddress" |
addressIdString | If not defined, the customer's |
addressKeyString |
{"action" : "setDefaultBillingAddress","addressId" : "{{addressId}}"}
CustomerSetDefaultShippingAddressAction
actionString | "setDefaultShippingAddress" |
addressIdString | If not defined, the customer's |
addressKeyString |
{"action" : "setDefaultShippingAddress","addressId" : "{{addressId}}"}
CustomerSetExternalIdAction
actionString | "setExternalId" |
externalIdString | If not defined, the external ID is unset. |
{"action" : "setExternalId","externalId" : "123"}
CustomerSetFirstNameAction
actionString | "setFirstName" |
firstNameString |
{"action" : "setFirstName","fistName" : "Example"}
CustomerSetKeyAction
keyString | If |
actionString | "setKey" |
{"action" : "setKey","key" : "newKey"}
CustomerSetLastNameAction
actionString | "setLastName" |
lastNameString |
{"action" : "setLastName","lastName" : "Person"}
CustomerSetLocaleAction
actionString | "setLocale" |
localeString |
{"action" : "setLocale","locale" : "de-DE"}
CustomerSetMiddleNameAction
actionString | "setMiddleName" |
middleNameString |
{"action" : "setMiddleName","middleName" : "middleName"}
CustomerSetSalutationAction
actionString | "setSalutation" |
salutationString |
{"action" : "setSalutation","salutation" : "Mr"}
CustomerSetStoresAction
actionString | "setStores" |
storesArray of StoreResourceIdentifier |
{"action" : "setStores","stores" : [ {"key" : "{{store-key}}","typeId" : "store"} ]}
CustomerSetTitleAction
actionString | "setTitle" |
titleString |
{"action" : "setTitle","title" : "Dr"}
CustomerSetVatIdAction
actionString | "setVatId" |
vatIdString | If not defined, the vat Id is unset. |
{"action" : "setVatId","vatId" : "vatId"}
CustomerSignin
emailString | |
passwordString | |
anonymousCartIdString | |
anonymousCart | |
anonymousCartSignInMode | |
anonymousIdString | |
updateProductDataBoolean |
CustomerSignInResult
customerCustomer | |
cartCart | A cart that is associated to the customer. Empty if the customer does not have a cart yet. |
CustomerToken
idString | |
createdAtDateTime | |
lastModifiedAtDateTime | |
customerIdString | |
expiresAtDateTime | |
valueString |