Update Custom Field on Purchase

This call is used to edit the value of a custom field on a draft purchase. A custom field value on purchase cannot be changed once the purchase enters status "purchased".

Body Params
string

This is the unique key of the Custom Field you wish to modify.

int32

The ID of the draft purchase for which the custom field exists.

string

This is the value you wish to update the custom field to. This will always be the string version of the value. If you wish to pass a number, for example, pass it as "123". Likewise, a DateTime would be passed as "2014-06-26T04:00:00". We will use the known data type of the custom field to properly convert the String to a Number, DateTime, etc.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json