Skip to main content

sgrEditarPedido

Method for editing order data.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasUuario method.
orderobjectYesOrder to be changed, containing the attributes shown in the Order item.

METHOD RETURN

If the parameters are valid, the record will be changed and will return ReturnDescription = OK.

ReturnDescription: If there is an error when executing the method, the property indicates the error, if the order is not found, does not belong to the customer or if a mandatory field is not filled in.