This page lists all the functionalities that have been removed from the Composable Commerce API endpoints after deprecation.
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 |
| Change History | AddAssociateChange; see setAssociatesChange instead |
| Change History | RemoveAssociateChange; see setAssociatesChange instead |
| Change History | ChangeAmountAuthorizedChange |
| Change History | AddPriceChange; see setPricesChange instead |
| Change History | RemovePriceChange; see setPricesChange instead |
| Change History | AddRolesChange; see setRolesChange instead |
| Change History | RemoveRolesChange; see setRolesChange instead |
| Change History | AddProductSelectionChange; see setProductSelectionsChange instead |
| Change History | RemoveProductSelectionChange; see setProductSelectionsChange instead |
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 |
Removed fields
The following list contains fields that have been removed from the GraphQL API followed by their suggested alternatives.
Asset
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
Associate
roles : Use associateRoleAssignments instead.
Category
productCount : The returned number is representing only staged products. Use stagedProductCount instead.
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
CategorySearch
productCount : The returned number is representing only staged products. Use stagedProductCount instead.
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
Cart
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
CartDiscount
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
Channel
typeId : Use channelRef to fetch the reference.
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
CountOnCustomLineItemUnits
excludeCount : Please use CartDiscountPatternTarget.triggerPattern instead.
CountOnLineItemUnits
excludeCount : Please use CartDiscountPatternTarget.triggerPattern instead.
Customer
contactInfo : Please use email.
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
CustomerGroup
typeId : Use customerGroupRef to fetch the reference.
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
CustomFieldsType
customFields : Typed custom fields are no longer supported, please use customFieldsRaw instead.
CustomLineItem
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
CustomFieldsCommand
type : Use typeResId to fetch the resource identifier.
CustomLineItemDraftOutput
taxCategory : Use taxCategoryResId to fetch the resource identifier.
DiscountCode
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
DiscountedProductPriceValue
discountRel : Please use discount.
Initiator
customer : Use customerRef to fetch the reference.
user : Use userRef to fetch the reference.
InventoryEntry
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
LineItem
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
LineItemDraftOutput
distributionChannel : Use distributionChannelResId to fetch the resource identifier.
supplyChannel : Use supplyChannelResId to fetch the resource identifier.
NestedAttributeDefinitionType
typeReference : Use typeRef to fetch the reference.
Order
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
Product
catalogData : Only masterData supported.
ProductPrice
customFieldsRaw : Please use custom.customFieldsRaw.
customFields : Please use custom.customFieldsRaw.
customFieldList : Typed custom fields are no longer supported, please use customFieldsRaw instead.
- Input field
variantId on RemoveProductPrice type, please use priceId instead.
- Input field
sku on RemoveProductPrice type, please use priceId instead.
- Input field
price on RemoveProductPrice type, please use priceId instead.
ProductProjectionMessagePayload
masterData : Please use masterVariant.
ProductSelection
ProductSelection.type: Please use ProductSelection.mode instead.
CreateProductSelectionDraft.type: Please use CreateProductSelectionDraft.mode instead.
ProductVariantSelectionInclusion: Please use ProductVariantSelectionIncludeOnly.
ProductVariantSelectionExclusion: Please use ProductVariantSelectionIncludeAllExcept.
ProductSelectionType: Please use ProductSelectionMode instead.
IndividualExclusionProductSelectionCreatedPayload, IndividualProductSelectionCreatedPayload, ProductSelectionCreatedPayload
ProductVariant
attributes : Typed attributes are no longer supported, please use attributesRaw instead.
attributeList : Typed attributes are no longer supported, please use attributesRaw instead.
ShippingMethod
description : Use localizedDescription.
TaxCategory
typeId : Use taxCategoryRef to 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 use view_categories:{projectKey} instead.
- Mutating:
manage_products:{projectKey} , please use manage_categories:{projectKey} instead.
Cart
- Replicate a Cart:
manage_project:{projectKey} , please use manage_orders:{projectKey} instead.
CartDiscount
- Querying:
view_orders:{projectKey} , please use view_cart_discounts:{projectKey} instead.
- Mutating:
manage_orders:{projectKey} , please use manage_cart_discounts:{projectKey} instead.
CustomerGroup
- Querying:
view_customers:{projectKey} , please use view_customer_groups:{projectKey} instead.
- Mutating:
manage_customers:{projectKey} , please use manage_customer_groups:{projectKey} instead.
CustomObject
- Querying:
view_products:{projectKey} , please use view_key_value_documents:{projectKey} instead.
- Mutating:
manage_products:{projectKey} , please use manage_key_value_documents:{projectKey} instead.
DiscountCode
- Querying:
view_orders:{projectKey} , please use view_discount_codes:{projectKey} instead.
- Mutating:
manage_orders:{projectKey} , please use manage_discount_codes:{projectKey} instead.
ShippingMethod
- Querying:
view_orders:{projectKey} , please use view_shipping_methods:{projectKey} instead.
- Mutating:
manage_orders:{projectKey} , please use manage_shipping_methods:{projectKey} instead.
State
- Querying:
view_orders:{projectKey} , please use view_states:{projectKey} instead.
- Mutating:
manage_orders:{projectKey} , please use manage_states:{projectKey} instead.
TaxCategory
- Querying:
view_products:{projectKey} , please use view_tax_categories:{projectKey} instead.
- Mutating:
manage_products:{projectKey} , please use manage_tax_categories:{projectKey} instead.