Account

There are functions delivered by the Shop API that are usable only if the customer has the right to use them. The following ones are usable only for registered customers:

Queries

  • account_loadCustomer
    • contains functions to retrieve all information related to the customer

Mutations

  • account_updateCustomer
    • contains functions to manage all customer related data
  • cart_merge
    • can be used to merge the guest cart and the logged in cart after a successful login. For this the guest cartId has to be remembered.

Customer Addresses

Handling for customer addresses depend on the type of address:

Billing Address

It is important to know, that a registered customer can have only one billing address at the time which can be modified via account_updateCustomer.

Shipping Address

A registered customer can have as many shipping addresses as he likes. They can be managed via account_updateCustomer.