Update Purchase

This function is used to modify a purchase before it is finalized and completed.

Body Params
int32
required

This is the purchase ID which uniquely identifies this purchase.

double

The quantity being purchased. Used by the pricing model and price ranges to calculate the overall price. If the purchase is using tracked quantities, leave this null

double

The number of tracked items which must be on this purchase in order to be considered fulfilled. If this is not met, the purchase cannot be finalized. Cannot be used for purchases which are not tracking items.

string

The name of the purchase. [Max Length: 2000]

string

The description of the purchase. [Max Length: 2000]

overridePriceRanges
object

The price ranges used to determine the amount to charge. For the standard pricing model, this is a single range from 0 to infinity with a single price. This is an override just for this purchase.

string
enum

Can be used to override the pricing model being used just for this purchase.

Allowed:
earningSettings
object

Controls how this purchase earns

string

The location of this purchase in NetSuite. [Max Length: 100 characters]

Responses

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