MCP Server and Resource Metrics

  • Server URL: https://<domain>/promotion/mcp
  • Total Tools: 88
  • Total Error Codes: 10

Server Overview

The MCP server provides a robust suite of 88 tools designed to manage promotions, collections, projects, and related functionalities, offering capabilities such as creation, retrieval, updates, validation, and deletion, while supporting advanced features like filtering, sorting, pagination, caching, and historical version tracking to streamline business operations and enhance promotional management efficiency.

Tools

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

Tool Name Tool Description Required Parameters Optional Parameters
getRuleEngineModel This tool provides the rule engine configuration and returns detailed responses based on status codes.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
updateDroolsRule This tool updates all Drools rules for a specified collection and provides detailed response codes and messages for various outcomes.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
getPromoWallet This tool retrieves a promowallet using a unique ID and provides detailed response codes, messages, timestamps, status, and failure reasons.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
replacePromoWallet_1 This tool updates the promowallet and its details based on a unique promocode ID, with various response codes indicating success or errors.
  • x-auth-token
  • x-collection-id
  • id__path
  • x-api-key
  • x-version
  • locale__header
  • coupons
  • id
  • status
  • locale
deletePromoWalletr This tool performs a soft delete on an existing promowallet using a unique identifier, with various response codes indicating success or specific errors.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
replacePromoCodeList This tool updates specific attributes of a promowallet using a unique ID and provides detailed response codes for various outcomes.
  • x-auth-token
  • x-collection-id
  • id__path
  • x-api-key
  • x-version
  • locale__header
  • coupons
  • id
  • status
  • locale
getPromotionList The tool loads a promotion list by ID and returns detailed response properties for various HTTP status codes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
replacePromotionList The `updatePromotionList` tool updates a promotion list by ID, returning various response codes with detailed properties based on the operation’s outcome.
  • x-auth-token
  • x-collection-id
  • id__path
  • x-api-key
  • name
  • status
  • x-version
  • locale__header
  • id
  • locale
  • collectionId
  • feedId
  • items
  • deletedItems
  • duplicateItems
  • className
  • field
  • createdOn
  • updatedOn
  • createdBy
  • updatedBy
deletePromotionList The tool deletes a promotion list by its unique ID and provides various response codes for success or errors, including details like status, timestamp, and failure reasons.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
updatePromotionList The tool updates a promotion list by ID, returning various response codes with details like status, timestamp, and failure reasons.
  • x-auth-token
  • x-collection-id
  • id__path
  • x-api-key
  • name
  • status
  • x-version
  • locale__header
  • id
  • locale
  • collectionId
  • feedId
  • items
  • deletedItems
  • duplicateItems
  • className
  • field
  • createdOn
  • updatedOn
  • createdBy
  • updatedBy
getPromoCodeList This tool retrieves a promocode list using a unique ID and provides detailed response codes and messages for various outcomes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
replacePromoCodeList_1 This tool updates the promocode list using a unique identifier and provides detailed responses for various status codes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
deletePromoCodeList This tool deletes a promocode list by its unique ID, removing all associated promocodes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
replacePromoCodeList_1_2 This tool updates specified attributes of a promocode list using a unique identifier and provides detailed response codes for various outcomes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
getProject This tool retrieves a project by its unique ID and provides detailed response codes for various outcomes.
  • x-auth-token
  • x-collection-id
  • projectId
  • x-api-key
  • x-version
  • locale
replaceProject This tool updates all project attributes except ID and state, with detailed response codes and messages for various outcomes.
  • x-auth-token
  • x-collection-id
  • projectId
  • x-api-key
  • x-version
  • locale
updateProject This tool updates selected attributes of a project model using a unique project ID, returning various status codes and detailed response properties.
  • x-auth-token
  • x-collection-id
  • projectId
  • x-api-key
  • x-version
  • locale
getPromotionGroup
ByProjectId
This tool retrieves a promotion group under a specified collection ID and project ID, returning status and error details in various response codes.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupId
  • x-api-key
  • x-version
  • locale
replacePromotionGroup This tool updates an existing promotion group based on request data, with various response codes indicating success or specific errors.
  • x-auth-token
  • x-collection-id
  • projectId__path
  • groupId
  • x-api-key
  • name
  • startDate
  • endDate
  • status
  • stopFurtherProcessing
  • x-version
  • locale
  • stopConditionData
  • notes
  • priority
  • createdOn
  • createdBy
  • updatedOn
  • updatedBy
  • archive
  • listIds
  • id
  • projectId
  • changeLog
clonePromotionGroup
ByPromotionGroupId
This tool duplicates a promotion group by creating an exact copy under a specified project ID.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupId
  • x-api-key
  • x-version
  • locale
  • fromProjectId
deletePromotionGroup This tool performs a soft delete on an existing promotion group using required project and group IDs, with detailed response codes for various statuses.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupId
  • x-api-key
  • x-version
  • locale
  • isHardDelete
getPromotion
ByPromotionGroupId
This tool retrieves promotion details based on project, group, and promotion IDs, with various response codes indicating success or errors.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupId
  • promotionId
  • x-api-key
  • x-version
  • locale
  • fetchArchive
replacePromotion
ByPromotionGroupId
This tool updates an existing promotion based on provided request data and returns various response codes for success or errors.
  • x-auth-token
  • x-collection-id
  • projectId__path
  • groupId
  • promotionId
  • x-api-key
  • name
  • startDate
  • endDate
  • status
  • x-version
  • locale
  • stopConditionData
  • notes
  • priority
  • createdOn
  • createdBy
  • updatedOn
  • updatedBy
  • archive
  • listIds
  • id
  • projectId
  • promoCodeType
  • promoCodeUsageCount
  • promoCodeUsageDays
  • promoCodeListId
  • offerOn
  • promotionGroupId
  • changeLog
  • conditionData
  • offerType
  • stopFurtherProcessing
  • actions
  • promotionClass
  • promotionGroup
  • promotionInformation
  • frequencyType
  • frequencyValue
  • freqCycleStartsOnPromoStart
  • freqCycleStartsOnWeekDay
  • redemptionLimit
  • frequencyIdentifier
  • startHour
  • endHour
  • weekDays
  • enableProximity
  • properties
clonePromotion
ByPromotionGroupId
This tool duplicates a promotion by creating an identical copy based on specified parameters and provides detailed response codes for various outcomes.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupId
  • promotionId
  • x-api-key
  • x-version
  • locale
  • fromProjectId
deletePromotion
ByPromotionGroupId
This tool performs a soft delete on an existing promotion using required project, group, and promotion IDs, with various response codes indicating success or errors.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupId
  • promotionId
  • x-api-key
  • x-version
  • locale
  • isHardDelete
getCollection This tool retrieves a promotion collection using specified path and query parameters, returning status and details based on the operation’s outcome.
  • x-auth-token
  • businessId
  • id
  • x-api-key
  • x-version
  • locale
replaceCollection This tool updates a promotion collection by modifying all attributes, requiring all associated properties to be included in the request.
  • x-auth-token
  • businessId
  • id
  • x-api-key
  • x-version
  • locale
replaceCollectionProperties This tool updates collection properties based on provided identifiers and parameters, returning detailed response codes and messages for various outcomes.
  • x-auth-token
  • businessId
  • id
  • x-api-key
  • x-version
  • locale
updateCollectionProperties This tool modifies a collection’s property by name using collection ID, requiring mandatory name and value attributes, with detailed response codes for various statuses.
  • x-auth-token
  • businessId
  • id
  • x-api-key
  • x-version
  • locale
refreshApi This tool updates secret keys without a restart, clears instance data for AWS calls, and requires `keyName` and `resetRequired` parameters with detailed response codes.
  • x-auth-token
  • keyName
  • resetRequired
  • x-api-key
None
getloadAllPromoWallet This tool retrieves promowallets based on page requests, with sorting, filtering, pagination, and detailed response codes.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
createPromoWallet This tool generates a list of Promowallet with detailed response codes and messages for various statuses.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale__header
  • coupons
  • id
  • status
  • locale
getPromotionLists The tool retrieves promotion lists with sorting, filtering, pagination, and detailed response codes for various statuses.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
createPromotionList The tool provides various HTTP status codes with detailed response properties, including timestamps, status, and error details for promotion creation operations.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • name
  • status
  • x-version
  • locale__header
  • id
  • locale
  • collectionId
  • feedId
  • items
  • deletedItems
  • duplicateItems
  • className
  • field
  • createdOn
  • updatedOn
  • createdBy
  • updatedBy
getPromoCodeLists This tool retrieves paginated promocode lists with sorting, filtering, and detailed response codes for various statuses.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
createPromoCodeList This tool generates a list of promocodes and provides detailed response codes for success or failure scenarios.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • name
  • status
  • x-version
  • locale__header
  • id
  • locale
  • collectionId
  • feedId
  • promoCodes
  • duplicatePromoCodes
  • deletePromoCodes
  • changeLog
  • createdOn
  • updatedOn
  • createdBy
  • updatedBy
  • hiddenList
getProjects This tool retrieves all projects with optional sorting, filtering, pagination, and detailed response codes for various statuses.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
createProject This tool creates a new project and provides detailed response codes and messages for various outcomes.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
getPromotionGroups
ByProjectId
This tool retrieves all promotion groups under a specified project ID, with optional filters, sorting, and pagination.
  • x-auth-token
  • x-collection-id
  • projectId
  • x-api-key
  • x-version
  • locale
  • searchKey
  • sort
  • filters
  • page
  • size
createPromotionGroup This tool creates a promotion group using request data and provides detailed response codes for various outcomes.
  • x-auth-token
  • x-collection-id
  • projectId__path
  • x-api-key
  • name
  • startDate
  • endDate
  • status
  • stopFurtherProcessing
  • x-version
  • locale
  • stopConditionData
  • notes
  • priority
  • createdOn
  • createdBy
  • updatedOn
  • updatedBy
  • archive
  • listIds
  • id
  • projectId
  • changeLog
getPromotions
ByPromotionGroupId
This tool retrieves all promotions within a specified promotion group using path and query parameters, with detailed response codes for success or errors.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupId
  • x-api-key
  • x-version
  • locale
  • searchKey
  • sort
  • filters
  • page
  • size
createPromotion
ByPromotionGroupId
This tool creates a promotion using request data and provides detailed responses for success or various error scenarios.
  • x-auth-token
  • x-collection-id
  • projectId__path
  • groupId
  • x-api-key
  • name
  • startDate
  • endDate
  • status
  • x-version
  • locale
  • stopConditionData
  • notes
  • priority
  • createdOn
  • createdBy
  • updatedOn
  • updatedBy
  • archive
  • listIds
  • id
  • projectId
  • promoCodeType
  • promoCodeUsageCount
  • promoCodeUsageDays
  • promoCodeListId
  • offerOn
  • promotionGroupId
  • changeLog
  • conditionData
  • offerType
  • stopFurtherProcessing
  • actions
  • promotionClass
  • promotionGroup
  • promotionInformation
  • frequencyType
  • frequencyValue
  • freqCycleStartsOnPromoStart
  • freqCycleStartsOnWeekDay
  • redemptionLimit
  • frequencyIdentifier
  • startHour
  • endHour
  • weekDays
  • enableProximity
  • properties
unblockoOffer This tool provides the unblocked confirmation code for a given promocode, with detailed response statuses and properties.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
unassignOffer This tool retrieves the unassigned confirmation code for a provided promocode, with detailed response statuses and properties.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
getCustomOffers This tool retrieves promotional offers, calculates discounts, and provides relevant messages and descriptions based on specified criteria.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • previewTime
  • addCustomRuleFacts
  • items
  • ruleType
getOffer This tool retrieves promotional offers and messages for items matching specified criteria, with detailed response codes and statuses.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • previewTime
  • items
  • ruleType
blockOffer This tool retrieves blocked confirmation codes for a given promocode and provides detailed response properties for various status codes.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • previewTime
assignOffer This tool provides a PromoOffertoolResponse model detailing assigned promocode information, with various response codes indicating success or errors.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
applyOffer This tool retrieves promotional offers, calculates discounts, and provides related messages and descriptions based on specified criteria.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • previewTime
  • items
  • ruleType
cacheClear This tool clears cached data based on specified cache names, supports string-type keys, and clears all 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 provides detailed response codes and messages for various status scenarios.
  • x-api-key
  • cacheNames
  • cacheKey
  • simpleKey
  • pattern
getCollections This tool retrieves all promotion collections with support for filtering, sorting, pagination, and detailed response codes.
  • x-auth-token
  • businessId
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
createCollection This tool creates a promotion collection with default or updated properties, disallowing new ones, and provides detailed response codes for various statuses.
  • x-auth-token
  • businessId
  • x-api-key
  • x-version
  • locale
cacheClear_2 This tool clears the promotion cache and provides detailed response codes for success or failure scenarios.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
refreshApi_1 This tool updates secret keys without restart, cleans instance data, and uses `keyName` and `resetRequired` parameters with detailed response codes for various statuses.
  • x-auth-token
  • keyName
  • resetRequired
  • x-api-key
None
rabbitMQUpdateCredentials This tool updates RabbitMQ credentials, clears instance data for AWS calls, and requires keyName and resetRequired parameters with detailed response codes.
  • x-auth-token
  • keyName
  • resetRequired
  • x-api-key
None
validateDroolsRule This tool validates Drools rules in a collection, returning incorrect rules with error details for various response codes.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
getAllStandrdRoles This tool retrieves and filters standard roles with privileges 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 detailed response codes and properties for various statuses.
  • x-auth-token
  • x-api-key
None
findPromotionListItemsById This tool retrieves a promotion list based on a unique ID, with options for sorting, filtering, pagination, and detailed response codes.
  • id
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
downloadPromotionLists The tool allows downloading promotion lists using a unique ID, with responses detailing status, timestamps, and error reasons across various HTTP codes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
getPromotions This tool retrieves promotions with filtering, sorting, pagination, and detailed response codes for various statuses.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • searchKey
  • sort
  • filters
  • page
  • size
getLivePromotinoGroups This tool retrieves all live promotion groups in the APPROVED state, with options for filtering, sorting, and pagination.
  • x-auth-token
  • x-collection-id
  • x-api-key
  • x-version
  • locale
  • searchKey
  • sort
  • filters
  • page
  • size
getLivePromotinoGroup This tool retrieves an approved promotion group by its ID, providing detailed response codes and messages for various outcomes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
getLivePromotino
GroupVersions
This tool retrieves all versions of a promotion group, preserving its history by saving previous versions upon edits.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
  • fields
  • page
  • size
getLivePromotions This tool retrieves all live promotions in the APPROVED state, with options for filtering, sorting, pagination, and detailed response codes.
  • x-auth-token
  • x-collection-id
  • locale
  • groupId
  • x-api-key
  • x-version
  • searchKey
  • sort
  • filters
  • page
  • size
getLivePromotion
ByPromotionGroupId
This tool retrieves a live promotion using a unique promotion ID and provides detailed response codes and messages for various outcomes.
  • x-auth-token
  • x-collection-id
  • locale
  • groupId
  • id
  • x-api-key
  • x-version
getPromotionVersions This tool retrieves all versions of a promotion, preserving its history and creating new versions upon edits, with detailed parameters and response codes for various scenarios.
  • x-auth-token
  • x-collection-id
  • groupId
  • id
  • x-api-key
  • x-version
  • locale
  • fields
  • page
  • size
getPromoCodeListItems This tool retrieves a list of promocode items based on a unique ID, with optional sorting, filtering, pagination, and detailed response codes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
downloadPromoCodeLists This tool downloads a promocode list based on a required unique ID, providing detailed response properties for various status codes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
getPromoCodeLists_1 This tool retrieves promocode list items based on a specified list ID and supports pagination with detailed response codes.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • locale
  • page
  • size
  • x-version
getPromotionsByProjectId This tool retrieves all promotions under a specified project using parameters for filtering, sorting, and pagination.
  • x-auth-token
  • x-collection-id
  • projectId
  • x-api-key
  • x-version
  • locale
  • searchKey
  • sort
  • filters
  • page
  • size
findAllPromotion
GroupNamesByIds
This tool retrieves promotion group names based on provided project and group IDs, returning status and error details for various response codes.
  • x-auth-token
  • x-collection-id
  • projectId
  • groupIds
  • x-api-key
  • x-version
  • locale
getProjects_1 The tool operation retrieves project details based on a unique group ID, returning various response codes with associated properties for success, errors, or default cases.
  • x-auth-token
  • x-collection-id
  • groupId
  • x-api-key
  • locale
  • x-version
getProjects_2 This tool loads all projects based on a unique promotion ID and provides detailed responses for various status codes.
  • x-auth-token
  • x-collection-id
  • promotionId
  • x-api-key
  • locale
  • x-version
getAllPrivileges This tool retrieves service privileges from `roles_privileges.json` and provides detailed responses for various status codes.
  • x-auth-token
  • x-api-key
None
getAllPrivilegeGroups This tool retrieves and filters privilege groups and privileges from `roles_privileges.json` based on the `privilegeGroupName` parameter, with detailed response codes for various statuses.
  • x-auth-token
  • x-api-key
  • privilegeGroupName
testPing This tool provides the current timestamp to check the operational status of the promotion service.
  • x-api-key
None
getPromoCodeUsageCount This tool provides the usage count of a promocode with detailed response codes and messages for various statuses.
  • x-auth-token
  • x-collection-id
  • promocode
  • x-api-key
  • x-version
  • locale
getCacheValue This tool retrieves cached data for a specified service using string-based cache name and key, with various response codes for success or errors.
  • 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 ‘*’, with detailed response codes and messages for various statuses.
  • pattern
  • x-auth-token
  • x-api-key
None
getCollection
PropertyByName
This tool retrieves a collection property by name using specified identifiers and parameters, returning detailed response codes and messages.
  • x-auth-token
  • businessId
  • id
  • name
  • x-api-key
  • x-version
  • locale
getPromotion
PropertyByName
This tool retrieves a collection’s properties by name using a valid identifier and optional locale, with detailed response codes for various statuses.
  • x-auth-token
  • id
  • x-api-key
  • x-version
  • locale
getCollectionProperties This tool retrieves collection properties by name using specified query parameters and provides detailed response codes for various outcomes.
  • x-auth-token
  • businessId
  • x-api-key
  • x-version
  • locale
getPromotionChangeLog This tool retrieves change logs within a specified time range, supporting filters, sorting, pagination, and detailed response codes.
  • x-auth-token
  • x-collection-id
  • startTime
  • endTime
  • x-api-key
  • x-version
  • locale
  • sort
  • filters
  • page
  • size
getPromotion
RedemptionByUserId
This tool retrieves a user’s Promotion Redemption data, including redemption counts and optional archived promotions, with detailed response codes and statuses.
  • x-auth-token
  • x-collection-id
  • userId
  • x-api-key
  • x-version
  • locale
  • fetchArchive
clearPromotionList The tool clears a promotion list by ID, returning various status codes and detailed response properties for success or errors.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale
clearPromoCodeList This tool clears items from a promocode list using its unique ID while retaining list details, with various response codes indicating success or errors.
  • x-auth-token
  • x-collection-id
  • id
  • x-api-key
  • x-version
  • locale

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
204 (Success): No Content
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
409 Conflict
422 Unprocessable Entity
500 Internal Server Error

Useful Resources

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