Customers
Create Customer Portal Session
Generates a 15-minute magic link that allows a buyer to log into the customer portal where they can view their orders. This endpoint verifies the customer via x-store-id. The JWT token embedded in the portal link ensures secure access.
-
Parameters:
id(string, path, required): The ID of the customer.
-
Responses:
201: Successfully created portal session.401: Unauthorized ifx-store-idis not provided.404: Customer not found.
POST
Create Customer Portal Session
Previous
Retrieve Customer DetailsThis endpoint retrieves detailed information about a specific customer. It includes customer metadata, total orders, and lifetime revenue. Ensure the customer belongs to the store via `x-store-id`.
- **Parameters:**
- `id` (string, path, required): The ID of the customer.
- **Responses:**
- `200`: Customer details returned successfully.
- `401`: Unauthorized if `x-store-id` is not provided.
- `404`: Customer not found.
Next
Create Customer Portal Session