cURL
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" } }
Sends an invitation to a new seller to join the platform.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The email address of the seller to invite.
The registration URL for the invitation.
Created
Seller invitation object
Show child attributes