_setDeliveryCosts

Set the delivery costs associated with a Purchase order

Set the delivery costs associated with a Purchase order.

Parameters

id

integer

ID of the purchase order for which the delivery costs will be set

delivery_net

decimal

The net cost for the delivery

delivery_taxcode

varchar

The tax type associated with the delivery cost - this should correspond to a Tax Type in your Chart of Accounts in Fieldmotion

delivery_tax

float

The total tax associated with the delivery cost

Example

Result

On Success

On Failure

No delivery_net parameter

No delivery_taxcode parameter

No delivery_tax parameter

A purchase order with the supplied ID was not found

Last updated