MCP Server and Resource Metrics

  • Server URL: https://<domain>/cart/mcp
  • Total Tools: 83
  • Total Error Codes: 10

Server Overview

The MCP server provides a robust suite of 83 tools designed to manage collections, carts, items, shipping, promotions, payments, loyalty rewards, and cache operations, enabling seamless e-commerce functionalities with error handling, validation, and dynamic updates for efficient business operations.

Tools

The following table lists the available MCP tools for Cart service along with their descriptions and required/optional parameters:

Tool Name Tool Description Required Parameters Optional Parameters
subscribeEvent This tool sends a cache clear message to the queue via the default exchange for cache clearing operations.
  • x-api-key
None
listenEvent This tool merges guest and registered user lists via the default exchange, with locale-specific responses in JSON format.
  • x-collection-id
  • registeredUserId
  • fakeUserId
  • x-api-key
  • x-version-id
  • locale
getCollectionById This tool retrieves collection details based on business ID and collection ID, throwing an error if required parameters are missing.
  • x-auth-token
  • businessId
  • collectionId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
replaceCollectionById This tool updates collection properties based on business and collection IDs, requiring a mandatory field name in the request, with various response codes for success or errors.
  • x-auth-token
  • businessId
  • collectionId
  • x-api-key
  • name
  • x-version-id
  • x-store-id
  • locale
  • description
  • status
  • properties
replacePropertiesByCollectionId This tool updates collection properties, requiring a mandatory field name and valid identifiers, with responses ranging from success to various error codes.
  • x-auth-token
  • collectionId
  • businessId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
updatePropertiesByCollectionId This tool patch updates collection properties, requiring a mandatory field name, and supports various responses based on operation outcomes.
  • x-auth-token
  • businessId
  • collectionId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
getPropertiesByCartId This tool retrieves cart properties based on cart ID and collection ID, with errors for missing or invalid inputs.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • locale
  • x-store-id
  • page
  • size
  • userInfo
replacePropertiesByCartId This tool updates or creates cart properties based on input, requiring valid cart and collection IDs, and provides various response codes for success or errors.
  • cartId
  • x-collection-id
  • x-version-id
  • x-auth-token
  • x-api-key
  • x-store-id
  • locale
  • userInfo
createPropertiesByCartId This tool adds extra properties to a cart using cart and collection IDs, returning a list of properties or errors for invalid inputs.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • locale
  • x-store-id
  • userInfo
getPropertiesByItemIdAndCartId This tool retrieves item properties using item ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • itemId
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • page
  • size
  • userInfo
replacePropertiesByItemIdAndCartId This tool updates or creates item properties by item ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-version-id
  • x-auth-token
  • cartId
  • itemId
  • x-api-key
  • x-store-id
  • locale
  • userInfo
createPropertiesByItemIdAndCartId This tool adds extra properties to an item based on item ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • itemId
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
getCommunicationPreferenceByCartId This tool retrieves communication preference details for a guest user based on cart ID and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
replaceCommunication
PreferenceByCartId
This tool updates cart communication preferences, requiring valid cart and collection IDs, and provides responses for success or various errors.
  • cartId__path
  • x-collection-id
  • x-auth-token
  • x-api-key
  • cartId
  • collectionId
  • firstName
  • lastName
  • email
  • phone
  • contactMethod
  • x-version-id
  • x-store-id
  • locale
  • zipCode
deleteCommunication
PreferenceByCartId
This tool deletes communication preferences for a cart, requiring valid cart and collection IDs, with various response codes for success or errors.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
refreshApi This tool updates secret keys without restart, clears instance data, and uses `keyName` and `resetRequired` parameters.
  • x-auth-token
  • keyName
  • resetRequired
  • x-api-key
None
cacheClear This tool clears cached data for specified cache names, supports string-type keys, and clears entire cache if no key or pattern is provided.
  • x-auth-token
  • cacheName
  • x-api-key
  • cacheKey
  • pattern
cacheClear_1 This tool clears cached data using dynamic cache keys and returns a JSON response with code, message, and timestamp.
  • x-api-key
  • cacheNames
  • cacheKey
  • simpleKey
  • pattern
getCollections This tool retrieves collections based on a mandatory business ID, with optional sorting, filtering, pagination, and locale parameters, returning JSON responses for success or various errors.
  • x-version-id
  • x-auth-token
  • businessId
  • x-api-key
  • x-store-id
  • sort
  • filters
  • locale
  • page
  • size
createCollection This tool initializes a collection with defined properties as the foundation for microservices, requiring mandatory fields and supporting various response codes for validation and errors.
  • x-auth-token
  • businessId
  • x-api-key
  • name
  • x-version-id
  • x-store-id
  • locale
  • description
  • status
  • properties
getCarts This tool retrieves all carts and associated entities using collection and cart IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • x-version-id
  • x-api-key
  • locale
  • page
  • size
  • x-store-id
  • filter
  • sort
  • userInfo
  • type
  • approvalflow
createCart This tool creates a cart linked to a user and collection using authToken, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • x-api-key
  • id
  • collectionId
  • status
  • type
  • updatedTime
  • lastReminderOn
  • reminderCount
  • x-version-id
  • locale
  • userInfo
  • x-store-id
  • userId
  • accountsId
  • createdBy
  • createdTime
  • updatedBy
  • costCentre
  • items
  • payments
  • otherCharges
  • promotions
  • shipping
  • communicationPreference
  • customProperties
  • address
  • parentOrderId
  • effectiveOrderDate
  • orderType
  • loyaltyDetails
  • subscription
  • approvalInfo
  • isApprovalCart
  • conditions
  • storeLocationIdentifier
getShippingByCartId This tool retrieves shipping details of a cart using shipping ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
createShippingByCartId This tool generates shipping details for a cart using cart ID and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • id
  • type
  • selectedMethod
  • shippingVersion
  • x-version-id
  • locale
  • x-store-id
  • userInfo
  • deliveryOnOrBefore
  • deliveryInstructions
  • storeLocationIdentifier
  • firstName
  • lastName
  • email
  • phone
getPromotionsByCartId This tool retrieves cart promotions using collection and cart IDs, with errors for missing or invalid inputs.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • userInfo
  • x-store-id
  • locale
createPromotionsByCartId This tool adds promotions to a cart using cart ID and collection ID, validates inputs including mandatory promocode, and returns appropriate responses based on success or errors.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • locale
  • userInfo
  • x-store-id
deleteAllPromotionByCartId This tool removes all promotions from a cart linked to a collection ID, throwing errors for missing or invalid cart ID and collection ID inputs.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • userInfo
  • x-store-id
  • locale
getPaymentsByCartId This tool retrieves payments linked to a cart using cart ID and collection ID, with errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • page
  • size
  • locale
  • userInfo
createPaymentsByCartId This tool manages cart payment records linked to cart and collection IDs, fetching data from the Payment service with various response codes.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
deletePaymentsByCartId This tool deletes all payments linked to a cart using cart ID and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-store-id
  • x-version-id
  • locale
  • userInfo
createOtherCharges This tool generates and stores a list of additional charges based on cart and collection IDs, with support for locale and user filtering.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
getLoyaltyRewardsByCartId This tool retrieves loyalty rewards for a cart using cart ID and collection ID, with errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • page
  • size
  • locale
  • userInfo
createLoyaltyRewardsByCartId This tool manages cart loyalty rewards linked to cart and collection IDs, with responses for various status codes.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
deleteLoyaltyRewardsByCartId This tool removes all loyalty rewards linked to a cart using cart ID and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-store-id
  • x-version-id
  • locale
  • userInfo
createItemsByCartId This tool adds items to a cart using cart ID and collection ID, requiring mandatory fields like quantity and SKUs, with error responses for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
deleteAllByCartId This tool deletes all cart items using cart ID and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
getShippingByCartIdAndItemId This tool retrieves shipping details for a cart item using cart ID, item ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • itemId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
createShippingByCartIdAndItemId This tool generates shipping details for a cart item using cart ID, item ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • itemId
  • x-api-key
  • id
  • type
  • selectedMethod
  • shippingVersion
  • x-version-id
  • locale
  • x-store-id
  • userInfo
  • deliveryOnOrBefore
  • deliveryInstructions
  • storeLocationIdentifier
  • firstName
  • lastName
  • email
  • phone
getAddressByCartIdAndItemId This tool retrieves a shipping address based on cart ID, item ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • itemId
  • x-api-key
  • x-version-id
  • locale
  • userInfo
  • x-store-id
createAddressByCartIdAndItemId This tool generates a shipping address using cart ID, item ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • itemId
  • x-api-key
  • id
  • firstName
  • lastName
  • addressLine1
  • addressLine2
  • city
  • state
  • county
  • country
  • email
  • mobile
  • x-version-id
  • locale
  • userInfo
  • x-store-id
  • middleName
  • companyName
  • addressLine3
  • zip
  • phone
  • canReceiveSMS
  • storeId
  • addressVersion
  • profileAddressId
validateCart This tool validates cart details including shipping, item availability, preferences, delivery address, payment, and age using request data.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • locale
  • x-store-id
  • userInfo
calculateCart This tool calculates cart costs, applies discounts, and prepares the cart for order submission based on provided parameters.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • locale
  • x-store-id
  • enabledItemLevelProration
  • bundleProrationItemIds
  • userInfo
getAddressByCartId This tool retrieves a cart’s shipping address using cart and collection IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • locale
  • userInfo
  • x-store-id
createAddressByCartId This tool generates a shipping address for a cart using cart ID and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • id
  • firstName
  • lastName
  • addressLine1
  • addressLine2
  • city
  • state
  • county
  • country
  • email
  • mobile
  • x-version-id
  • locale
  • userInfo
  • x-store-id
  • middleName
  • companyName
  • addressLine3
  • zip
  • phone
  • canReceiveSMS
  • storeId
  • addressVersion
  • profileAddressId
getCartById This tool retrieves cart details and associated entities based on collection and cart IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • locale
  • userInfo
  • x-store-id
deleteCartById This tool deletes carts and their child entities based on valid collection and cart IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • cartId
  • x-api-key
  • x-version-id
  • x-auth-token
  • x-store-id
  • locale
  • userInfo
updateCartById This tool patch updates a cart by collection and cart IDs, excluding child entities, and throws errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • x-version-id
  • cartId
  • x-api-key
  • id
  • collectionId
  • status
  • type
  • updatedTime
  • lastReminderOn
  • reminderCount
  • locale
  • userInfo
  • x-store-id
  • userId
  • accountsId
  • createdBy
  • createdTime
  • updatedBy
  • costCentre
  • items
  • payments
  • otherCharges
  • promotions
  • shipping
  • communicationPreference
  • customProperties
  • address
  • parentOrderId
  • effectiveOrderDate
  • orderType
  • loyaltyDetails
  • subscription
  • approvalInfo
  • isApprovalCart
  • conditions
  • storeLocationIdentifier
deleteShippingByCartId This tool deletes cart shipping details using collection and cart IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
updateShippingByCartId This tool patch updates cart shipping details based on collection and cart IDs, with errors for missing or invalid inputs.
  • x-collection-id
  • cartId
  • x-api-key
  • id
  • type
  • selectedMethod
  • shippingVersion
  • x-auth-token
  • x-store-id
  • x-version-id
  • locale
  • userInfo
  • deliveryOnOrBefore
  • deliveryInstructions
  • storeLocationIdentifier
  • firstName
  • lastName
  • email
  • phone
deletePropertyByCartId
AndPropertyName
This tool deletes cart properties by name, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • name
  • x-api-key
  • x-version
  • x-store-id
  • locale
  • userInfo
updatePropertyByCartId
AndPropertyName
This tool updates an existing cart property by name, requires valid cart and collection IDs, and returns various status codes based on the response or errors.
  • x-collection-id
  • x-version-id
  • x-auth-token
  • cartId
  • name
  • x-api-key
  • x-store-id
  • locale
  • userInfo
deletePaymentByIdAndCartId This tool deletes a cart’s payment using payment ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • paymentId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
updatePaymentByIdAndCartId This tool patch updates cart payment details using payment ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • paymentId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
deleteOtherCharges This tool removes other charges from a cart using specified IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • cartId
  • x-auth-token
  • otherChargesId
  • x-api-key
  • x-version-id
  • locale
  • x-store-id
  • userInfo
patchOtherCharges This tool updates `chargeValue` and `description` for cart charges using IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • cartId
  • x-auth-token
  • otherChargesId
  • x-api-key
  • x-version-id
  • locale
  • x-store-id
  • userInfo
deleteLoyaltyRewardsByIdAndCartId This tool deletes loyalty rewards from a cart using specified IDs, throwing errors for missing or invalid inputs.
  • cartId
  • loyaltyrewardsId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
updateLoyaltyRewardsByIdAndCartId This tool patch updates loyalty rewards for a cart using loyalty rewards ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • loyaltyrewardsId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
  • id
  • value
  • points
  • type
  • valueType
  • voucherType
  • voucherId
deleteItemByIdAndCartId This tool deletes an item using item ID, cart ID, and collection ID, throwing errors for missing or invalid inputs, and provides responses in JSON format for various status codes.
  • cartId
  • x-collection-id
  • x-auth-token
  • itemId
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • userInfo
updateItemByIdAndCartId This tool patch updates an item using item ID, cart ID, and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • itemId
  • x-version-id
  • x-collection-id
  • x-auth-token
  • x-api-key
  • id
  • quantity
  • x-store-id
  • locale
  • userInfo
  • createdBy
  • updatedBy
  • shipping
  • storeLocationIdentifier
  • customProperties
  • skus
  • storeId
  • address
  • parentItemId
  • parentOrderId
  • orderType
  • isReturned
  • parentLineId
  • fulfillmentDate
  • isSubscription
  • subscription
  • isGift
  • createdTime
  • updatedTime
  • quantityFractional
createShippingByCartIdAndItemId_1 This tool deletes shipping details for a cart item using item ID, collection ID, and cart ID, throwing errors for missing or invalid inputs.
  • cartId
  • itemId
  • x-version-id
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-store-id
  • locale
  • userInfo
createShippingByCartIdAndItemId_2 This tool patch updates cart item shipping details using item ID, collection ID, and cart ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • itemId
  • x-api-key
  • id
  • type
  • selectedMethod
  • shippingVersion
  • x-version-id
  • x-store-id
  • locale
  • userInfo
  • deliveryOnOrBefore
  • deliveryInstructions
  • storeLocationIdentifier
  • firstName
  • lastName
  • email
  • phone
deletePropertyByNameAndItemId
AndCartId
This tool deletes an item property using cart ID, item ID, property name, and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • cartId
  • x-auth-token
  • itemId
  • name
  • x-api-key
  • x-version
  • x-store-id
  • locale
  • userInfo
updatePropertyByNameAndItemId
AndCartId
This tool patch updates item properties based on provided IDs and property name, throwing errors for missing or invalid inputs, with various response codes indicating success or failure.
  • x-collection-id
  • x-version-id
  • x-auth-token
  • cartId
  • itemId
  • name
  • x-api-key
  • x-store-id
  • locale
  • userInfo
deleteCartItemAddress This tool deletes an item’s shipping address using cart ID, item ID, and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • itemId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • locale
  • userInfo
  • x-store-id
updateAddressByCartIdAndItemId This tool patch updates the shipping address using cart ID, item ID, and collection ID, throwing errors for missing or invalid inputs.
  • cartId
  • itemId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • id
  • firstName
  • lastName
  • addressLine1
  • addressLine2
  • city
  • state
  • county
  • country
  • email
  • mobile
  • x-version-id
  • locale
  • userInfo
  • x-store-id
  • middleName
  • companyName
  • addressLine3
  • zip
  • phone
  • canReceiveSMS
  • storeId
  • addressVersion
  • profileAddressId
deleteAddressByCartId This tool deletes a cart’s shipping address using cart and collection IDs, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • x-version-id
  • cartId
  • x-api-key
  • locale
  • userInfo
  • x-store-id
updateAddressByCartId This tool patch updates a cart’s shipping address using cart ID and collection ID, throwing errors for missing or invalid inputs.
  • x-collection-id
  • x-auth-token
  • cartId
  • x-api-key
  • id
  • firstName
  • lastName
  • addressLine1
  • addressLine2
  • city
  • state
  • county
  • country
  • email
  • mobile
  • x-version-id
  • locale
  • userInfo
  • x-store-id
  • middleName
  • companyName
  • addressLine3
  • zip
  • phone
  • canReceiveSMS
  • storeId
  • addressVersion
  • profileAddressId
refreshApi_1 This tool updates secret keys without a restart, clears instance data for AWS updates, and requires `keyName` and `resetRequired` parameters.
  • x-auth-token
  • keyName
  • resetRequired
  • x-api-key
None
rabbitMQUpdateCredentials This tool updates RabbitMQ credentials, clears instance data for AWS updates, and requires `keyName` and `resetRequired` parameters.
  • x-auth-token
  • keyName
  • resetRequired
  • x-api-key
None
refreshApi_2 This tool updates secret keys without restarting, clears instance data for AWS calls, and uses `keyName` and `resetRequired` parameters.
  • x-auth-token
  • keyName
  • resetRequired
  • x-api-key
None
getAllStandrdRoles This tool retrieves and filters standard roles and privileges from `roles_privileges.json` but has been deprecated since Infosys Equinox Commerce Release 8.3.0.
  • x-auth-token
  • x-api-key
  • roleName
getReleaseDefinition This tool retrieves the release definition of a service with structured responses for success, errors, and validation details.
  • x-auth-token
  • x-api-key
None
getAllPrivileges This tool fetches all service privileges listed in `roles_privileges.json` within the microservice’s classpath, returning a JSON response upon success.
  • x-auth-token
  • x-api-key
None
getAllPrivilegeGroups This tool retrieves and filters privilege groups and their privileges from `roles_privileges.json` based on the `privilegeGroupName` parameter.
  • x-auth-token
  • x-api-key
  • privilegeGroupName
ping This tool returns a timestamp in milliseconds to confirm service availability.
  • x-api-key
None
getCacheValue This tool retrieves cached data for a specified service using a string-based cache name and cache key.
  • cacheName
  • cacheKey
  • x-auth-token
  • x-api-key
None
getCacheKeys This tool retrieves cache keys for a service using a specified Redis regex pattern, defaulting to ‘*’.
  • pattern
  • x-auth-token
  • x-api-key
None
getPropertyByCollectionId
AndPropertyName
This tool retrieves a collection property by name, requiring mandatory field inputs and valid identifiers, with detailed response codes for success or errors.
  • x-auth-token
  • businessId
  • collectionId
  • name
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
getCollectionAttributes This tool retrieves collection attributes for a microservice, with query parameters like businessId and locale, and provides structured JSON responses for various status codes.
  • x-version-id
  • x-auth-token
  • businessId
  • x-api-key
  • x-store-id
  • locale
getItemsByCartId This tool retrieves cart items using cart ID and collection ID, with errors for missing or invalid inputs.
  • cartId
  • x-collection-id
  • x-auth-token
  • size
  • x-api-key
  • x-version-id
  • x-store-id
  • locale
  • page
  • userInfo
deletePromotionByCartIdAndPromoCode This tool deletes a cart’s promotion by promocode, requiring valid cart ID, collection ID, and promocode, with detailed error responses for invalid inputs.
  • cartId
  • x-collection-id
  • promoCode
  • x-auth-token
  • x-api-key
  • x-version-id
  • userInfo
  • x-store-id
  • locale
deleteCartSubscriptionByCartId This tool deletes cart subscriptions using cartId and collectionId, with various response codes for success or errors.
  • cartId
  • x-collection-id
  • x-auth-token
  • x-api-key
  • x-version-id
  • x-store-id
  • userInfo
  • locale
cacheClear_2 This tool clears all cache or specific cache by name and ID, with optional locale and ID parameters.
  • x-auth-token
  • x-api-key
  • locale
  • x-version-id
  • cacheName
  • id

Error Responses

The table below lists standard error codes with their corresponding descriptions for API responses:

Error Code Error Description
200 (Success): OK
201 (Success): Created
202 (Success): Accepted
400 Bad Request
401 Unauthorized
403 Forbidden
404 The resource you are trying to reach is not found
409 Conflict Request
422 Unprocessable Entity
500 Internal Server Error occurred

Useful Resources

Revision History
2025-11-19 | JP – Updated domain
2025-09-29 | SD – Page created and content added