List of Queries and Mutations

The queries and mutations currently available using the GraphQL API are as follows:

Customer Management

Use CaseQuery/Mutation ObjectPayload Object(s)
Assign Existing Contact Information for a Customer to Another Contact Type (Billing, Delivery, Licensee)mutation.updateCustomerContactsupdatedContact in UpdateCustomerPayload
Assign Existing Contact Information for a Purchase to Another Contact Type (Billing, Delivery, Licensee)mutation.updatePurchaseContactsupdatedPurchase in UpdatePurchasePayload
Create a New Contact (Billing, Delivery, Licensee) for a Customermutation.updateCustomerContactsupdatedContact in UpdateCustomerPayload
Create a New Contact (Billing, Delivery, Licensee) for a Purchasemutation.updatePurchaseContactsupdatedPurchase in UpdatePurchasePayload
Create a Customermutation.createCustomercreatedCustomer in CreateCustomerPayload
Delete Personal Data of a Customer (Billing, Delivery, Licensee, except the country data)mutation.deletePersonalCustomerDataupdatedPurchase in UpdatePurchasePayload
Get Customer's Profile and Transaction Dataquery.customerany of the objects in Customer
Search for a Customerquery.customerSearchany of the objects in CustomerSearchResult
Update a Contact (Billing, Delivery, Licensee) for a Customermutation.updateCustomerContactsupdatedContact in UpdateCustomerPayload
Update a Contact (Billing, Delivery, Licensee) for a Purchasemutation.updatePurchaseContactsupdatedPurchase in UpdatePurchasePayload
Update Customer Contact Informationmutation.updateContactupdatedContact in UpdateContactPayload
Update Customer's Payment Profile with Boleto Datamutation.setBoletoPaymentDatapaymentProfile in PaymentProfilePayload
Update Customer's Payment Profile with Brazilian Bank Account Datamutation.setBrazilianBankAccountDatapaymentProfile in PaymentProfilePayload
Update Customer's Payment Profile with Credit Card Datamutation.setCreditCardDatapaymentProfile in PaymentProfilePayload
Update Customer's Payment Profile with Debit Card Datamutation.setDebitCardDatapaymentProfile in PaymentProfilePayload
Update Customer's Payment Profile with Generic Payment Datamutation.setGenericPaymentDatapaymentProfile in PaymentProfilePayload
Update Customer's Payment Profile with IDEAL Datamutation.setIdealPaymentDatapaymentProfile in PaymentProfilePayload
Update Customer's Payment Profile with SEPA Bank Account Datamutation.setSepaBankAccountDatapaymentProfile in PaymentProfilePayload

Emails

Use Case

Query/Mutation Object

Payload Object(s)

Generate a New Email for a Purchase

mutation.generateMail

emails in EmailPayload

Prevent an Email from Being Sent

mutation.holdMail

updatedEmail in EmailPayload

Place an Email in a Queue to be Sent

mutation.queueMail

updatedEmail in EmailPayload

Send an Email Immediately

mutation.sendMail

updatedEmail in
EmailPayload

View Customer Emails

query.purchase

emails in the EmailsPayload

License Keys/Downloads

Use CaseQuery/Mutation ObjectPayload Object(s)
Get Key Lists for Client Accountquery.keyListsany of the objects in KeyList
Get Key Generators for Client Accountquery.keyGeneratorsany of the objects in KeyGenerator
Renew a License Keymutation.renewKeyrenewedPurchaseItemDelivery in RenewPayload
Renew a Download Linkmutation.renewLinkrenewedPurchaseItemDelivery in RenewPayload

Marketing

Use Case

Query/Mutation Object

Payload Object(s)

Create a Product Characteristic

mutation.createProductCharacteristic

createdProductCharacteristic in
CreateProductCharacteristicPayload

Create a Product Selection

mutation.createProductSelection

createdProductSelection in

CreateProductSelectionPayload

Create a Promotion

mutation.createPromotion

createdPromotion in
CreatePromotionPayload

Create a Recommendation

mutation.createRecommendation

createdRecommendation in

CreateRecommendationPayload

Create a Text Element

mutation.createTextElement

createdTextElement in

CreateTextElementPayload

Delete a Product Characteristic

mutation.deleteProductCharacteristic

deletedProductCharacteristicId in
DeleteProductCharacteristicPayload

Delete a Product Selection

mutation.deleteProductSelection

deletedProductSelectionId in
DeleteProductSelectionPayload

Delete a Promotion

mutation.deletePromotion

deletedPromotionId in

DeletePromotionPayload

Delete a Recommendation

mutation.deleteRecommendation

deletedRecommendationId in DeleteRecommendationPayload

Delete a Text Element

mutation.deleteTextElement

deletedTextElementId in
DeleteTextElementPayload

Generate Coupon Codes

query.generateCouponCodes

array of strings

Get Price Configurations

query.priceConfigurations

any of the objects in PriceConfiguration

Get Product Characteristics

query.productCharacteristics

any of the objects in ProductCharacteristic

Get Product Selections

query.productSelections

any of the objects in ProductSelection

Get Text Elements

query.textElements

any of the objects in TextElement

View Information for One of Your Promotions

query.promotion

any of the objects in Promotion

View Information for All of Your Promotions

query.promotions

any of the objects in Promotion

View Information for One of Your Recommendations

query.recommendation

any of the objects in Recommendation

View Information for All of Your Recommendations

query.recommendations

any of the objects in Recommendation

Update a Product Characteristic

mutation.updateProductCharacteristic

updatedProductCharacteristic in

UpdateProductCharacteristicPayload

Update a Product Selection

mutation.updateProductSelection

updatedProductSelection in

UpdateProductSelectionPayload

Update a Promotion

Add Coupon Codes to a Promotion

mutation.updatePromotion

updatedPromotion in

UpdatePromotionPayload

Update a Recommendation

mutation.updateRecommendation

updatedRecommendation in

UpdateRecommendationPayload

Update a Text Element

mutation.updateTextElement

updatedTextElement in

UpdateTextElementPayload

View a Product Characteristic

query.productCharacteristic

any of the objects in ProductCharacteristic

View a Product Selection

query.productSelection

any of the objects in ProductSelection

View a Text Element

query.textElement

any of the objects in TextElement

Products, Plans, and Catalogs

Quote Links

Use CaseQuery/Mutation ObjectPayload Object(s)
Delete a Protected URLmutation.deleteProtectedUrldeletedProtectedUrlId in DeleteProtectedUrlPayload
Generate a Protected URLmutation.generateProtectedUrlgeneratedProtectedUrl in GenerateProtectedUrlPayload
Get Checksum for a Dynamic Product URLquery.dynamicProductChecksumstring
Get Tracking Parametersquery.trackingParametersany of the objects in TrackingParameter
Search for a Protected URLquery.protectedUrlSearchany of the objects in ProtectedUrlSearchResult
Update a Protected URLmutation.updateProtectedUrlupdatedProtectedUrl in UpdateProtectedUrlPayload

Purchase Management

Use CaseQuery/Mutation ObjectPayload Object(s)
Add X-Parameters to a Purchase for Reporting Purposesmutation.updateExtraParametersextraParameters in ExtraParametersPayload
Fetch Purchases with Specific Search Parametersquery.purchaseSearchany of the objects in PurchaseSearchResult
Update X-Parameters of a Purchase for Reporting Purposesmutation.updateExtraParametersextraParameters in ExtraParametersPayload
View Purchase Informationquery.purchaseany of the objects in Purchase
View Purchase Documentsquery.purchaseDocumentsany of the objects in PurchaseDocument

Report Visualization

Subscription Management

Use CaseQuery/Mutation ObjectPayload Object(s)
Add a Discount to a Subscription Itemmutation.applyCouponsubscriptionItem in UpdateProductPayload
Create a Subscriptionmutation.createSubscriptioncreatedSubscription in CreateSubscriptionPayload
Deactivate a Subscription Itemmutation.deactivateSubscriptionItemsubscriptionItem in SubscriptionItemPayload
Reinstate a Subscription Itemmutation.reinstateSubscriptionItemsubscriptionItem in SubscriptionItemPayload
Renew a Subscriptionmutation.renewSubscriptionany of the objects in RenewSubscriptionResult
Update Next Billing Date for a Subscriptionmutation.updateNextBillingDateupdatedSubscription in UpdateNextBillingDatePayload
Update the Renewal Type for a Subscriptionmutation.updateRenewalTypeupdatedSubscriptio in UpdateRenewalTypePayload
View Subscription Informationquery.subscriptionany of the objects in Subscription

Cleverbridge Internal Queries and Mutations

Add Backup CD

mutation.addBackupCd

newBackupCdPurchase in AddBackupCdResult

Add Coupon Code

mutation.refundCoupon

refundedPurchase in RefundPayload

Cancel a Purchase

mutation.cancelPurchase

processedPurchase in
PurchasePayload

Convert Order to Purchase Order

mutation.convertOrderToPurchaseOrder

convertedPurchaseOrder in ConvertOrderToPurchaseOrderResult

Create a Follow-up for a Customer Service Team

mutation.createFollowup

followUp in FollowUpPayload

Create a History Entry for a Purchase

mutation.createHistoryEntry

createdHistoryEntry in CreateHistoryEntryPayload

Delete a Follow-up for a Customer Service Team

mutation.deleteFollowUp

followUp in FollowUpPayload

Execute Delivery Process

mutation.executeDeliveryProcess

updatedPurchase in ExecuteDeliveryProcessResult

Get Client Account Information for a Client

query.client

any of the objects in Client

Get Configurations for a Client Account

query.configurations

any of the objects in Configuration

Get Client Account Information for All Clients

query.clients

any of the objects in Client

Get Downloaded Files for a Customer

query.downloadFiles

any of the objects in ClientFile

Get Departments that a Logged-In Cleverbridge user has Access to

query.departments

any of the objects in Department

Get Error Log Entries that Correspond to Search Parameters

query.errorLogSearch

any of the objects in ErrorLogEntrySearchResult

Get Follow-up for a Customer Service Team

query.followUp

any of the objects in FollowUp

Get Follow-Ups that Correspond to Search Parameters

query.followUpSearch

any of the objects in FollowUpSearchResult

Get Follow-Up Reason Categories that Correspond to a Specific Context

query.followUpReasonCategories

any of the objects in FollowUpReasonCategory

Get Follow-Up Reasons that Correspond to a Specific Context

query.followUpReasons

any of the objects in FollowUpReason

Get Images for a Client Account

query.images

any of the objects in ClientWebbinary

Get Information for a Logged-In User

query.currentUser

any of the objects in CurrentUser

Get Lookups (Search Filter Values)

query.lookups

any of the objects in Lookups

Get Offices that a Logged-In User has Access to

query.offices

any of the objects in Office

Get Preview of a Shopping Cart

query.subscriptionCart

any of the objects in SubscriptionCart

Get Preview of Several Shopping Carts

query.subscriptionCarts

any of the objects in SubscriptionCarts

Get Refund Reasons that Correspond to Particular Refund Type

query.refundReasons

any of the objects in RefundReason

Get Shopping Cart from a User Session

query.sessionCart

any of the objects in SessionCart

Get Templates for a Client Account

query.templates

any of the objects in Template

Get User Account Information for a Logged-In User

query.userAccounts

any of the objects in UserAccount

Process a Purchase

mutation.processPurchase

processedPurchase in
PurchasePayload

Reset Payment Change Counter

mutation.resetPaymentChangeCounter

updatedPurchase in UpdatePurchasePayload

Refund Amount for Item

mutation.refundItems

refundedPurchase in RefundPayload

Refund Partial Amount

mutation.refundAmount

refundedPurchase in RefundPayload

Refund Total Amount

mutation.refundAll

refundedPurchase in RefundPayload

Refund VAT

mutation.refundVat

refundedPurchase in RefundPayload

Update a Follow-Up for a Customer Service Team

mutation.updateFollowUp

followUp in FollowUpPayload

Update a Purchase Order Number

mutation.updateCustomerPurchaseOrderNo

updatedPurchase in UpdatePurchasePayload

Update a User Session

mutation.updateSession

updatedSession in UpdateSessionPayload

Update an Error Log Entry

mutation.updateErrorLog

updatedErrorLog in ErrorLogEntryPayload