Skip to main content
POST
/
admin
/
sellers
/
invite
Invite Seller
curl --request POST \
  --url https://api.example.com/admin/sellers/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "registration_url": "http://localhost:5173/register"
}
'
{
  "invitation": {
    "id": "<string>",
    "email": "<string>",
    "registration_url": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required

The email address of the seller to invite.

registration_url
string
default:http://localhost:5173/register

The registration URL for the invitation.

Response

Created

invitation
SellerInvitation · object

Seller invitation object