v1

latestOpenAPI 3.0.02026-07-264731126.7 KB
Promo Codes

Get promo code by id

With this endpoint you can get the details of a specific promo code. <Tip>HTTP Request <br/>GET https://api.firstpromoter.com/api/v2/company/promo_codes/{id}</Tip>

get/promo_codes/{id}

Path parameters

idinteger required

ID of the promo code

Headers

Account-IDstring required

Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations

Response

Promo code details

idinteger

ID of the promo code entry

codestring

Code of the promo code

ext_idstring
descriptionstring

Description of the promo code

company_idinteger
promoter_campaign_idinteger

ID of the promoter campaign

metadataobject

Metadata of the promo code

detailsobject

Details of the promo code

archived_atstring date-time