Brand API

Integrate Revifly with your store. Create offers, manage vouchers, and validate redemptions.

Getting Started

  • Connect your Shopify store
  • Create your first offer
  • Generate vouchers for publishers
  • Validate and confirm redemptions
Go to Dashboard

Authentication

All Brand API requests require your API Key and Secret in headers:

X-API-Key: your_brand_api_key
X-API-Secret: your_brand_api_secret

Your API credentials are available on the Dashboard. Keep them secure!

View API Credentials

Base URL

https://revifly.com/api/v1/brand/

Offers

MethodPathDescription
POST/api/v1/brand/offersCreate offer
GET/api/v1/brand/offersList offers
GET/api/v1/brand/offers/{id}Get single offer
PATCH/api/v1/brand/offers/{id}Update offer

Create body: title, description, discount_type, discount_value, start_date, end_date, optional max_uses, min_purchase_amount, currency, limit_one_per_customer.

Vouchers

MethodPathDescription
GET/api/v1/brand/vouchersList vouchers
GET/api/v1/brand/vouchers/check?code=XXXCheck voucher status
POST/api/v1/brand/vouchers/validateValidate for checkout
POST/api/v1/brand/vouchers/applyMark voucher as applied
POST/api/v1/brand/vouchers/confirmConfirm use after order
Example: Validate voucher (Brand API)
POST https://revifly.com/api/v1/brand/vouchers/validate
Content-Type: application/json
X-API-Key: your_api_key
X-API-Secret: your_api_secret

{
  "voucher_code": "RV-ABC123",
  "order_amount": 1000.00,
  "currency": "INR"
}