Organizations
Add an organization member
Assign 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 ifx-store-idis not provided.404: Either organization or seat not found.
POST
Add an organization member
Previous
Retrieve organization detailsFetch detailed information about a specific organization using its ID. The request uses the `x-store-id` header to verify the organization's association with the store. Returns the organization's name, billing email, and other metadata.
- **Parameters:**
- `id` (string, path, required): The ID of the organization.
- **Responses:**
- `200`: Organization details retrieved successfully.
- `401`: Unauthorized if `x-store-id` is not provided.
- `404`: Organization not found.
Next
Add an organization member