Create Customer

URL : /api/v1/customers/

Method : POST

Parameters

  • email - String

  • first_name - String

  • last_name - String

  • company_name - String

  • phone - String

  • reference - String

  • address - String

  • postcode - String

  • city - String

  • country - String

  • state - String

  • customer_account - Integer

Data example

{
    "email": "[email protected]",
    "first_name": "Harry",
    "last_name": "Potter",
    "company_name": "Hogwarts",
    "phone": "+385913111111",
    "reference": "ref123",
    "address": "Street 1",
    "postcode": "10000",
    "city": "New York",
    "country": "US",
    "state": "NY",
    "customer_account": 1,
    "metadata": {}
}

Success Response

Code : 200 OK

Content examples :

Last updated

Was this helpful?