Replaces a PurchaseOrderItem object

Replaces a PurchaseOrderItem object specified by ID

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of PurchaseOrderItem to replace

Body Params

PurchaseOrderItem object that needs to be updated

float

Field used only for temporarily storing forecasted amount to use for sorting of sent PO items.

boolean
Defaults to false

Flag. If set to True, the item quantity and cost is considered finalized.

float

Stock unit multiplier used when the item is received in bulk quantities. Item quantity is multiplied by this factor to get the final increase amount.

ingredient
object
string
length ≤ 255

Unit of measurement to receive the item in.

boolean
Defaults to false

Flag. If set to True, flags this item as one created via API. API created items can have their price locked with certain settings.

boolean
Defaults to false
deprecated

Leftover from old order model. Does nothing.

float

Price of a single unit.

float

Single unit price, as sent by API. With the appropriate settings enabled, the price will be locked to this value.

product
object
uri
required

URI of the PurchaseOrder API resource representing the purchase order that this item is part of.

float
required

Total ordered quantity of the specified measurement unit.

uri

URI of the UnitType API resource that represents the reorder unit.

float
deprecated

Unused field included as part of a scrapped project.

boolean
Defaults to false

Flag. If set to True, the total price of this order item will be used as part of the purchase order tax calculation. Calculation always uses the prevailing tax rate.

float
required

Total order item price, calculated by multiplying the price and quantity fields.

string
length ≤ 255

Text field for entering the vendor item ID to help identify the order item.

Responses

301

Invalid request URL - make sure that the URL ends with a trailing slash.

400

Bad request. Usually caused by invalid request body.

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

404

PurchaseOrderItem with the provided ID not found.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json