Upload your own codes
For a Pro Deal with codeSource: uploaded: add codes you created in your store. Up to 100 codes per call;
a code already on the Pro Deal comes back as duplicate.
integrationKeyAuthorizationBearer <token>A brand integration key, created by an Owner or Admin in Brand Settings › Integrations and shown once.
endvr_ik_test_… keys write test data that is never billed; endvr_ik_live_… keys are live.
id*stringPro Deal id.
"6730f1c2a9d4e5b6c7d8e9f0"application/json- body
codes*array<>1 <= items <= 100One result per item, in request order.
application/json- response
results*array<>curl -X POST 'https://api.endvr.io/v1/pro-deals/6730f1c2a9d4e5b6c7d8e9f0/codes' \ -H 'Content-Type: application/json' \ -d '{ "codes": [ "ACME-PRO-0001", "ACME-PRO-0002" ]}'{ "results": [ { "index": 0, "result": "accepted" }, { "index": 1, "result": "rejected", "reason": "unknown_code" } ]}List codes GET
The Pro Deal's codes and their state. For a Pro Deal with `codeSource: generated`, these are the codes to create in your store as single-use discount codes. Send `Accept: text/csv` for one code per line.
Confirm the codes are live POST
Tells ENDVR the codes work in your store. ENDVR then releases the Pro Deal to associates, who can claim their codes in the ENDVR app. Safe to repeat; confirm again after adding codes.