Make Inactive

Set a supplier contact as inactive

Make Inactive

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

Example request (OAuth 2.0):

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

Example request (legacy username/password):

http://&lt;SERVER&gt;/jsonapi/suppliercontacts.json?&version=6&action=active_off&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
}