v1

latestOpenAPI 3.1.02026-07-241660500.9 KB

Add a Supplier Contact

post/v3/suppliercontact

Query parameters

idinteger

Supplier Id

echoboolean

Return Response

Request body

contactTypestring required

ContactType can be Email, Phone, or Mobile

merchantIdinteger required

Merchant Id

isDefaultboolean required

Primary contact

namestring

Contact label name

emailstring

Email address (Only needed if contactType is Email)

phonestring

Phone number (Only needed if contactType is Phone)

mobilestring

Mobile number (Only needed if contactType is Mobile)

Response

201

idinteger
contactTypestring
namestring
emailstring
isDefaultboolean

Example response

{
  "id": 133,
  "contactType": "Email",
  "name": "Support",
  "email": "support@mxmerchant.com",
  "isDefault": true
}