Deprecations and Removals

Archive of deprecated and removed API functionalities.

For each deprecated functionality, we provide information about the alternative functionality (if available) and the date of deprecation. We link to the deprecation announcement and (if applicable) to the announcement when the functionality was removed.

HTTP API

Business Units

Deprecated functionalityAlternative functionalityNote
AssociateRole type and enumAssociate Roles APIDeprecated on 2 May 2023, and removed on 2 August 2023.
roles field on Associate and AssociateDraftassociateRoleAssignments field on Associate and AssociateDraftDeprecated on 2 May 2023, and removed on 2 August 2023.

Carts

Deprecated functionalityAlternative functionalityNote
?customerId={id} query parameterAdded dedicated by Customer ID endpoints.Deprecated on 27 January 2020.
discountedPrice field in LineItem, LineItemDraft, CustomLineItem, and CustomLineItemDraftdiscountedPricePerQuantity field in LineItem, LineItemDraft, CustomLineItem, and CustomLineItemDraftDeprecated on 12 October 2015.

Cart Discounts

Deprecated functionalityAlternative functionalityNote
excludeCount field in CountOnLineItemUnits and CountOnCustomLineItemUnitsHandled by triggerPattern field.Deprecated on 6 March 2025.
originalPrice Line Item predicate fieldUse price Line Item predicate field.Deprecated and removed on 27 September 2017.

Change History

The following Change Types have been deprecated on 23 October 2025.

AddAssociateChange

This Change is no longer triggered by the Add Associate update action. It has been deprecated and replaced by the SetAssociatesChange.
type
String
"AddAssociateChange"
change
String
"addAssociate"
nextValue
Associate

Value after the change.

AddPriceChange

This Change is no longer triggered by the Add Price update action. It has been deprecated and replaced by the SetPricesChange.
type
String
"AddPriceChange"
change
String
"addPrice"
nextValue
Price

Value after the change.

catalogData
String

Product data that was updated.

priceId
String
id of the Embedded Price.
variant
String

Identifier of the updated Product Variant.

This field holds the SKU, if defined; otherwise the key; otherwise the ID.

AddProductSelectionChange

This Change is no longer triggered by the Add Product Selection update action. It has been deprecated and replaced by the SetProductSelectionsChange.
type
String
"AddProductSelectionChange"
change
String
"addProductSelection"
previousValue
ProductSelectionSetting
nextValue
ProductSelectionSetting

AddStateRolesChange

This Change is no longer triggered by the Add State roles update action. It has been deprecated and replaced by the SetStateRolesChange.
type
String
"AddStateRolesChange"
change
String
"addRoles"
previousValue
Array of StateRoleEnum

Value before the change.

nextValue
Array of StateRoleEnum

Value after the change.

ChangeAmountAuthorizedChange

This change is no longer initiated by background processes after the Change AmountPlanned update action is performed. It has been deprecated since the corresponding field on the Payment does not exist anymore.
type
String
"ChangeAmountAuthorizedChange"
change
String
"changeAmountAuthorized"
previousValue
Money

Value before the change.

nextValue
Money

Value after the change.

RemoveAssociateChange

This Change is no longer triggered by the Remove Associate update action. It has been deprecated and replaced by the SetAssociatesChange.
type
String
"RemoveAssociateChange"
change
String
"removeAssociate"
previousValue
Associate

Value before the change.

RemovePriceChange

This Change is no longer triggered by the Remove Embedded Price update action. It has been deprecated and replaced by the SetPricesChange.
type
String
"RemovePriceChange"
change
String
"removePrice"
previousValue
Price

Value before the change.

nextValue
Price

Value after the change.

catalogData
String

Product data that was updated.

priceId
String
id of the Embedded Price.
variant
String

Identifier of the updated Product Variant.

This field holds the SKU, if defined; otherwise the key; otherwise the ID.

RemoveProductSelectionChange

This Change is no longer triggered by the Remove Product Selection update action. It has been deprecated and replaced by the SetProductSelectionsChange.
type
String
"RemoveProductSelectionChange"
change
String
"removeProductSelection"
previousValue
ProductSelectionSetting

Value before the change.

RemoveStateRolesChange

This Change is no longer triggered by the Remove State roles update action. It has been deprecated and replaced by the SetStateRolesChange.
type
String
"RemoveStateRolesChange"
change
String
"removeRoles"
previousValue
Array of StateRoleEnum

Value before the change.

nextValue
Array of StateRoleEnum

Value after the change.

Deprecated functionalityAlternative functionalityNote
SetNameChange for name changes on Discount Codes, States, and Stores.SetLocalizedNameChangeDeprecation announced on 18 July 2023, and change performed on 18 October 2023.

Customers

Deprecated functionalityAlternative functionalityNote
Change Name update actionSet First Name, Set Last Name, Set Middle Name, and Set Title update actionsDeprecated on 15 January 2016.
anonymousCartId field in CustomerDraft and CustomerSignInanonymousCart field in CustomerDraft and CustomerSigninDeprecated on 12 January 2021.

Custom Fields

Deprecated functionalityAlternative functionalityNote
typeId and typeKey fields in CustomFields and CustomFieldsDrafttype field in CustomFields and CustomFieldsDraftDeprecated on 15 January 2016.

Custom Objects

Query CustomObjects

GET
https://api.{region}.commercetools.com/{projectKey}/custom-objects
For performance reasons, it is highly advisable to query for Custom Objects in a container by using the container field in the where predicate.
This endpoint is deprecated and replaced by the Query CustomObjects in Container endpoint.
OAuth 2.0 Scopes:
view_products:{projectKey}view_orders:{projectKey}view_customers:{projectKey}view_key_value_documents:{projectKey}
Path parameters:
projectKey
String
key of the Project.
region
String
Region in which the Project is hosted.
Query parameters:
expand
Expansion
The parameter can be passed multiple times.
sort
Sort
The parameter can be passed multiple times.
limit
Int
Default: 20
Minimum: 0
Maximum: 500
offset
Int
Number of elements skipped.
Default: 0
Maximum: 10000
withTotal
Boolean
Controls the calculation of the total number of query results. Set to false to improve query performance when the total is not needed.
Default: true
where
QueryPredicate
The parameter can be passed multiple times.
var.<varName>
String
The parameter can be passed multiple times.
Response:
200

CustomObjectPagedQueryResponse

as
application/json
Request Example:cURL
curl --get https://api.{region}.commercetools.com/{projectKey}/custom-objects -i \
--header "Authorization: Bearer ${BEARER_TOKEN}" 
200 Response Example: CustomObjectPagedQueryResponsejson
{
  "limit": 20,
  "offset": 0,
  "count": 2,
  "total": 2,
  "results": [
    {
      "id": "f584ebbb-3805-43f3-80c8-76f98b2c18b5",
      "version": 5,
      "container": "test-container",
      "key": "ac390383-370f-43f8-a534-db1604cb96a8",
      "value": {
        "name": "commercetools",
        "slug": "commercetools",
        "geoLocation": {
          "type": "Point",
          "coordinates": [13.412119019109015, 52.50103330534661]
        }
      },
      "createdAt": "2015-05-28T09:48:35.098Z",
      "lastModifiedAt": "2015-07-01T15:58:36.930Z"
    },
    {
      "id": "d8523d32-a79d-441c-90f4-744cc342126e",
      "version": 2,
      "container": "test-container",
      "key": "test-key",
      "value": "test-value",
      "createdAt": "2016-02-18T10:36:29.468Z",
      "lastModifiedAt": "2016-02-18T10:36:29.571Z"
    }
  ]
}
Deprecated functionalityAlternative functionalityNote
Get CustomObject by ID endpointGet CustomObject by container and keyDeprecated and removed on 16 September 2020.
Delete CustomObject by ID endpointDelete CustomObject by container and keyDeprecated and removed on 16 September 2020.

Host names

Deprecated functionalityAlternative functionalityNote
api.sphere.io, api.commercetools.com (Google Cloud, Belgium) and api.commercetools.co (Google Cloud, Iowa)api.europe-west1.gcp.commercetools.com (Google Cloud, Belgium) and api.us-central1.gcp.commercetools.com (Google Cloud, Iowa)Deprecated on 3 February 2020.

Import API

Deprecated functionalityAlternative functionalityNote
publish field in EmbeddedPriceImport and ProductVariantImportstaged field in EmbeddedPriceImport and ProductVariantImportDeprecated on 24 April 2024, and removed on 1 August 2024.
key field in OrderImportorderNumber field in OrderImportDeprecated and removed on 23 April 2021.
Import SinkImport ContainerDeprecated on 30 August 2021, and replaced on 30 November 2021.

Messages

Deprecated functionalityAlternative functionalityNote
paymentId field in PaymentStatusInterfaceCodeSetMessageid field in PaymentStatusInterfaceCodeSetMessageDeprecated on 29 September 2017.

Payments

Deprecated functionalityAlternative functionalityNote
"AUTHORIZATION" and "CHARGE" fields in TransactionType"Authorization" and "Charge" fields in TransactionTypeDeprecated and replaced on 29 September 2017.
externalId field in Payment and PaymentDraftkey field in Payment and PaymentDraftDeprecated and removed on 29 September 2017.
amountAuthorized, amountPaid, and amountRefunded fields in Payment and PaymentDraftValues can be calculated from the total amounts saved in the Transactions.Deprecated and removed on 29 September 2017.
authorizedUntil field in Payment and PaymentDraftValue is either not reliably known, or the authorization time is fixed for a PSP.Deprecated and removed on 29 September 2017.
Set ExternalId, Set Authorization, Set AmountRefunded, and Set AmountPaid update actionsNoneDeprecated and removed on 29 September 2017.

Products

Deprecated functionalityAlternative functionalityNote
setSKU update action (without staged field)Set SKU update actionDeprecated on 30 March 2016.
price, sku, and variantId fields in Remove Price update actionpriceId field in Remove PriceDeprecated on 17 May 2023, and removed on 15 June 2023.

Product Selections

Deprecated functionalityAlternative functionalityNote
ProductVariantSelectionInclusion and ProductVariantSelectionExclusion typesProductVariantSelection IncludeOnly, ProductVariantSelection IncludeAllExcept, ProductVariantExclusionDeprecated on 6 March 2023, and migrated automatically on 30 June 2023.
ProductSelectionType (Individual and IndividualExclusion)ProductSelectionMode (Individual and IndividualExclusion)Deprecated on 18 April 2023, and removed on 4 August 2023.
type field in ProductSelection and ProductSelectionDraftmode field in ProductSelection and ProductSelectionDraftDeprecated on 18 April 2023, and removed on 4 August 2023.

Product Type

Deprecated functionalityAlternative functionalityNote
Change Attribute Order update actionChange the order of AttributeDefinitions update actionDeprecated on 21 January 2019.

Project

Deprecated functionalityAlternative functionalityNote
Change Messages Enabled update actionChange Messages Configuration update actionDeprecated on 8 October 2018.

Order

Deprecated functionalityAlternative functionalityNote
id field on OrderFromCartDraftcart field on OrderFromCartDraftDeprecated on 22 December 2020.
lastMessageSequenceNumber field in OrderDo not use in applications.Deprecated on 24 May 2022.

Shipping Methods

Deprecated functionalityAlternative functionalityNote
?cartId={id} query parameterUse Get matching ShippingMethods for a Cart or for a Cart in Store endpoint.Deprecated on 6 February 2020.
?country={country} and ?orderEditId={orderEditId} query parametersUse Get matching ShippingMethods for a Location and for an OrderEdit endpoints.Deprecated and removed on 24 March 2020.
description field in ShippingMethod and ShippingMethodDraftlocalizedDescription in ShippingMethod and ShippingMethodDraftDeprecated on 3 March 2020.
Set Description update actionSet Localized Description update actionDeprecated on 3 March 2020.

Subscriptions

Deprecated functionalityAlternative functionalityNote
IronMQ Subscription destinationUse other destinations.Deprecated on 9 August 2018, and removed on 12 January 2023.
CloudEvents version 0.1Use CloudEvents version 1.0.Deprecated and replaced on 23 December 2019.

GraphQL API

Fields

Asset

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, and customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

Associate

Deprecated functionalityAlternative functionalityNote
rolesassociateRoleAssignmentsDeprecated on 2 May 2023, and removed on 2 August 2023.
SimpleAssociateRole typeAssociateRoleDeprecated on 2 May 2023, and removed on 2 August 2023.

Category

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, and customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.
productCountstagedProductCountDeprecated on 6 August 2018, and removed on 14 June 2021.

Cart

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

CartDiscount

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

CartDiscountValueBaseMoneyInput

Deprecated functionalityAlternative functionalityNote
currencyCode, centAmountUse centPrecision or highPrecision.Deprecated on 31 July 2023.

Channel

Deprecated functionalityAlternative functionalityNote
typeIdchannelRefDeprecated on 17 January 2020.
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

CountOnCustomLineItemUnits

Deprecated functionalityAlternative functionalityNote
excludeCountCartDiscountPatternTarget.triggerPatternDeprecated on 6 March 2025.

CountOnCustomLineItemUnitsInput

Deprecated functionalityAlternative functionalityNote
excludeCountCartDiscountPatternTargetInput.triggerPatternDeprecated on 6 March 2025.

CountOnLineItemUnits

Deprecated functionalityAlternative functionalityNote
excludeCountCartDiscountPatternTarget.triggerPatternDeprecated on 6 March 2025.

CountOnLineItemUnitsInput

Deprecated functionalityAlternative functionalityNote
excludeCountCartDiscountPatternTargetInput.triggerPatternDeprecated on 6 March 2025.

Customer

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

CustomerGroup

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.
typeIdcustomerGroupRefDeprecated on 17 January 2020.

CustomFieldsCommand

Deprecated functionalityAlternative functionalityNote
typetypeResIdDeprecated on 27 August 2020.

CustomFieldsType

Deprecated functionalityAlternative functionalityNote
customFieldscustom.customFieldsRawDeprecated on 20 August 2019.

CustomLineItem

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

CustomLineItemDraftOutput

Deprecated functionalityAlternative functionalityNote
taxCategorytaxCategoryResIdDeprecated on 27 August 2020.

DiscountCode

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

Initiator

Deprecated functionalityAlternative functionalityNote
customer, usercustomerRef, userRefDeprecated on 27 August 2020.

InventoryEntry

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

LineItem

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

LineItemDraftOutput

Deprecated functionalityAlternative functionalityNote
distributionChannel, supplyChanneldistributionChannelResId, supplyChannelResIdDeprecated on 27 August 2020.

NestedAttributeDefinitionType

Deprecated functionalityAlternative functionalityNote
typeReferencetypeRefDeprecated on 27 August 2020.

Order

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

Payment

Deprecated functionalityAlternative functionalityNote
amountAuthorized, authorizedUntil, amountPaid, amountRefundedNoneDeprecated on 29 September 2017.
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

ProductPrice

Deprecated functionalityAlternative functionalityNote
customFieldsRaw, customFields, customFieldListcustom.customFieldsRawDeprecated on 20 August 2019.

RemoveProductPrice

Deprecated functionalityAlternative functionalityNote
variantId, sku, pricepriceIdDeprecated on 17 May 2023, and removed on 15 June 2023.

ProductProjectionMessagePayload

Deprecated functionalityAlternative functionalityNote
masterDatamasterVariantDeprecated and replaced on 15 February 2021

productProjectionSearch

Deprecated functionalityAlternative functionalityNote
markMatchingVariant argumentmarkMatchingVariantsDeprecated and replaced on 29 October 2021

ProductSelection

Deprecated functionalityAlternative functionalityNote
ProductVariantSelectionInclusionProductVariantSelectionIncludeOnlyDeprecated on 6 March 2023, and removed on 30 June 2023.
ProductVariantSelectionExclusionProductVariantSelectionIncludeAllExceptDeprecated on 6 March 2023, and removed on 30 June 2023.
ProductSelection.typeProductSelection.modeDeprecated on 18 April 2023, and removed on 4 August 2023.
CreateProductSelectionDraft.typeCreateProductSelectionDraft.modeDeprecated on 18 April 2023, and removed on 4 August 2023.
ProductSelectionTypeProductSelectionModeDeprecated on 18 April 2023, and removed on 4 August 2023.
ProductSelectionCreatedPayload, IndividualProductSelectionCreatedPayload, IndividualExclusionProductSelectionCreatedPayloadDeprecated and removed on 18 April 2023.

ShippingMethod

Deprecated functionalityAlternative functionalityNote
descriptionlocalizedDescriptionDeprecated on 3 March 2020.

ShippingMethodUpdateAction

Deprecated functionalityAlternative functionalityNote
setDescriptionsetLocalizedDescriptionDeprecated on 3 March 2020.

TaxCategory

Deprecated functionalityAlternative functionalityNote
typeIdtaxCategoryRefDeprecated on 17 January 2020.

OAuth scopes

To restrict access to the minimum, following OAuth scopes have been replaced by more restrictive scopes in the GraphQL API on 2 November 2020.

Cart

OperationPrevious scopeCurrent scope
Mutation (to replicate a Cart)manage_project:{projectKey}manage_orders:{projectKey}

CartDiscount

OperationPrevious scopeCurrent scope
Queryview_orders:{projectKey}view_cart_discounts:{projectKey}
Mutationmanage_orders:{projectKey}manage_cart_discounts:{projectKey}

Category

OperationPrevious scopeCurrent scope
Queryview_products:{projectKey}view_categories:{projectKey}
Mutationmanage_products:{projectKey}manage_categories:{projectKey}

CustomObject

OperationPrevious scopeCurrent scope
Queryview_products:{projectKey}view_key_value_documents:{projectKey}
Mutationmanage_products:{projectKey}manage_key_value_documents:{projectKey}

CustomerGroup

OperationPrevious scopeCurrent scope
Queryview_customers:{projectKey}view_customer_groups:{projectKey}
Mutationmanage_customers:{projectKey}manage_customer_groups:{projectKey}

DiscountCode

OperationPrevious scopeCurrent scope
Queryview_orders:{projectKey}view_discount_codes:{projectKey}
Mutationmanage_orders:{projectKey}manage_discount_codes:{projectKey}

ShippingMethod

OperationPrevious scopeCurrent scope
Queryview_orders:{projectKey}view_shipping_methods:{projectKey}
Mutationmanage_orders:{projectKey}manage_shipping_methods:{projectKey}

State

OperationPrevious scopeCurrent scope
Queryview_orders:{projectKey}view_states:{projectKey}
Mutationmanage_orders:{projectKey}manage_states:{projectKey}

TaxCategory

OperationPrevious scopeCurrent scope
Queryview_products:{projectKey}view_tax_categories:{projectKey}
Mutationmanage_products:{projectKey}manage_tax_categories:{projectKey}