PUT /customers/{id}.json

PUT /customers/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /customers/{id}.json
curl \
 -X PUT http://api.example.com/v1/customers/{id}.json \
 -H "Content-Type: application/json" \
 -d '{"accountsEmail":"string","companyCode":"string","createdAt":"2023-05-04T09:42:00+00:00","email":"string","fax":"string","firstName":"string","id":42,"lastName":"string","name":"string","notes":"string","orderEmail":"string","phone":"string","priceListId":42,"quickbooksId":"string","resellerId":42,"returnsEmail":"string","saleNotes":"string","status":"active","stripeId":"string","tags":["string"],"taxNumber":"string","updatedAt":"2023-05-04T09:42:00+00:00","userId":42,"xeroId":"string"}'
Request example
{
  "accountsEmail": "string",
  "companyCode": "string",
  "createdAt": "2023-05-04T09:42:00+00:00",
  "email": "string",
  "fax": "string",
  "firstName": "string",
  "id": 42,
  "lastName": "string",
  "name": "string",
  "notes": "string",
  "orderEmail": "string",
  "phone": "string",
  "priceListId": 42,
  "quickbooksId": "string",
  "resellerId": 42,
  "returnsEmail": "string",
  "saleNotes": "string",
  "status": "active",
  "stripeId": "string",
  "tags": [
    "string"
  ],
  "taxNumber": "string",
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "userId": 42,
  "xeroId": "string"
}