/customers/my-accountGet My Account Details
Returns base details about the currently authenticated customer (the holder of the bearer customer token).
Responses
- 200
The
Customerwas successfully retrieved - 401
The user is unauthenticated
Self-service endpoints used by the shopfront for the
currently-authenticated Customer — viewing their charges,
credits, memberships, contraindications, payment methods and
marketing preferences.
/customers/my-accountReturns base details about the currently authenticated customer (the holder of the bearer customer token).
The Customer was successfully retrieved
The user is unauthenticated
/customers/my-account/chargesReturns the membership charges that have been billed to the authenticated customer.
The customer's charges were successfully retrieved
The user is unauthenticated
/customers/my-account/creditsReturns the unredeemed, unexpired credits available to the authenticated customer.
By default, only credits which haven't been redeemed and haven't expired are shown. Use the query parameters to include redeemed and/or expired credits. Revoked credits are never returned on this endpoint.
Whether to include redeemed credits
Whether to include expired credits
The customer's credits were successfully retrieved
The user is unauthenticated
/customers/my-account/marketing-preferencesReturns the marketing preferences available to the authenticated customer along with the opt-in state for each.
The customer's marketing preferences were successfully retrieved
The user is unauthenticated
/customers/my-account/marketing-preferences/{marketingPreferenceId}Opts the authenticated customer into the given marketing preference.
The unique identifier of the marketing preference this operation is scoped to.
The customer's marketing preferences were successfully retrieved
The user is unauthenticated
The authenticated user does not have permission.
The resource couldn't be found
/customers/my-account/marketing-preferences/{marketingPreferenceId}Opts the authenticated customer out of the given marketing preference.
The unique identifier of the marketing preference this operation is scoped to.
The customer's marketing preferences were successfully retrieved
The user is unauthenticated
The authenticated user does not have permission.
The resource couldn't be found
/customers/my-account/membershipsReturns the memberships held by the authenticated customer.
The customer's memberships were successfully retrieved
The user is unauthenticated
/customers/my-account/payment-methodsReturns the payment methods saved against the authenticated customer.
The customer's payment methods were successfully retrieved
The user is unauthenticated
The resource couldn't be found
/shop/my-account/ordersReturns the authenticated customer's order history — completed baskets along with item details. Intended for the "My Bookings" screens of customer-facing apps and the storefront.
Requires customer authentication; staff API tokens cannot use
this endpoint (use GET /shop/orders instead).
The page to retrieve results from
The number of results to return per page
The Orders were successfully retrieved
The request failed.
The user is unauthenticated