Get Company

GET/companies/:companyId

Get company by his id

Param Type Default Description
companyd Stri hash id of customer

Get Customers

GET/companies/all

Get companies

Param Type Default Description
page Int page number
query String search by first/last name, email
limit Int limit list to response
byColumn String column name sorting
ascending Int 1-ASC
-1-DSC

Create Company

POST/companies

Create new company

Body Type Default Validation Description
companyName Stri required name of company

Example request body

{
  "companyName": "New company"
}

Edit Company

PUT/companies/:companyId

Edit company. Can update all fields

Param Type Default Description
companyId Stri company id
Body Type Default Validation Description
companyName String required name of company

Example request body

{
  "companyName": "New company2"
}

Delete Company

DELETE/companies/:companyId

Delete the company

Param Type Default Description
companyId Stri company hash id to delete

Ready to run all of promo in one place?

See how MPower replaces your disconnected tools with one platform — from the first lead to the final shipment.

No credit card required.

Download

Never miss a beat. Download our app and work on the go with all the same features as our desktop application.

Powered by MPower PromoPlatform privacy