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
statusorcampaignTypetakes 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
labelNotethat 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.
| Code | Label |
|---|---|
contest | Sales Incentives |
learning | Digital Education |
general | Retail OPS |
consumer | Consumer Marketing |
pro_deal | Pro Deals |
endless_aisle | Endless 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.
| Code | Label |
|---|---|
draft | Draft |
live | Live |
finished | Finished |
scheduled | Scheduled |
on_hold | On Hold |
under_review | Under Review |
rejected | Rejected |
paused | Paused |
Campaign list tab
| Code | Label |
|---|---|
live | Live |
scheduled | Scheduled |
draft | Draft |
under_review | Under Review |
paused | Action Required |
finished | Finished |
rejected | Rejected |
on_hold | On Hold |
requested | Requested |
Pause reason
Why a live campaign is paused.
| Code | Label |
|---|---|
plan_limit_reached | Plan limit reached |
billing_free_tier_exhausted | Free tier limit reached |
billing_promo_credit_exhausted | Promo credits exhausted |
billing_pre_purchased_exhausted | Pre-purchased credits exhausted |
billing_spend_cap_reached | Spend cap reached |
billing_paygo_spend_limit_reached | Spend cap reached |
billing_payment_failed | Payment method required |
billing_subscription_cancelled | Subscription cancelled |
billing_contract_overage_active | Contract overage active |
billing_contract_limit_buy_prepurchase_required | Additional credit required |
billing_contract_limit_exhausted | Subscription upgrade required |
billing_contract_limit_upgrade_required | Subscription upgrade required |
billing_contract_ended | Contract ended |
billing_contract_ended_paygo_active | Contract ended |
billing_contract_ended_no_paygo | Contract ended |
billing_credit_exhausted | Plan credit exhausted |
endless_aisle_charge_failed | Endless Aisle commissions unpaid |
shopify_disconnected | Shopify disconnected |
budget_over | Budget depleted |
codes_over | Reward codes depleted |
days_over | End date reached. Set a new end date to resume. |
Finish reason
Why a campaign finished.
| Code | Label |
|---|---|
days_over | End date reached |
budget_over | Budget depleted |
codes_over | Reward codes depleted |
completions_over | Completion limit reached |
campaign_deleted | Campaign deleted |
by_user | Ended by the brand |
by_staff | Ended by ENDVR |
Launch check
Why the plan allows a launch or not, in get_campaign_readiness.
| Code | Label |
|---|---|
not_store_count_product | Not billed per store |
no_selected_chargeable_stores | No targeted stores to check yet |
covered_by_existing_store_cycle | Stores already paid this period |
covered_by_active_payg | Covered by Pay As You Go |
covered_by_balance | Covered by the store limit |
no_active_billing | No active plan |
billing_payment_failed | Payment method required |
insufficient_balance | Not enough store limit left |
insufficient_balance_due_to_pending_review | Store limit held by campaigns in review |
spend_cap_reached | Spend cap reached |
pro_deal_subscription_active | Pro Deals subscription active |
pro_deal_subscription_required | Pro 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.
| Code | Label |
|---|---|
all | All Stores |
store | Specific Stores |
group | Specific Groups |
country | Specific Countries |
claimable | Claimable Stores |
sales-rep | Specific 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.
| Field | Code | Label |
|---|---|---|
rankLeadersBasedOn | numbers_submissions | Total Number of Submissions |
rankLeadersBasedOn | sales_amount | Total Number of Sales |
rules | endvr | ENDVR Contest Rules and Regulations |
rules | custom | Your 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).
| Code | Label |
|---|---|
scratch | From scratch |
employee_survey_brand | Employee Survey |
inventory | Inventory Check |
merchandise | Merchandise Check |
rep_account | Rep Account Servicing |
social_media | Social Media Promotion |
employee_survey_retailer | Employee Survey |
employee_contest | Employee Sales Contest |
store_contest | Store vs Store |
product | Product Training |
Reward type
set_campaign_reward takes money, discount, gift_card and free_product.
| Code | Label |
|---|---|
money | Money |
discount | Discount |
free_product | Free Product |
gift_card | Gift Card |
prize | Prize |
Reward code source
| Code | Label |
|---|---|
upload | Uploaded codes |
shopify | Shopify |
shared | Shared code |
external | External 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.
| Code | Label |
|---|---|
draft | Draft |
scheduled | Scheduled |
live | Live |
paused | Paused |
finished | Finished |
Pro Deal code origin
codeSourceLabel of list_pro_deals and get_pro_deal: how an other-platform Pro Deal's codes are made.
| Code | Label |
|---|---|
generated | ENDVR generates them |
uploaded | Uploaded through the API |
Pro Deal code status
statusLabel of each code in list_pro_deal_codes, and its status filter.
| Code | Label |
|---|---|
available | Available |
assigned | Claimed by an associate |
used | Used in an order |
deactivated | Deactivated |
Uploaded code refusal
reasonLabel of a code upload_pro_deal_codes did not store.
| Code | Label |
|---|---|
invalid_length | Not 3 to 64 characters |
pool_full | The Pro Deal holds the most codes it can |
Redemption status
statusLabel of each order in list_redemptions.
| Code | Label |
|---|---|
paid | Paid |
cancelled | Cancelled |
voided | Voided |
Platform connection status
statusLabel of each connection in get_commerce_connection.
| Code | Label |
|---|---|
connected | Connected |
waiting_first_event | Waiting for the first event |
error | Needs attention |
paused | Paused |
Connection mode
modeLabel of get_commerce_connection and get_webhook_settings. The assistant always works in live.
| Code | Label |
|---|---|
test | Test |
live | Live |
Commerce platform
platformLabel of get_commerce_connection.
| Code | Label |
|---|---|
woocommerce | WooCommerce |
bigcommerce | BigCommerce |
magento | Magento |
salesforce_commerce_cloud | Salesforce Commerce Cloud |
prestashop | PrestaShop |
custom | Custom integration |
Webhook event
eventLabels of get_webhook_settings and eventLabel of send_test_webhook, whose event input takes the code or the label.
| Code | Label |
|---|---|
code.deactivate | Code deactivated |
pro_deal.ended | Pro Deal ended |
Language
Campaign language, as en or fr.
| Code | Label |
|---|---|
en | English |
fr | French |
Rejection reason
Used by the rejectionReasons section of get_campaign_insights and by rejection.reason in list_submissions.
| Code | Label |
|---|---|
duplicated | Duplicated receipt |
incomplete | Incomplete receipt |
other | Other |
incorrectAmount | Incorrect amount |
ineligibleProduct | Inelegible product |
inelegibleProduct | Inelegible product |
invalidDate | Invalid date |
notReadable | Receipt not readable |
productNotFound | Product not found |
wrongStore | Receipt from wrong store |
receiptNameDoesNotMatchEndvrAccount | Receipt name does not match ENDVR account |
Insight section
The sections of get_campaign_insights.
| Code | Label |
|---|---|
groups | Group Overview |
sales | Sales |
products | Product Sales |
codes | Discount Codes |
engagement | Engagement |
submissions | Submissions |
rejectionReasons | Rejection Reasons |
modules | Modules |
training | Training |
progress | Progress |
consumer | Consumer |
Store connection status
| Code | Label |
|---|---|
approved | Approved |
pending | Pending |
blocked | Blocked |
processing | Processing |
revoked | Revoked |
Store activity filter
| Code | Label |
|---|---|
active | Active |
not-active | Not Active |
Associate role
Also askedByRole in get_associate_questions and draft_question_answer.
| Code | Label |
|---|---|
sales_associate | Sales Associate |
store_manager_owner | Store Manager/Owner |
brand_sales_rep | Brand Sales Rep |
other | Other |
Store scope of a profile
In list_brands and get_brand_context.
| Code | Label |
|---|---|
all | All Stores |
stores | Specific Stores |
groups | Specific 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.
| Code | Label |
|---|---|
complete | Pending |
approved | Approved |
rejected | Rejected |
processing | Processing |
passed | Passed |
failed | Failed |
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.
| Code | Label |
|---|---|
approved | Approved |
pending | Pending |
blocked | Blocked |
rejected | Rejected |
none | None |
Store group type
In list_network.
| Code | Label |
|---|---|
general | General |
sales_rep | Sales Rep |
Question status
The Frontline Question Response tabs, in get_associate_questions.
| Code | Label |
|---|---|
pending | Open |
answered | Answered |
solved | Resolved |
Question theme
What associates ask the assistant, in the themes of get_associate_questions (view: insights).
| Code | Label |
|---|---|
materials_tech | Materials & tech |
sizing_fit | Sizing & fit |
care_warranty | Care & warranty |
compatibility | Compatibility |
availability | Availability |
price_promotions | Price & promotions |
campaigns_rewards | Campaigns & rewards |
other | Other |
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.
| Code | Label |
|---|---|
add_answer | Add Answer |
create_module | Create Module |
reply | Reply |
add_products | Connect Your Platform |
Newsfeed post status
The Newsfeed tabs, in get_newsfeed.
| Code | Label |
|---|---|
published | Published |
scheduled | Scheduled |
draft | Draft |
archived | Archived |
Wallet transaction type
A payment that bought a block of limit reads Pre-Purchased Block.
| Code | Label |
|---|---|
deposit | Add Money |
withdraw | Withdraw |
payment | Campaign Budget |
refund | Returned to Balance |
transfer_sent | Transfer Sent |
transfer_received | Transfer Received |
adjustment | Adjustment |
Wallet transaction status
| Code | Label |
|---|---|
pending | Pending |
approved | Success |
done | Success |
failed | Failed |
rejected | Rejected |
Wallet payment method
For an adjustment, admin-deposit reads Adjusted by ENDVR and admin-withdrawal reads Debited by ENDVR.
| Code | Label |
|---|---|
balance | Wallet Balance |
credit_card | Card |
paypal | PayPal |
venmo | Venmo |
wire-transfer | ACH/Wire Transfer |
check | Check |
transfer | Transfer |
admin-deposit | Credited by ENDVR |
Product
Billing products.
| Code | Label |
|---|---|
contest | Sales Incentives |
learning | Digital Education |
general | Retail OPS |
consumer | Consumer Marketing |
pro_deal | Pro Deals |
Commercial model
Per product.
| Code | Label |
|---|---|
annual_subscription | Annual Subscription |
trial | Trial |
pay_as_you_go | Pay As You Go |
no_plan | No 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.
| Code | Label |
|---|---|
free_tier | free tier |
promotional_credit | promotional credit |
prepaid_block | prepaid block |
annual_subscription | Annual Subscription |
pay_as_you_go | Pay As You Go |
Limit measure
What a limit counts.
| Code | Label |
|---|---|
sales_tracked | sales amount |
stores_reached | stores |
sign_ups_tracked | sign-ups |
pro_deal_orders | Pro Deal sales |
Rate basis
| Code | Label |
|---|---|
sales_amount_percentage | fraction of the sales amount |
store_fixed_amount | per store |
reward_value_percentage | fraction of the reward value |
submission_fixed_amount | per submission |
Managed by
Who sets Pay As You Go for a brand on a shared contract.
| Code | Label |
|---|---|
brand | This brand |
company | Your company |
Invoice kind
| Code | Label |
|---|---|
payg_setup | Pay As You Go |
prepaid_purchase | Buy Limit |
contract_subscription | Annual Subscription |
Invoice status
| Code | Label |
|---|---|
paid | Paid |
pending | Pending |
failed | Failed |
Paid with
| Code | Label |
|---|---|
brand_wallet | Brand Wallet |
invoice | Invoice |
Media Library item type
type of a list_media_files row (document is a PDF).
| Code | Label |
|---|---|
image | Image |
video | Video |
spreadsheet | Spreadsheet |
document | |
folder | Folder |
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.