Organizations
Update organization details
Update the organization’s name and billing email using its ID. Requires the x-store-id header for authentication. The organization must belong to the store.
-
Parameters:
id(string, path, required): The ID of the organization.
-
Request Body:
organization_name: New name for the organization.billing_email: New billing email for the organization.
-
Responses:
200: Organization details updated successfully.401: Unauthorized ifx-store-idis not provided.404: Organization not found.
PATCH
Update organization details
Previous
List all organizationsRetrieve 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 if `x-store-id` is not provided.
Next
Update organization details