Skip to main content

Create Customer

POST 

/commerce/customers

Create customer for a specified connection

Request

Query Parameters

    connectionId stringrequired

    The ID of the connection.

Header Parameters

    Authorization stringrequired

    Default value: bearer YOUR_API_KEY

Body

    firstName stringrequired

    First Name of the customer

    lastName stringrequired

    Last Name of the customer

    email stringrequired

    Email of the customer

    phone string

    Phone of the customer. Must include the country code. Example: for USA, the following would work: "+12345678273"

    remoteFields json

    An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.

Responses

200

Schema

    any

Loading...