POST
/
customers
curl --request POST \
  --url https://commerce.driv.ly/api/customers \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "addresses": [
    "<string>"
  ],
  "phoneNumbers": [
    "<string>"
  ]
}'
{
  "data": {
    "id": "<string>",
    "addresses": [
      "<string>"
    ],
    "phoneNumbers": [
      "<string>"
    ]
  },
  "success": true
}

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Customer is uniquely identified by id

addresses
array

Customer is located at Addresses

phoneNumbers
string[]

Customer has Phone Number

Response

200
application/json
Customer Created
data
object
success
boolean