PRODUCT_ORDER_DELIVERY_MANAGE PRODUCT Endpoint
  /rpc/product/?method=PRODUCT_ORDER_DELIVERY_MANAGE  
  Object: 51. Click here for more information.  
  PARAMETERS    
  DataReturn Text A comma delimited list of advanced search fields to be returned after a successful save
  Id Numeric  
  Remove Numeric Pass '1' to remove the item
       
  AssetReference Text (30)  
  DeliveryDate Date Defaults to today
  DeliveryDateTimeZone Numeric  
  Notes Text (2000)  
  Order Numeric Mandatory. The Order that the delivery is for
  Reference Text (50) Defaults to DELnnnnnn. Uses Profile Setting 107 to determine the default
  Status Numeric This field is automatically maintained. 1=In Progress. This indicates that no items have yet been added. 2=Needs Finalising. This indicates that at least one item has been added, but the delivery has not yet been completed via PRODUCT_ORDER_DELIVERY_ITEM_COMPLETE. 3= Finalised. To change this value, or to update a delivery that has been marked as finalised, you need to use an override, ie override_status=Y. Make sure you are aware of the consequences on invoicing, stock, and general journals before doing this.
  Store Numeric A store is a location where product can be stored. It becomes a contact business
  SPECIAL    
  Remove   The remove method does more than just delete the delivery record. It also:
  • Deletes the linked invoice
  • Reverses the stock General Journal
  • Delets all delivery items
  • Recalculates the Product Cost for each Product involved
  • Updates the order status to either 'Processing' or 'Part Processed' (depending on whether there are other deliveries)
  RETURN  
  id