A JSON object representing the new customer

Examples

{
      "first_name": "Joe",
      "last_name": "Smith",
      "email": "joe@smith.me",
      "delivery_service_id": 56,
      "address": {
          "address_1": "12 Bucky Lane",
          "address_2": "",
          "suburb": "Boxville",
          "city": "Wellington",
          "postcode": "007",
          "delivery_note": "Just slip it through the catflap",
          "home_phone": "01 234 5678",
          "mobile_phone": "012 345 6789",
          "work_phone": "98 765 4321"
      }
}

Params

Param name Description
customer
required

JSON String

Validations:

  • Must be Object