Adds a member to our system and sets their basic demographic information.

Endpoint Path

POST /members

Authentication

This endpoint requires Authentication.

Response Type

The response status will be 201: Created on success, or an appropriate Error Response.

Request Parameters

This request requires an appropriately encoded request body with the data elements marked for POST on the Members resource. Be sure to specify the Content-Version header matching the version of the resource being provided.

All POST-able fields must be included in the request body. A value of null may be used for any optional data elements.

Examples



import requests
import json

uri = https://supplier-api.cmix.com/api/v2/members
headers = {
  "Authorization": "Basic Y3JpdGljYWxtaXg6dG9wc2VjcmV0",
  "Accept": "application/json",
  "Accept-Version": "1.0"
}
payload = {
  "memberId": "M343648",
  "email": "user@example.com",
  "language": "EN",
  "firstName": "John",
  "lastName": "Snow",
  "birthDate": "1989/01/20",
  "address": {
    "country": "US",
    "postalcode": null,
    "streetAddress": null
  }
}
response = requests.post(uri, headers=headers, json=payload)




 

Returns basic information about a member