PUT /company

Update details of an existing company.

Query parameters

  • companyID integer Required
application/json

Body Required

  • companyID integer
  • status string
  • name string
  • streetAddress string
  • route string
  • city string
  • state string
  • postalCode string
  • contactNumber string
  • email string
  • industry string
  • description string
  • website string
  • size string
  • referral string
  • stripeCustomerID integer
  • createdBy integer
  • updatedBy integer

Responses

  • 200

    Company updated successfully

  • 404

    Company not found

  • 500

    Internal Server Error

PUT /company
curl \
 -X PUT http://api.example.com/company?companyID=42 \
 -H "Content-Type: application/json" \
 -d '{"companyID":42,"status":"string","name":"string","streetAddress":"string","route":"string","city":"string","state":"string","postalCode":"string","contactNumber":"string","email":"string","industry":"string","description":"string","website":"string","size":"string","referral":"string","stripeCustomerID":42,"createdBy":42,"updatedBy":42}'
Request example
{
  "companyID": 42,
  "status": "string",
  "name": "string",
  "streetAddress": "string",
  "route": "string",
  "city": "string",
  "state": "string",
  "postalCode": "string",
  "contactNumber": "string",
  "email": "string",
  "industry": "string",
  "description": "string",
  "website": "string",
  "size": "string",
  "referral": "string",
  "stripeCustomerID": 42,
  "createdBy": 42,
  "updatedBy": 42
}