cURL
curl --request POST \ --url https://api.example.com/vendor/members/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "bio": "<string>", "phone": "<string>", "photo": "<string>" } '
{ "member": { "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": { "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": "<array>" } } }
Updates a member by id for the authenticated vendor.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the Member.
The name of the member.
The member's biography.
The member's phone number.
URL to the member's photo.
OK
A member object with its properties
Show child attributes