Add Member

See the sample example how a member can be added. Links to more detailed instructions can be found at the end of the article.

How this example works

In this example, you can register a new member profile using the previously specified registration method.

The endpoint used in this example is the recommended one, and it requires an admin token to be used. For more details on how to register a member to allow using member token, please refer to this article.


Try yourself

  • Input the previous saved token and storeCode in the request header

  • Add a member Endpoint: POST /api/{storeCode}/member

    {
       "customer": {
            "email": "john.smith@example.com",
            "firstName": "John",
            "lastName": "Smith",
            "gender": "male"
        }
    }
  • This action should trigger CustomerRegistered webhook


Endpoints used


More resources

For a detailed overview and description of the members, please refer to these series of articles:

pageMembers

Last updated

Was this helpful?