Functionality removed from Composable Commerce
This page lists all the functionalities that have been removed from the Composable Commerce API endpoints after deprecation.
REST API
Fields on resources
| Resource (incl. ResourceDraft) | Field |
|---|---|
| ShippingMethod | description |
| CustomFieldsDraft | typeID, typeKey |
| CustomFieldsDraft | typeId, typeKey |
| Cart (LineItem, CustomLineItem) | discountedPrice |
| Payment | externalId, amountAuthorized, amountPaid, amountRefunded, authorizedUntil |
| PaymentStatusInterfaceCodeSet Message | paymentId |
| ProductSelection and Draft | type |
| TransactionType | "AUTHORIZATION", "CHARGE" |
| Associate | roles |
| CountOnLineItemUnits and CountOnCustomLineItemUnits | excludeCount |
Methods on resources
| Resource | Method |
|---|---|
| Customer | changeName update action |
| Product | setSKU update action (without staged field) that was replaced by setSku update action with staged field |
| ShippingMethod | setDescription update action |
| CustomObject | Query (without /container) |
| CustomObject | Get CustomObject by ID |
| CustomObject | Delete CustomObject by ID |
| Type | changeFieldDefinitionLabel update action |
| Payment | setExternalId, setAuthorization, setAmountRefunded, and setAmountPaid update actions |
| Project | changeMessagesEnabled update action |
| ProductType | changeAttributeOrder update action |
Objects on resources
| Resource | Object |
|---|---|
| ProductSelection | ProductVariantSelectionExclusion |
| ProductSelection | ProductVariantSelectionInclusion |
| ProductSelection | IndividualExclusionProductSelectionType |
| ProductSelection | IndividualProductSelectionType |
| ProductSelection | ProductSelectionTypeEnum |
| Subscription | IronMqDestination |
Query parameters
| Endpoint | Method |
|---|---|
| Carts | ?customerId={id} |
| Shipping Methods | ?cartId={id} |
| Shipping Methods | ?country={country} |
| Shipping Methods | ?orderEditId={orderEditId} |
Fields on update actions
| Update action | Field |
|---|---|
| Remove Price (on Products) | price |
| Remove Price (on Products) | sku |
| Remove Price (on Products) | variantId |
GraphQL API
Removed fields
The following list contains fields that have been removed from the GraphQL API followed by their suggested alternatives.
Asset
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
Associate
roles: UseassociateRoleAssignmentsinstead.
Category
productCount: The returned number is representing only staged products. UsestagedProductCountinstead.customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
CategorySearch
productCount: The returned number is representing only staged products. UsestagedProductCountinstead.customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
Cart
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
CartDiscount
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
Channel
typeId: UsechannelRefto fetch the reference.customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
CountOnCustomLineItemUnits
excludeCount: Please useCartDiscountPatternTarget.triggerPatterninstead.
CountOnCustomLineItemUnitsInput
excludeCount: Please useCartDiscountPatternTargetInput.triggerPatterninstead.
CountOnLineItemUnits
excludeCount: Please useCartDiscountPatternTarget.triggerPatterninstead.
CountOnLineItemUnitsInput
excludeCount: Please useCartDiscountPatternTargetInput.triggerPatterninstead.
Customer
contactInfo: Please useemail.customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
CustomerGroup
typeId: UsecustomerGroupRefto fetch the reference.customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
CustomFieldsType
customFields: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
CustomLineItem
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
CustomFieldsCommand
type: UsetypeResIdto fetch the resource identifier.
CustomLineItemDraftOutput
taxCategory: UsetaxCategoryResIdto fetch the resource identifier.
DiscountCode
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
DiscountedProductPriceValue
discountRel: Please usediscount.
Initiator
customer: UsecustomerRefto fetch the reference.user: UseuserRefto fetch the reference.
InventoryEntry
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
LineItem
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
LineItemDraftOutput
distributionChannel: UsedistributionChannelResIdto fetch the resource identifier.supplyChannel: UsesupplyChannelResIdto fetch the resource identifier.
NestedAttributeDefinitionType
typeReference: UsetypeRefto fetch the reference.
Order
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
Payment
amountAuthorized: Payment API deprecated fields updateauthorizedUntil: Payment API deprecated fields updateamountPaid: Payment API deprecated fields updateamountRefunded: Payment API deprecated fields updatecustomFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.
Product
catalogData: OnlymasterDatasupported.
ProductPrice
customFieldsRaw: Please usecustom.customFieldsRaw.customFields: Please usecustom.customFieldsRaw.customFieldList: Typed custom fields are no longer supported, please usecustomFieldsRawinstead.- Input field
variantIdonRemoveProductPricetype, please usepriceIdinstead. - Input field
skuonRemoveProductPricetype, please usepriceIdinstead. - Input field
priceonRemoveProductPricetype, please usepriceIdinstead.
ProductProjectionMessagePayload
masterData: Please usemasterVariant.
ProductSelection
ProductSelection.type: Please useProductSelection.modeinstead.CreateProductSelectionDraft.type: Please useCreateProductSelectionDraft.modeinstead.ProductVariantSelectionInclusion: Please useProductVariantSelectionIncludeOnly.ProductVariantSelectionExclusion: Please useProductVariantSelectionIncludeAllExcept.ProductSelectionType: Please useProductSelectionModeinstead.IndividualExclusionProductSelectionCreatedPayload,IndividualProductSelectionCreatedPayload,ProductSelectionCreatedPayload
ProductVariant
attributes: Typed attributes are no longer supported, please useattributesRawinstead.attributeList: Typed attributes are no longer supported, please useattributesRawinstead.
ShippingMethod
description: UselocalizedDescription.
TaxCategory
typeId: UsetaxCategoryRefto fetch the reference.
Removed OAuth scopes
The following list contains OAuth scopes that have been removed from the GraphQL API followed by their suggested alternatives.
Category
- Querying:
view_products:{projectKey}, please useview_categories:{projectKey}instead. - Mutating:
manage_products:{projectKey}, please usemanage_categories:{projectKey}instead.
Cart
- Replicate a Cart:
manage_project:{projectKey}, please usemanage_orders:{projectKey}instead.
CartDiscount
- Querying:
view_orders:{projectKey}, please useview_cart_discounts:{projectKey}instead. - Mutating:
manage_orders:{projectKey}, please usemanage_cart_discounts:{projectKey}instead.
CustomerGroup
- Querying:
view_customers:{projectKey}, please useview_customer_groups:{projectKey}instead. - Mutating:
manage_customers:{projectKey}, please usemanage_customer_groups:{projectKey}instead.
CustomObject
- Querying:
view_products:{projectKey}, please useview_key_value_documents:{projectKey}instead. - Mutating:
manage_products:{projectKey}, please usemanage_key_value_documents:{projectKey}instead.
DiscountCode
- Querying:
view_orders:{projectKey}, please useview_discount_codes:{projectKey}instead. - Mutating:
manage_orders:{projectKey}, please usemanage_discount_codes:{projectKey}instead.
ShippingMethod
- Querying:
view_orders:{projectKey}, please useview_shipping_methods:{projectKey}instead. - Mutating:
manage_orders:{projectKey}, please usemanage_shipping_methods:{projectKey}instead.
State
- Querying:
view_orders:{projectKey}, please useview_states:{projectKey}instead. - Mutating:
manage_orders:{projectKey}, please usemanage_states:{projectKey}instead.
TaxCategory
- Querying:
view_products:{projectKey}, please useview_tax_categories:{projectKey}instead. - Mutating:
manage_products:{projectKey}, please usemanage_tax_categories:{projectKey}instead.