Skip to main content
Version: Next

Delete supply x supplier association

This method allows deleting a supply x supplier association.

POST /apigateway/se/generic/gn_webservice/gn_webservice_execute.php

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 149
classnameStringYesName of the class used in WADL
Constant value: supplierproviderdelete
classpathStringYesPath to the class used in WADL
Constant value: sp_import

Request example:

Supported attributes:

Request body parameterTypeRequiredDescription
idobjectStringYesSupply ID #
idcommercialStringYes¹Customer company ID.
nmcompanyStringYes¹Supplier company name.
idcompanyStringYes²Supplier code.
info

Yes¹ - Field required if "Supplier Code" is empty. Yes² - Field required if "Company ID" and/or "Company name" are empty.

{
"idobject": "string",
"idcommercial": "string",
"nmcompany": "string",
"idcompany": "string"
}

Response example:

200 OK

{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}