Organizations
Get organization members
Retrieve members of a specific organization by organization ID. The endpoint checks if the organization belongs to the store by using the x-store-id header for authentication. It fetches members’ details including seat status, assigned emails, and creation dates.
-
Parameters:
id(string, path, required): The ID of the organization.
-
Responses:
200: Returns member details including subscription details.401: Unauthorized ifx-store-idis not provided.404: Organization not found.
GET
Get organization members
Previous
Add an organization memberAssign a seat to a new member in a specified organization. Requires `seat_id` and `email` in the request body. The endpoint verifies that the organization and seat belong to the store by checking the `x-store-id` header.
- **Parameters:**
- `id` (string, path, required): The ID of the organization.
- **Request Body:**
- `seat_id`: Unique identifier of the seat.
- `email`: Email address of the member to assign.
- **Responses:**
- `200`: Successfully assigned a seat to a member.
- `400`: Bad request if required fields are missing.
- `401`: Unauthorized if `x-store-id` is not provided.
- `404`: Either organization or seat not found.
Next
Get organization members