Updates a line of a draft purchase credit memo. documentId, sequence and lineObjectNumber cannot be changed;
delete and re-create the line instead.
ETag for concurrency (use * to force update)
GUID for targeted Company
SystemId (GUID) of the purchase credit memo
First part of the purchase credit memo line key: SystemId (GUID) of the parent purchase credit memo.
The purchase credit memo line page has no ODataKeyFields, so a line is addressed by its
primary key documentId + sequence, e.g. purchaseCreditMemoLines(documentId=7c41e2a9-5d1b-f011-9346-002248a0b478,sequence=10000).
Second part of the purchase credit memo line key, the line number (sequence).
Change quantity
{
"quantity": 150
}Writable purchase credit memo line fields. documentId is filled automatically when the line is created
under a purchase credit memo. documentId, sequence and lineObjectNumber cannot be changed once set.
Dimension set line (standard page "APIV2 - Dimension Set Lines").
If the customer, vendor, G/L account or item has default dimensions, overriding them on a document line needs additional PATCH requests;
without default dimensions, send the dimensions with the line in the same request.
For documents with hundreds of lines, post dimensions in a separate $batch request.
SystemId of the dimension (not of the line)
OK
The page has no ODataKeyFields, so a line is keyed by documentId + sequence
(e.g. purchaseCreditMemoLines(documentId=...,sequence=10000)), not by id.
Dimension set line (standard page "APIV2 - Dimension Set Lines").
If the customer, vendor, G/L account or item has default dimensions, overriding them on a document line needs additional PATCH requests;
without default dimensions, send the dimensions with the line in the same request.
For documents with hundreds of lines, post dimensions in a separate $batch request.
SystemId of the dimension (not of the line)
Location (standard page "APIV2 - Locations").
Bad Request
Unauthorized
Not Found