Organizations
List all organizations
Retrieve a paginated list of all organizations associated with a store. The endpoint uses the x-store-id header for store verification. Supports pagination through limit, page, and offset query parameters.
-
Query Parameters:
limit(integer, optional): Number of items per page.page(integer, optional): Page number to retrieve.
-
Responses:
200: Returns a list of organizations with pagination metadata.401: Unauthorized ifx-store-idis not provided.
GET
List all organizations
Previous
Create a new organizationCreate a new organization within the store by providing required fields such as `email` and `organization_name` in the request body. The request should include the `x-store-id` header for association with the store.
- **Request Body:**
- `email`: Email address of the organization.
- `organization_name`: Name of the organization.
- `billing_email` (optional): Billing email for the organization.
- **Responses:**
- `201`: Organization created successfully.
- `400`: Bad request if required fields are missing.
- `401`: Unauthorized if `x-store-id` is not provided.
Next
List all organizations