/commercetools-orders | Type: Application | PCID required: Yes
Tools
| Tool | Description |
|---|---|
commercetools_orders_create_carts | Creates a Cart in the Project. If the referenced ShippingMethod in the CartDraft has a predicate that does not match, or if the Shipping Method is not active, an InvalidOperation error is returned. Specific Error Codes: - DiscountCodeNonApplicable - InvalidItemShippingDetails - MatchingPriceNotFound - MissingTaxRateForCountry |
commercetools_orders_create_carts_customer_id_customer_id_merge | Merges items from an anonymous Cart into the most recently modified active Cart of a Customer. If no active Cart exists, the anonymous Cart becomes the Customer’s active Cart. For more information about merge mode behaviors, merge rules, and tax recalculation, see Merge a Cart. |
commercetools_orders_create_carts_replicate | Creates a new Cart by replicating an existing Cart or Order. The following applies to the new Cart: - It contains the same Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the originating Cart or Order. - If a Line Item becomes invalid, it is removed from the new Cart. A common reason for this is removed Products or Prices. - Line items and Custom Line Items are reset to their initial state. - It contains no payments or delivery information. - It contains up-to-date Tax Rates, Prices, and Line Item product data. - The CartState is Active. - If using the customerGroup field (for a single Customer Group) and the referenced Customer switched to another Customer Group, the new Cart is automatically updated to reflect the new group and corresponding prices. - If using the customerGroupAssignments field (for multiple Customer Groups), the Cart no longer keeps a direct reference to a Customer Group. If a Customer’s group assignments change, the Cart and its Line Item prices are not updated automatically. Prices are only updated when the Cart is changed via a direct update action. Specific Error Codes: - MatchingPriceNotFound - MissingTaxRateForCountry |
commercetools_orders_create_orders | Creates an Order from a Cart. The Cart must have a shipping address and an active Shipping Method set. The shipping address is used for tax calculation for a Cart with Platform TaxMode. Creating an Order produces the OrderCreated Message. If the Order is created from a Recurring Order schedule, the OrderCreatedFromRecurringOrder Message is generated. If a server-side problem occurs, indicated by a 500 Internal Server Error HTTP response, the Order creation may still successfully complete after the error is returned. If you receive this error, you should verify the status of the Order by querying a unique identifier supplied during the creation request, such as the Order number. Specific Error Codes: - OutOfStock - PriceChanged - DiscountCodeNonApplicable - ShippingMethodDoesNotMatchCart - InvalidItemShippingDetails - InvalidOperation - MatchingPriceNotFound - MissingTaxRateForCountry |
commercetools_orders_create_orders_edits | Creates an OrderEdit in the Project. You can either create multiple Order Edits for an Order and apply them sequentially to an Order, or create multiple Order Edits parallelly (as alternatives to each other) and apply one of them to the Order. You can only create an Order Edit if the InventoryMode of the Order and its LineItems is None. |
commercetools_orders_create_orders_edits_apply_by_id | Applying an OrderEdit produces the OrderEditApplied Message. |
commercetools_orders_create_orders_import | Creates an Order without needing to create a Cart first. Importing an Order produces the Order Imported Message. Specific Error Codes: - OutOfStock - CountryNotConfiguredInStore |
commercetools_orders_create_orders_order_number_order_number | Updates an Order in the Project using one or more update actions. |
commercetools_orders_create_orders_quotes | Creates an Order from a Quote. The referenced Quote must have the Pending state and must be valid (not past the validTo date); otherwise, an InvalidOperation error is returned. Produces the OrderCreated Message. Specific Error Codes: - CountryNotConfiguredInStore - InvalidItemShippingDetails - InvalidOperation - OutOfStock |
commercetools_orders_create_orders_search | POST /orders/search |
commercetools_orders_create_payment_methods | Creates a PaymentMethod in the Project. This request generates the PaymentMethodCreated Message. |
commercetools_orders_create_payments | Creates a Payment in the Project. Creating a Payment produces the PaymentCreated Message. |
commercetools_orders_delete_by_id | Deletes an Order in the Project. Deleting an Order produces the OrderDeleted Message. |
commercetools_orders_delete_carts_by_id | Deletes a Cart in the Project. |
commercetools_orders_delete_carts_by_key | Deletes a Cart in the Project. |
commercetools_orders_delete_edits_by_id | Deletes an OrderEdit in the Project. |
commercetools_orders_delete_edits_by_key | Deletes an OrderEdit in the Project. |
commercetools_orders_delete_order_number_order_number | Deletes an Order in the Project. Deleting an Order produces the OrderDeleted Message. |
commercetools_orders_delete_payment_methods_by_id | Deletes a PaymentMethod in the Project. This request generates the PaymentMethodDeleted Message. |
commercetools_orders_delete_payment_methods_by_key | Deletes a PaymentMethod in the Project. This request generates the PaymentMethodDeleted Message. |
commercetools_orders_delete_payments_by_id | Deletes a Payment in the Project. |
commercetools_orders_delete_payments_by_key | Deletes a Payment in the Project. |
commercetools_orders_get_by_id | Retrieves an Order with the provided id. |
commercetools_orders_get_carts_by_id | Retrieves a Cart with the provided id. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action. |
commercetools_orders_get_carts_by_key | Retrieves a Cart with the provided key. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action. |
commercetools_orders_get_edits_by_id | Retrieves an OrderEdit with the provided id. |
commercetools_orders_get_edits_by_key | Retrieves an OrderEdit with the provided key. |
commercetools_orders_get_payment_methods_by_id | Retrieves a PaymentMethod with the provided id. |
commercetools_orders_get_payment_methods_by_key | Retrieves a PaymentMethod with the provided key. |
commercetools_orders_get_payments_by_id | Retrieves a Payment with the provided id. |
commercetools_orders_get_payments_by_key | Retrieves a Payment with the provided key. |
commercetools_orders_list_carts | Retrieves Carts in the Project. |
commercetools_orders_list_carts_customer_id_customer_id | Retrieves the most recently modified active Cart of a Customer with CartOrigin Customer. If no active Cart exists, this method returns a ResourceNotFound error. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action. |
commercetools_orders_list_orders | Retrieves Orders in the Project. |
commercetools_orders_list_orders_edits | Retrieves OrderEdits in the Project. |
commercetools_orders_list_orders_order_number_order_number | Retrieves an Order with the provided orderNumber. |
commercetools_orders_list_payment_methods | Retrieves all PaymentMethods in the Project. |
commercetools_orders_list_payments | Retrieves Payments in the Project. |
commercetools_orders_update_carts_by_id | Updates a Cart in the Project using one or more update actions. |
commercetools_orders_update_carts_by_key | Updates a Cart in the Project using one or more update actions. |
commercetools_orders_update_orders_by_id | Updates an Order in the Project using one or more update actions. |
commercetools_orders_update_orders_edits_by_id | Updates an OrderEdit in the Project using one or more update actions. |
commercetools_orders_update_orders_edits_by_key | Updates an OrderEdit in the Project using one or more update actions. |
commercetools_orders_update_payment_methods_by_id | Updates a PaymentMethod in the Project using one or more update actions. |
commercetools_orders_update_payment_methods_by_key | Updates a PaymentMethod in the Project using one or more update actions. |
commercetools_orders_update_payments_by_id | Updates a Payment in the Project using one or more update actions. |
commercetools_orders_update_payments_by_key | Updates a Payment in the Project using one or more update actions. |
commercetools_orders_create_carts
Creates a Cart in the Project. If the referenced ShippingMethod in the CartDraft has a predicate that does not match, or if the Shipping Method is not active, an InvalidOperation error is returned. Specific Error Codes: - DiscountCodeNonApplicable - InvalidItemShippingDetails - MatchingPriceNotFound - MissingTaxRateForCountry Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
anonymousId | string | No | — | Anonymous Id |
billingAddress | object | No | — | Billing Address |
businessUnit | object | No | — | Business Unit |
country | string | No | — | The country value |
currency | string | Yes | — | The currency value |
custom | object | No | — | The custom value |
customerEmail | string | No | — | Customer Email |
customerGroup | object | No | — | Customer Group |
customerId | string | No | — | Customer Id |
customLineItems | object[] | No | — | Custom Line Items |
customShipping | object[] | No | — | Custom Shipping |
deleteDaysAfterLastModification | integer | No | — | Delete Days After Last Modification |
discountCodes | string[] | No | — | Discount Codes |
externalTaxRateForShippingMethod | object | No | — | External Tax Rate For Shipping Method |
inventoryMode | string | No | — | Inventory Mode |
itemShippingAddresses | object[] | No | — | Item Shipping Addresses |
key | string | No | — | The key value |
lineItems | object[] | No | — | Line Items |
locale | string | No | — | Locale or language code |
origin | string | No | — | The origin value |
priceRoundingMode | string | No | — | Price Rounding Mode |
purchaseOrderNumber | string | No | — | Purchase Order Number |
shipping | object[] | No | — | The shipping value |
shippingAddress | object | No | — | Shipping Address |
shippingMethod | object | No | — | Shipping Method |
shippingMode | string | No | — | Shipping Mode |
shippingRateInput | object | No | — | Shipping Rate Input |
store | object | No | — | The store value |
taxCalculationMode | string | No | — | Tax Calculation Mode |
taxMode | string | No | — | Tax Mode |
taxRoundingMode | string | No | — | Tax Rounding Mode |
commercetools_orders_create_carts_customer_id_customer_id_merge
Merges items from an anonymous Cart into the most recently modified active Cart of a Customer. If no active Cart exists, the anonymous Cart becomes the Customer’s active Cart. For more information about merge mode behaviors, merge rules, and tax recalculation, see Merge a Cart. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
customerId | string | Yes | — | Customer Id |
anonymousCart | object | No | — | Anonymous Cart |
anonymousId | string | No | — | Anonymous Id |
mergeMode | string | No | — | Merge Mode |
updateProductData | boolean | No | — | Update Product Data |
commercetools_orders_create_carts_replicate
Creates a new Cart by replicating an existing Cart or Order. The following applies to the new Cart: - It contains the same Customer information, Line Items and Custom Line Items, Custom Fields, Discount Codes, and other settings of the originating Cart or Order. - If a Line Item becomes invalid, it is removed from the new Cart. A common reason for this is removed Products or Prices. - Line items and Custom Line Items are reset to their initial state. - It contains no payments or delivery information. - It contains up-to-date Tax Rates, Prices, and Line Item product data. - The CartState isActive. - If using the customerGroup field (for a single Customer Group) and the referenced Customer switched to another Customer Group, the new Cart is automatically updated to reflect the new group and corresponding prices. - If using the customerGroupAssignments field (for multiple Customer Groups), the Cart no longer keeps a direct reference to a Customer Group. If a Customer’s group assignments change, the Cart and its Line Item prices are not updated automatically. Prices are only updated when the Cart is changed via a direct update action. Specific Error Codes: - MatchingPriceNotFound - MissingTaxRateForCountry
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | No | — | The key value |
reference | object | Yes | — | The reference value |
commercetools_orders_create_orders
Creates an Order from a Cart. The Cart must have a shipping address and an active Shipping Method set. The shipping address is used for tax calculation for a Cart withPlatform TaxMode. Creating an Order produces the OrderCreated Message. If the Order is created from a Recurring Order schedule, the OrderCreatedFromRecurringOrder Message is generated. If a server-side problem occurs, indicated by a 500 Internal Server Error HTTP response, the Order creation may still successfully complete after the error is returned. If you receive this error, you should verify the status of the Order by querying a unique identifier supplied during the creation request, such as the Order number. Specific Error Codes: - OutOfStock - PriceChanged - DiscountCodeNonApplicable - ShippingMethodDoesNotMatchCart - InvalidItemShippingDetails - InvalidOperation - MatchingPriceNotFound - MissingTaxRateForCountry
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
cart | object | No | — | The cart value |
custom | object | No | — | The custom value |
id | string | No | — | The id value |
orderNumber | string | No | — | Order Number |
orderState | string | No | — | Order State |
paymentState | string | No | — | Payment State |
purchaseOrderNumber | string | No | — | Purchase Order Number |
shipmentState | string | No | — | Shipment State |
state | object | No | — | The state value |
version | integer | Yes | — | The version value |
commercetools_orders_create_orders_edits
Creates an OrderEdit in the Project. You can either create multiple Order Edits for an Order and apply them sequentially to an Order, or create multiple Order Edits parallelly (as alternatives to each other) and apply one of them to the Order. You can only create an Order Edit if the InventoryMode of the Order and its LineItems isNone.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
comment | string | No | — | The comment value |
custom | object | No | — | The custom value |
dryRun | boolean | No | — | Dry Run |
key | string | No | — | The key value |
resource | object | Yes | — | The resource value |
stagedActions | object[] | No | — | Staged Actions |
commercetools_orders_create_orders_edits_apply_by_id
Applying an OrderEdit produces the OrderEditApplied Message. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
editVersion | integer | Yes | — | Edit Version |
resourceVersion | integer | Yes | — | Resource Version |
commercetools_orders_create_orders_import
Creates an Order without needing to create a Cart first. Importing an Order produces the Order Imported Message. Specific Error Codes: - OutOfStock - CountryNotConfiguredInStore Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
billingAddress | object | No | — | Billing Address |
businessUnit | object | No | — | Business Unit |
completedAt | string | No | — | Completed At |
country | string | No | — | The country value |
custom | object | No | — | The custom value |
customerEmail | string | No | — | Customer Email |
customerGroup | object | No | — | Customer Group |
customerId | string | No | — | Customer Id |
customLineItems | object[] | No | — | Custom Line Items |
inventoryMode | string | No | — | Inventory Mode |
itemShippingAddresses | object[] | No | — | Item Shipping Addresses |
lineItems | object[] | No | — | Line Items |
orderNumber | string | No | — | Order Number |
orderState | string | No | — | Order State |
origin | string | No | — | The origin value |
paymentInfo | object | No | — | Payment Info |
paymentState | string | No | — | Payment State |
priceRoundingMode | string | No | — | Price Rounding Mode |
purchaseOrderNumber | string | No | — | Purchase Order Number |
shipmentState | string | No | — | Shipment State |
shippingAddress | object | No | — | Shipping Address |
shippingInfo | object | No | — | Shipping Info |
state | object | No | — | The state value |
store | object | No | — | The store value |
taxCalculationMode | string | No | — | Tax Calculation Mode |
taxedPrice | object | No | — | Taxed Price |
taxRoundingMode | string | No | — | Tax Rounding Mode |
totalPrice | object | Yes | — | Total Price |
commercetools_orders_create_orders_order_number_order_number
Updates an Order in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
orderNumber | string | Yes | — | Order Number |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |
commercetools_orders_create_orders_quotes
Creates an Order from a Quote. The referenced Quote must have thePending state and must be valid (not past the validTo date); otherwise, an InvalidOperation error is returned. Produces the OrderCreated Message. Specific Error Codes: - CountryNotConfiguredInStore - InvalidItemShippingDetails - InvalidOperation - OutOfStock
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
orderNumber | string | No | — | Order Number |
orderState | string | No | — | Order State |
paymentState | string | No | — | Payment State |
quote | object | Yes | — | The quote value |
quoteStateToAccepted | boolean | No | — | Quote State To Accepted |
shipmentState | string | No | — | Shipment State |
state | object | No | — | The state value |
version | integer | Yes | — | The version value |
commercetools_orders_create_orders_search
POST /orders/search Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | No | — | Maximum number of results to return |
offset | integer | No | — | The offset value |
query | object | Yes | — | Search query string |
sort | object[] | No | — | Sort order for results |
commercetools_orders_create_payment_methods
Creates a PaymentMethod in the Project. This request generates the PaymentMethodCreated Message. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
businessUnit | object | No | — | Business Unit |
custom | object | No | — | The custom value |
customer | object | No | — | The customer value |
default | boolean | No | — | The default value |
interfaceAccount | string | No | — | Interface Account |
key | string | No | — | The key value |
method | string | No | — | The method value |
name | object | No | — | The name value |
paymentInterface | string | No | — | Payment Interface |
paymentMethodStatus | string | No | — | Payment Method Status |
token | object | No | — | The token value |
commercetools_orders_create_payments
Creates a Payment in the Project. Creating a Payment produces the PaymentCreated Message. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
amountAuthorized | object | No | — | Amount Authorized |
amountPaid | object | No | — | Amount Paid |
amountPlanned | object | Yes | — | Amount Planned |
amountRefunded | object | No | — | Amount Refunded |
anonymousId | string | No | — | Anonymous Id |
authorizedUntil | string | No | — | Authorized Until |
custom | object | No | — | The custom value |
customer | object | No | — | The customer value |
externalId | string | No | — | External Id |
interfaceId | string | No | — | Interface Id |
interfaceInteractions | object[] | No | — | Interface Interactions |
key | string | No | — | The key value |
paymentMethodInfo | object | No | — | Payment Method Info |
paymentStatus | object | No | — | Payment Status |
transactions | object[] | No | — | The transactions value |
commercetools_orders_delete_by_id
Deletes an Order in the Project. Deleting an Order produces the OrderDeleted Message. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
dataErasure | boolean | No | — | Data Erasure |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_carts_by_id
Deletes a Cart in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
dataErasure | boolean | No | — | Data Erasure |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_carts_by_key
Deletes a Cart in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
dataErasure | boolean | No | — | Data Erasure |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_edits_by_id
Deletes an OrderEdit in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_edits_by_key
Deletes an OrderEdit in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_order_number_order_number
Deletes an Order in the Project. Deleting an Order produces the OrderDeleted Message. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
orderNumber | string | Yes | — | Order Number |
dataErasure | boolean | No | — | Data Erasure |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_payment_methods_by_id
Deletes a PaymentMethod in the Project. This request generates the PaymentMethodDeleted Message. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_payment_methods_by_key
Deletes a PaymentMethod in the Project. This request generates the PaymentMethodDeleted Message. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_payments_by_id
Deletes a Payment in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
dataErasure | boolean | No | — | Data Erasure |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_delete_payments_by_key
Deletes a Payment in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
dataErasure | boolean | No | — | Data Erasure |
version | integer | Yes | — | The version value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_by_id
Retrieves an Order with the providedid.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_carts_by_id
Retrieves a Cart with the providedid. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_carts_by_key
Retrieves a Cart with the providedkey. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_edits_by_id
Retrieves an OrderEdit with the providedid.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_edits_by_key
Retrieves an OrderEdit with the providedkey.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_payment_methods_by_id
Retrieves a PaymentMethod with the providedid.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_payment_methods_by_key
Retrieves a PaymentMethod with the providedkey.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_payments_by_id
Retrieves a Payment with the providedid.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_get_payments_by_key
Retrieves a Payment with the providedkey.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_list_carts
Retrieves Carts in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
sort | string[] | No | — | Sort order for results |
limit | integer | No | — | Maximum number of results to return |
offset | integer | No | — | The offset value |
withTotal | boolean | No | — | With Total |
where | string[] | No | — | The where value |
commercetools_orders_list_carts_customer_id_customer_id
Retrieves the most recently modified active Cart of a Customer with CartOriginCustomer. If no active Cart exists, this method returns a ResourceNotFound error. To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
customerId | string | Yes | — | Customer Id |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_list_orders
Retrieves Orders in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
sort | string[] | No | — | Sort order for results |
limit | integer | No | — | Maximum number of results to return |
offset | integer | No | — | The offset value |
withTotal | boolean | No | — | With Total |
where | string[] | No | — | The where value |
commercetools_orders_list_orders_edits
Retrieves OrderEdits in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
sort | string[] | No | — | Sort order for results |
limit | integer | No | — | Maximum number of results to return |
offset | integer | No | — | The offset value |
withTotal | boolean | No | — | With Total |
where | string[] | No | — | The where value |
commercetools_orders_list_orders_order_number_order_number
Retrieves an Order with the providedorderNumber.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
orderNumber | string | Yes | — | Order Number |
expand | string[] | No | — | Related resources to expand inline |
commercetools_orders_list_payment_methods
Retrieves all PaymentMethods in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
sort | string[] | No | — | Sort order for results |
limit | integer | No | — | Maximum number of results to return |
offset | integer | No | — | The offset value |
withTotal | boolean | No | — | With Total |
where | string[] | No | — | The where value |
commercetools_orders_list_payments
Retrieves Payments in the Project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expand | string[] | No | — | Related resources to expand inline |
sort | string[] | No | — | Sort order for results |
limit | integer | No | — | Maximum number of results to return |
offset | integer | No | — | The offset value |
withTotal | boolean | No | — | With Total |
where | string[] | No | — | The where value |
commercetools_orders_update_carts_by_id
Updates a Cart in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |
commercetools_orders_update_carts_by_key
Updates a Cart in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |
commercetools_orders_update_orders_by_id
Updates an Order in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |
commercetools_orders_update_orders_edits_by_id
Updates an OrderEdit in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
dryRun | boolean | No | — | Dry Run |
version | integer | Yes | — | The version value |
commercetools_orders_update_orders_edits_by_key
Updates an OrderEdit in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
dryRun | boolean | No | — | Dry Run |
version | integer | Yes | — | The version value |
commercetools_orders_update_payment_methods_by_id
Updates a PaymentMethod in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |
commercetools_orders_update_payment_methods_by_key
Updates a PaymentMethod in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |
commercetools_orders_update_payments_by_id
Updates a Payment in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ID | string | Yes | — | The id value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |
commercetools_orders_update_payments_by_key
Updates a Payment in the Project using one or more update actions. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key | string | Yes | — | The key value |
expand | string[] | No | — | Related resources to expand inline |
actions | object[] | Yes | — | The actions value |
version | integer | Yes | — | The version value |

