cURL
curl --request POST \ --url https://api.example.com/vendor/invites \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "role": "owner" } '
{ "invite": { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "email": "[email protected]", "role": "owner", "token": "<string>", "expires_at": "2023-11-07T05:31:56Z", "accepted": true, "seller": { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "name": "<string>", "handle": "<string>", "description": "<string>", "email": "<string>", "phone": "<string>", "photo": "<string>", "address_line": "<string>", "postal_code": "<string>", "city": "<string>", "state": "<string>", "country_code": "<string>", "tax_id": "<string>", "members": [ { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "role": "owner", "email": "[email protected]", "name": "<string>", "bio": "<string>", "photo": "<string>", "seller": "<unknown>" } ] } } }
Creates a new member invite for the authenticated vendor.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The email address of the member to invite.
The role to assign to the invited member.
owner
admin
member
Created
A member invite object with its properties
Show child attributes