cURL
curl --request POST \ --url https://api.example.com/vendor/invites/{id}/accept \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "token": "<string>", "name": "<string>" } '
{ "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>" } ] } } }
Accepts a member invite using the provided token and creates a new member.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the invite to accept.
The invitation token to accept.
The name of the member accepting the invite.
OK
A member invite object with its properties
Show child attributes