Admin - Resellers

Update a reseller

put/api/resellers/{id}

Path parameters

idinteger required

Request body

idinteger
namestring required
usernamestring required
passwordstring password required

Write-only. Never returned in responses.

emailstring email required
phonestring
addressstring
citystring
statestring
zipstring
countrystring
companystring
email_verified_atstring date-time nullable
created_atstring date-time
updated_atstring date-time

Example request

{
  "id": 1,
  "name": "John Doe",
  "username": "johndoe",
  "password": "secret",
  "email": "john@example.com",
  "phone": "+1234567890",
  "address": "123 Main St",
  "city": "New York",
  "state": "NY",
  "zip": "10001",
  "country": "USA",
  "company": "Acme Corp",
  "email_verified_at": "2023-01-01T00:00:00Z",
  "created_at": "2023-01-01T00:00:00Z",
  "updated_at": "2023-01-02T00:00:00Z"
}

Response

Reseller updated

Changes