Skip to Content
Developers
MCP server

Values

The codes the ENDVR MCP server returns, and the Brand Portal label for each.

Every enum in a tool answer comes in two fields: the code and its Brand Portal label. For a field type you also get typeLabel, for status you get statusLabel, and so on.

  • Show the label to people. It is the word they see in the Brand Portal.
  • Use the code in your logic. Codes are the stable contract. Labels can be reworded.
  • Inputs accept either. A filter such as status or campaignType takes the code or the label, in any letter case, with spaces, hyphens or underscores treated alike.
  • An unknown code (newer than the server's table) comes back as the code in plain words, with a labelNote that says it has no Brand Portal name yet.

Campaign type

Mission types use the same codes. consumer, pro_deal and endless_aisle are not built by the assistant's draft tools: it creates contest, learning and general drafts, and a Pro Deal with its own tool.

CodeLabel
contestSales Incentives
learningDigital Education
generalRetail OPS
consumerConsumer Marketing
pro_dealPro Deals
endless_aisleEndless Aisle

Campaign status

paused is not a stored status: a live campaign that is paused reads Paused in its row, and its list tab is Action Required.

CodeLabel
draftDraft
liveLive
finishedFinished
scheduledScheduled
on_holdOn Hold
under_reviewUnder Review
rejectedRejected
pausedPaused

Campaign list tab

CodeLabel
liveLive
scheduledScheduled
draftDraft
under_reviewUnder Review
pausedAction Required
finishedFinished
rejectedRejected
on_holdOn Hold
requestedRequested

Pause reason

Why a live campaign is paused.

CodeLabel
plan_limit_reachedPlan limit reached
billing_free_tier_exhaustedFree tier limit reached
billing_promo_credit_exhaustedPromo credits exhausted
billing_pre_purchased_exhaustedPre-purchased credits exhausted
billing_spend_cap_reachedSpend cap reached
billing_paygo_spend_limit_reachedSpend cap reached
billing_payment_failedPayment method required
billing_subscription_cancelledSubscription cancelled
billing_contract_overage_activeContract overage active
billing_contract_limit_buy_prepurchase_requiredAdditional credit required
billing_contract_limit_exhaustedSubscription upgrade required
billing_contract_limit_upgrade_requiredSubscription upgrade required
billing_contract_endedContract ended
billing_contract_ended_paygo_activeContract ended
billing_contract_ended_no_paygoContract ended
billing_credit_exhaustedPlan credit exhausted
endless_aisle_charge_failedEndless Aisle commissions unpaid
shopify_disconnectedShopify disconnected
budget_overBudget depleted
codes_overReward codes depleted
days_overEnd date reached. Set a new end date to resume.

Finish reason

Why a campaign finished.

CodeLabel
days_overEnd date reached
budget_overBudget depleted
codes_overReward codes depleted
completions_overCompletion limit reached
campaign_deletedCampaign deleted
by_userEnded by the brand
by_staffEnded by ENDVR

Launch check

Why the plan allows a launch or not, in get_campaign_readiness.

CodeLabel
not_store_count_productNot billed per store
no_selected_chargeable_storesNo targeted stores to check yet
covered_by_existing_store_cycleStores already paid this period
covered_by_active_paygCovered by Pay As You Go
covered_by_balanceCovered by the store limit
no_active_billingNo active plan
billing_payment_failedPayment method required
insufficient_balanceNot enough store limit left
insufficient_balance_due_to_pending_reviewStore limit held by campaigns in review
spend_cap_reachedSpend cap reached
pro_deal_subscription_activePro Deals subscription active
pro_deal_subscription_requiredPro Deals subscription required

Targeting

Who a campaign targets. The set-targeting tool takes all, stores, groups or countries and answers all, store, group or country.

CodeLabel
allAll Stores
storeSpecific Stores
groupSpecific Groups
countrySpecific Countries
claimableClaimable Stores
sales-repSpecific Sales Reps

Sales Incentives settings

set_campaign_mission takes these in settings.contest, by code or by label, and get_campaign returns them with each Sales Incentives mission. A launch needs a ranking and a rules choice.

FieldCodeLabel
rankLeadersBasedOnnumbers_submissionsTotal Number of Submissions
rankLeadersBasedOnsales_amountTotal Number of Sales
rulesendvrENDVR Contest Rules and Regulations
rulescustomYour Own Rules and Regulations (with customRulesUrl, an https URL)

displayLeaderboard shows the in-app leaderboard to associates; showUserNameAndPicture, showStoreNameAndCity and showTotal (the total of the ranking) choose what it displays.

Mission kind

set_campaign_mission takes employee_contest and store_contest (Sales Incentives) and employee_survey_brand, inventory, merchandise, rep_account and social_media (Retail OPS).

CodeLabel
scratchFrom scratch
employee_survey_brandEmployee Survey
inventoryInventory Check
merchandiseMerchandise Check
rep_accountRep Account Servicing
social_mediaSocial Media Promotion
employee_survey_retailerEmployee Survey
employee_contestEmployee Sales Contest
store_contestStore vs Store
productProduct Training

Reward type

set_campaign_reward takes money, discount, gift_card and free_product.

CodeLabel
moneyMoney
discountDiscount
free_productFree Product
gift_cardGift Card
prizePrize

Reward code source

CodeLabel
uploadUploaded codes
shopifyShopify
sharedShared code
externalExternal store

Pro Deal status (other platforms)

statusLabel of list_pro_deals and get_pro_deal; the status filter of list_pro_deals takes the code or the label.

CodeLabel
draftDraft
scheduledScheduled
liveLive
pausedPaused
finishedFinished

Pro Deal code origin

codeSourceLabel of list_pro_deals and get_pro_deal: how an other-platform Pro Deal's codes are made.

CodeLabel
generatedENDVR generates them
uploadedUploaded through the API

Pro Deal code status

statusLabel of each code in list_pro_deal_codes, and its status filter.

CodeLabel
availableAvailable
assignedClaimed by an associate
usedUsed in an order
deactivatedDeactivated

Uploaded code refusal

reasonLabel of a code upload_pro_deal_codes did not store.

CodeLabel
invalid_lengthNot 3 to 64 characters
pool_fullThe Pro Deal holds the most codes it can

Redemption status

statusLabel of each order in list_redemptions.

CodeLabel
paidPaid
cancelledCancelled
voidedVoided

Platform connection status

statusLabel of each connection in get_commerce_connection.

CodeLabel
connectedConnected
waiting_first_eventWaiting for the first event
errorNeeds attention
pausedPaused

Connection mode

modeLabel of get_commerce_connection and get_webhook_settings. The assistant always works in live.

CodeLabel
testTest
liveLive

Commerce platform

platformLabel of get_commerce_connection.

CodeLabel
woocommerceWooCommerce
bigcommerceBigCommerce
magentoMagento
salesforce_commerce_cloudSalesforce Commerce Cloud
prestashopPrestaShop
customCustom integration

Webhook event

eventLabels of get_webhook_settings and eventLabel of send_test_webhook, whose event input takes the code or the label.

CodeLabel
code.deactivateCode deactivated
pro_deal.endedPro Deal ended

Language

Campaign language, as en or fr.

CodeLabel
enEnglish
frFrench

Rejection reason

Used by the rejectionReasons section of get_campaign_insights and by rejection.reason in list_submissions.

CodeLabel
duplicatedDuplicated receipt
incompleteIncomplete receipt
otherOther
incorrectAmountIncorrect amount
ineligibleProductInelegible product
inelegibleProductInelegible product
invalidDateInvalid date
notReadableReceipt not readable
productNotFoundProduct not found
wrongStoreReceipt from wrong store
receiptNameDoesNotMatchEndvrAccountReceipt name does not match ENDVR account

Insight section

The sections of get_campaign_insights.

CodeLabel
groupsGroup Overview
salesSales
productsProduct Sales
codesDiscount Codes
engagementEngagement
submissionsSubmissions
rejectionReasonsRejection Reasons
modulesModules
trainingTraining
progressProgress
consumerConsumer

Store connection status

CodeLabel
approvedApproved
pendingPending
blockedBlocked
processingProcessing
revokedRevoked

Store activity filter

CodeLabel
activeActive
not-activeNot Active

Associate role

Also askedByRole in get_associate_questions and draft_question_answer.

CodeLabel
sales_associateSales Associate
store_manager_ownerStore Manager/Owner
brand_sales_repBrand Sales Rep
otherOther

Store scope of a profile

In list_brands and get_brand_context.

CodeLabel
allAll Stores
storesSpecific Stores
groupsSpecific Groups

Submission status

In list_submissions. The status input takes the four Submissions page tabs (complete, approved, rejected, processing). passed and failed only come back, for Digital Education submissions.

CodeLabel
completePending
approvedApproved
rejectedRejected
processingProcessing
passedPassed
failedFailed

Retailer status

In list_network. The retailerStatus input takes approved, pending and blocked, the Retailers tabs. rejected and none can come back on a row but have no tab.

CodeLabel
approvedApproved
pendingPending
blockedBlocked
rejectedRejected
noneNone

Store group type

In list_network.

CodeLabel
generalGeneral
sales_repSales Rep

Question status

The Frontline Question Response tabs, in get_associate_questions.

CodeLabel
pendingOpen
answeredAnswered
solvedResolved

Question theme

What associates ask the assistant, in the themes of get_associate_questions (view: insights).

CodeLabel
materials_techMaterials & tech
sizing_fitSizing & fit
care_warrantyCare & warranty
compatibilityCompatibility
availabilityAvailability
price_promotionsPrice & promotions
campaigns_rewardsCampaigns & rewards
otherOther

Knowledge gap fix

The suggested fix of a knowledge gap, in get_associate_questions (view: insights). The portal adds the number of open questions to Reply.

CodeLabel
add_answerAdd Answer
create_moduleCreate Module
replyReply
add_productsConnect Your Platform

Newsfeed post status

The Newsfeed tabs, in get_newsfeed.

CodeLabel
publishedPublished
scheduledScheduled
draftDraft
archivedArchived

Wallet transaction type

A payment that bought a block of limit reads Pre-Purchased Block.

CodeLabel
depositAdd Money
withdrawWithdraw
paymentCampaign Budget
refundReturned to Balance
transfer_sentTransfer Sent
transfer_receivedTransfer Received
adjustmentAdjustment

Wallet transaction status

CodeLabel
pendingPending
approvedSuccess
doneSuccess
failedFailed
rejectedRejected

Wallet payment method

For an adjustment, admin-deposit reads Adjusted by ENDVR and admin-withdrawal reads Debited by ENDVR.

CodeLabel
balanceWallet Balance
credit_cardCard
paypalPayPal
venmoVenmo
wire-transferACH/Wire Transfer
checkCheck
transferTransfer
admin-depositCredited by ENDVR

Product

Billing products.

CodeLabel
contestSales Incentives
learningDigital Education
generalRetail OPS
consumerConsumer Marketing
pro_dealPro Deals

Commercial model

Per product.

CodeLabel
annual_subscriptionAnnual Subscription
trialTrial
pay_as_you_goPay As You Go
no_planNo plan

Limit source

The sources a limit is drawn from. The answers use the codes in the left column; labels are lower case in running text.

CodeLabel
free_tierfree tier
promotional_creditpromotional credit
prepaid_blockprepaid block
annual_subscriptionAnnual Subscription
pay_as_you_goPay As You Go

Limit measure

What a limit counts.

CodeLabel
sales_trackedsales amount
stores_reachedstores
sign_ups_trackedsign-ups
pro_deal_ordersPro Deal sales

Rate basis

CodeLabel
sales_amount_percentagefraction of the sales amount
store_fixed_amountper store
reward_value_percentagefraction of the reward value
submission_fixed_amountper submission

Managed by

Who sets Pay As You Go for a brand on a shared contract.

CodeLabel
brandThis brand
companyYour company

Invoice kind

CodeLabel
payg_setupPay As You Go
prepaid_purchaseBuy Limit
contract_subscriptionAnnual Subscription

Invoice status

CodeLabel
paidPaid
pendingPending
failedFailed
CodeLabel
brand_walletBrand Wallet
invoiceInvoice

Media Library item type

type of a list_media_files row (document is a PDF).

CodeLabel
imageImage
videoVideo
spreadsheetSpreadsheet
documentPDF
folderFolder

A folder the ENDVR app shows associates (visibleToAssociates: true) carries visibleToAssociatesLabel: Visible to associates.

Other fields, such as a campaign's isPaused, are plain words or booleans and have no separate label.

On this page