Make Active

Set a supplier contact as active

Make Active

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areasuppliercontacts.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=active_on
IdentifierYesSupplier contact to make activesuppliercontact=8589

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/suppliercontacts.json?&version=6&action=active_on&suppliercontact=286

Example request (legacy username/password):

http://<SERVER>/jsonapi/suppliercontacts.json?&version=6&action=active_on&suppliercontact=286&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Supplier contact active flag changed. ",
  "warningmessage": "",
  "success": true,
  "synapiversion": 3.8
}