Pro Deals
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.
integrationKeyheader
AuthorizationBearer <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.
Example
"6730f1c2a9d4e5b6c7d8e9f0"The Pro Deal after the confirmation.
application/json- response
id*stringtitle*stringstatus*ProDealStatusValue in
"draft""scheduled""live""paused""finished"discount*codesPerAssociate*integerHow many codes each associate can claim, one after the other.
Range
1 <= value <= 5codeSource*stringgenerated: ENDVR generates the codes for you to create; uploaded: you upload your own.
Value in
"generated""uploaded"codesReady*booleanTrue once you confirmed the codes are live in your store.
codes*How many codes are in each state.
startsAt*|Format
date-timeendsAt*|Format
date-timecurl -X POST 'https://api.endvr.io/v1/pro-deals/6730f1c2a9d4e5b6c7d8e9f0/codes/confirm'Example Response
{ "id": "string", "title": "string", "status": "draft", "discount": { "type": "percentage", "value": 0 }, "codesPerAssociate": 1, "codeSource": "generated", "codesReady": true, "codes": { "total": 0, "available": 0, "assigned": 0, "used": 0, "deactivated": 0 }, "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z"}