Skip to main content
POST
/
dev
/
v1
/
resellers
/
invite
Invite a reseller
curl --request POST \
  --url https://api.shoppex.io/dev/v1/resellers/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "mode": "AFFILIATE",
  "custom_commission_percent": 123,
  "custom_wholesale_discount_percent": 123,
  "purchase_limit_daily": 123,
  "purchase_limit_monthly": 123,
  "product_ids": [
    "<string>"
  ],
  "product_access": [
    {
      "product_id": "<string>",
      "commission_percent_override": 123,
      "wholesale_price_override": 123,
      "min_quantity": 123,
      "max_quantity": 123
    }
  ],
  "expires_in_days": 123
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

email
string
required
mode
Available options:
AFFILIATE
custom_commission_percent
number | null
custom_wholesale_discount_percent
number | null
purchase_limit_daily
number | null
purchase_limit_monthly
number | null
product_ids
string[]
product_access
object[]
expires_in_days
number

Response

Successful response

data
object
required