Updates a sales credit memo line. documentId, sequence and lineObjectNumber cannot be changed.
Lines can only be created, modified or deleted while the credit memo is a draft (not posted).
ETag for concurrency (use * to force update)
GUID for targeted Company
SystemId (GUID) of the sales credit memo line
Change quantity and price
{
"quantity": 10,
"unitPrice": 95.5
}Change shortcut dimensions
{
"shortcutDimension1Code": "PARD",
"shortcutDimension2Code": "444"
}Payload to create or update a sales credit memo line. Lines can only be changed on draft credit memos.
documentId is required when the line is created through the root salesCreditMemoLines endpoint.
shortcutDimension1Code and shortcutDimension2Code are applied only when not empty.
OK
SystemId of the sales credit memo. Cannot be changed.
Line No. Cannot be changed, delete and insert the line again.
Item or G/L account number, depending on lineType. 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)
Location (standard page "APIV2 - Locations").
Bad Request
Unauthorized
Not Found