# Update Sales Order Fields Update metadata fields (ReferenceNumber, LogisticServiceCode, Note) and optionally the fulfillment state for an existing sales order. Requires the "Edit" role in the "Sell" module or the "EDIT" role in the "Global" module. Endpoint: PUT /api/v3/SalesOrder/Field Version: 3.1.0 Security: OAuth2_clientCredentials ## Header parameters: - `IgnoreFulfillment` (boolean) To ignore fulfillment rules when updating the Sales Order fields, set this header to true Example: true ## Request fields (application/json): - `Outlet` (string, required) Outlet Name Example: "Outlet1" - `Number` (string, required) Invoice Number Example: "20.06.00001" - `ReferenceNumber` (string) Number related to this Order ex: logistic tracking_number or purchase_order number (If this property is null or empty, it will not update the Reference Number) Example: "TKPD-001" - `LogisticServiceCode` (string) Code of the logistic service (if this property is null or empty, it will not update the Logistic Service Code) Example: "JNE123" - `Note` (string) Sales Order Note (if this property is null or empty, it will not update the Note) Example: "This is a note for Sales Order" - `Fulfillment` (string) Fulfillment status of the Sales Order from Unsent to 'AwaitingCollection' (if this property is null or empty, it will not update the Fulfillment status) Example: "AwaitingCollection" ## Response 200 fields (application/json): - `Message` (string) Example: "reference number for sales order 20.06.00001 has been updated" ## Response 202 fields (application/json): - `Message` (string) Example: "Stored Reference Number 20.06.00001 - nothing is updated!" ## Response 400 fields (application/json): - `Message` (string) ## Response 500 fields (application/json): - `Message` (string) - `StackTrace` (string)