Customer

Manage customers

create a customer on the marketplace

Native call to create a customer on the marketplace. The Create Customer API enables the creation of a Customer in the platform and will also trigger new customer email notification

Request
Request Body schema: application/json
optional
required
object (customer-data-customer-interface)

Customer interface.

password
string
redirectUrl
string
Responses
200

200 Success.

500

Internal Server error

default

Unexpected error

post/rest/V1/customers
Request samples
application/json
{
  • "customer": {
    },
  • "password": "string",
  • "redirectUrl": "string"
}
Response samples
application/json
{
  • "id": 0,
  • "group_id": 0,
  • "default_billing": "string",
  • "default_shipping": "string",
  • "confirmation": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "created_in": "string",
  • "dob": "string",
  • "email": "string",
  • "firstname": "string",
  • "lastname": "string",
  • "middlename": "string",
  • "prefix": "string",
  • "suffix": "string",
  • "gender": 0,
  • "store_id": 0,
  • "taxvat": "string",
  • "website_id": 0,
  • "addresses": [
    ],
  • "disable_auto_group_change": 0,
  • "extension_attributes": {
    },
  • "custom_attributes": [
    ]
}

get customer access token

Create access token for admin given the customer credentials.

Request
Request Body schema: application/json
optional
username
required
string
password
required
string
Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

post/rest/V1/integration/customer/token
Request samples
application/json
{
  • "username": "string",
  • "password": "string"
}
Response samples
application/json
"string"