UpdateOrderShipmentData - MPS

  • Web Service URL: https://[SERVER_ADDRESS]/SupplierOrdersWS/SupplierOrdersData.asmx

  • MPS Version: From 5.3.0

Description

This method updates the value of one of the configurable properties of the order or delivery.

Syntax

public string UpdateOrderShipmentData(int supplierID, string supplierUserEmail, string supplierUserPassword, int shipmentID, string property, string newValue)

Parameters

  • supplierID: Supplier ID in the system;

  • supplierUserEmail: Supplier contact email;

  • supplierUserPassword: Encrypted password of the supplier contact;

  • shipmentID: ID of the shipment for which the configurable property is being changed;

  • property: Name of the property being changed, which can be:

    • OrderField1Value: Value of the first customizable field in the order;

    • OrderField2Value: Value of the second customizable field in the order;

    • OrderField3Value: Value of the third customizable field of the order;

    • ShipmentField1Value: Value of the first customizable field of the shipment;

    • ShipmentField2Value: Value of the second customizable field of the shipment;

    • ShipmentField3Value: Value of the third customizable field of the shipment.

  • newValue: New value being assigned to the property specified in property.

Response

Click here to learn more about the response format.

Possible errors returned

Click here to see the possible errors that may be returned and learn their reasons.

Restrictions

  • To update the ExpectedDate property, the delivery must be Requested or Processed, and the date entered must be later than the order creation date and cannot be earlier than today.