---
title: "Affiliate store"
method: POST
path: "/api/v1/affiliates/referrals"
tags: ["affiliates"]
---

# Affiliate store

`POST /api/v1/affiliates/referrals`

## Request

- Base URL: `https://www.foxnfe.com.br`
- URL: `https://www.foxnfe.com.br/api/v1/affiliates/referrals`
- Auth: HTTP bearer

## Request body

- PostApiV1AffiliatesReferralsRequest
  - `referred_email` string, email, required

## Response `201`

Resposta implementada pelo controlador.

- object
  - `data` object
    - `id` unknown
    - `referral_code` unknown
    - `referred_email` unknown
    - `status` 'draft' | 'pending' | 'processing' | 'authorized' | 'rejected' | 'denied' | 'canceled' | 'contingency'

## Other responses

- `409`: Resposta implementada pelo controlador.

---

[API](https://skmtc.dev/foxnfe/apis/fox-nf-e-api.md) · [All operations](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/revisions/8820a6e016b0?raw)
