UpdateOrderShipmentData

  • Web Service URL: https://[SERVER_ADDRESS]/StockOrdersWS/StockOrdersData.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(string dealerName, string dealerUserEmail, string dealerUserPassword, int shipmentID, string property, string newValue)

Parameters

  • dealerName: Provider name;

  • dealerUserEmail: Provider user email;

  • dealerUserPassword: Encrypted user password;

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

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

    • InvoiceNumber: Invoice number of the shipment;

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

    • OrderField2Value: Value of the second customizable field of 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.

Return

Click here to learn more about the return format.

Possible errors returned

Click here to check the possible errors that may be returned and understand their reasons.

Restrictions

To execute this method, the following is required:

  • To execute this method, the specified user must have Restricted or Full responsibility assigned by the supplier (Distribution Center);

  • 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;

  • To update the InvoiceNumber property, the delivery must be Invoiced, and the user must have full permission for Invoice Orders.