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 |
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 usecustomFieldsRaw
instead.
Associate
roles
: UseassociateRoleAssignments
instead.
Category
productCount
: The returned number is representing only staged products. UsestagedProductCount
instead.customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
CategorySearch
productCount
: The returned number is representing only staged products. UsestagedProductCount
instead.customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
Cart
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
CartDiscount
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
Channel
typeId
: UsechannelRef
to fetch the reference.customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
Customer
contactInfo
: Please useemail
.customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
CustomerGroup
typeId
: UsecustomerGroupRef
to fetch the reference.customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
CustomFieldsType
customFields
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
CustomLineItem
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
CustomFieldsCommand
type
: UsetypeResId
to fetch the resource identifier.
CustomLineItemDraftOutput
taxCategory
: UsetaxCategoryResId
to fetch the resource identifier.
DiscountCode
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
DiscountedProductPriceValue
discountRel
: Please usediscount
.
Initiator
customer
: UsecustomerRef
to fetch the reference.user
: UseuserRef
to fetch the reference.
InventoryEntry
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
LineItem
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
LineItemDraftOutput
distributionChannel
: UsedistributionChannelResId
to fetch the resource identifier.supplyChannel
: UsesupplyChannelResId
to fetch the resource identifier.
NestedAttributeDefinitionType
typeReference
: UsetypeRef
to fetch the reference.
Order
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.
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 usecustomFieldsRaw
instead.
Product
catalogData
: OnlymasterData
supported.
ProductPrice
customFieldsRaw
: Please usecustom.customFieldsRaw
.customFields
: Please usecustom.customFieldsRaw
.customFieldList
: Typed custom fields are no longer supported, please usecustomFieldsRaw
instead.- Input field
variantId
onRemoveProductPrice
type, please usepriceId
instead. - Input field
sku
onRemoveProductPrice
type, please usepriceId
instead. - Input field
price
onRemoveProductPrice
type, please usepriceId
instead.
ProductProjectionMessagePayload
masterData
: Please usemasterVariant
.
ProductSelection
ProductSelection.type
: Please useProductSelection.mode
instead.CreateProductSelectionDraft.type
: Please useCreateProductSelectionDraft.mode
instead.ProductVariantSelectionInclusion
: Please useProductVariantSelectionIncludeOnly
.ProductVariantSelectionExclusion
: Please useProductVariantSelectionIncludeAllExcept
.ProductSelectionType
: Please useProductSelectionMode
instead.IndividualExclusionProductSelectionCreatedPayload
,IndividualProductSelectionCreatedPayload
,ProductSelectionCreatedPayload
ProductVariant
attributes
: Typed attributes are no longer supported, please useattributesRaw
instead.attributeList
: Typed attributes are no longer supported, please useattributesRaw
instead.
ShippingMethod
description
: UselocalizedDescription
.
TaxCategory
typeId
: UsetaxCategoryRef
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 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.