Skip to main content
POST
/
vendor
/
invites
/
{id}
/
accept
Accept a Member Invite
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>"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the invite to accept.

Body

application/json
token
string
required

The invitation token to accept.

name
string
required

The name of the member accepting the invite.

Response

200 - application/json

OK

invite
Member Invite · object

A member invite object with its properties