Removed functionality
This page lists all the functionalities that have been removed from the 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 |
TransactionType | "AUTHORIZATION" , "CHARGE" |
Methods on resources
Endpoint | Method |
---|---|
Customers | changeName |
Products | setSKU with no staged parameter |
ShippingMethods | setDescription |
Custom Objects | Query (without /container ) |
Custom Object | Get CustomObject by ID |
Custom Object | Delete CustomObject by ID |
Query parameters
Endpoint | Method |
---|---|
Carts | ?customerId={id} |
Shipping Methods | ?cartId={id} |
Shipping Methods | ?country={country} |
Shipping Methods | ?orderEditId={orderEditId} |
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.
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
: Will be removed in the future. 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.
ProductProjectionMessagePayload
masterData
: Please usemasterVariant
.
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.