25 October 2019
CustomersGraphQLSecurity and privacyProject configuration
Introduced methods to the HTTP API and GraphQL API that allow you to access a customer profile that is assigned to a store with an OAuth token generated with the password flow. The APIs can be used with the new OAuth scope
manage_my_profile:acme-inc:luxury-brand.- [API] Added the following methods the HTTP API to access My Customer Profile in a specific Store:
- [GraphQL API] Changed the
Metype:Meobject type now implementsActiveCartInterfaceinterfaceMeobject type now implementsOrderQueryInterfaceinterfaceMeobject type now implementsCartQueryInterfaceinterface
- [GraphQL API] Changed the
CustomerSignMeUpDrafttype:- Input field
storeswas added toCustomerSignMeUpDrafttype
- Input field
- [GraphQL API] Changed the
InStoreMetype:InStoreMeobject type now implementsCartQueryInterfaceinterface- Added the
customerfield to theInStoreMetype. InStoreMeobject type now implementsOrderQueryInterfaceinterfaceInStoreMeobject type now implementsActiveCartInterfaceinterface
- [GraphQL API] Changed the
Mutationtype:- Argument
storeKeywas added toMutation.customerConfirmMyEmailfield - Argument
storeKeywas added toMutation.updateMyCustomerfield - Argument
storeKeywas added toMutation.customerChangeMyPasswordfield - Argument
storeKeywas added toMutation.customerResetMyPasswordfield - Argument
storeKeywas added toMutation.customerSignMeUpfield - Argument
storeKeywas added toMutation.deleteMyCustomerfield - Argument
storeKeywas added toMutation.customerSignMeInfield
- Argument
- [API] New store-based OAuth scopes
manage_my_profile:{projectKey}:{storeKey}.