Customers
Update Customer Information
This endpoint updates the customer’s name, email, or status. Only specified fields are updated. Ensure store ownership using the x-store-id header.
-
Parameters:
id(string, path, required): The ID of the customer.
-
Request Body:
- Optional fields to update:
name,email,status
- Optional fields to update:
-
Responses:
200: Customer information updated successfully.400: No updatable fields provided.401: Unauthorized ifx-store-idis not provided.404: Customer not found.
PATCH
Update Customer Information
Authorizations
Path Parameters
ID of the customer.
Previous
Retrieve Customer SubscriptionsFetches a list of subscriptions associated with a customer. Ensure the `x-store-id` header is provided to authorize the request. The response includes subscription details like product information, status, and period end dates.
- **Parameters:**
- `id` (string, path, required): The ID of the customer.
- **Responses:**
- `200`: Customer subscriptions fetched successfully.
- `401`: Unauthorized if `x-store-id` is not provided.
- `404`: Customer not found.
Next
Update Customer Information