novinzodevelopers
Your store's APIApps referenceAffiliates

Create Affiliate

POST/admin/affiliates

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string
email*string|null

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/admin/affiliates" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "email": "string"  }'
{  "id": "string",  "storeId": "string",  "name": "string",  "email": "string",  "createdAt": "string",  "updatedAt": "string"}