Skip to main content

ServiceSalesOrderLine

productIdstring<uuid>nullablerequired

Product id.

Example: 5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b
variantIdstring<uuid>nullablerequired

Variant id.

Example: 9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d
skustringnullablerequired

Stock keeping unit.

Example: SKU-1001
namestringnullablerequired

Line name.

Example: Sample Widget
quantitynumbernullablerequired

Quantity.

Example: 2
uomIdstring<uuid>nullablerequired

The unit the quantity is in.

Example: 5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b
unitPricenumbernullablerequired

Unit price in the document currency.

Example: 12.5
discountPercentnumbernullablerequired

Line discount percent.

Example: 0
discountAmountnumbernullablerequired

Line discount amount in the document currency.

Example: 0
taxRatenumbernullablerequired

Tax rate percent.

Example: 10
taxAmountnumbernullablerequired

Tax on the line in the document currency.

Example: 2.5
totalAmountnumbernullablerequired

Line total in the document currency.

Example: 27.5
shippedQuantitynumbernullablerequired

Quantity shipped so far.

Example: 0
invoicedQuantitynumbernullablerequired

Quantity invoiced so far.

Example: 0
canceledQuantitynumbernullablerequired

Quantity cancelled.

Example: 0
ServiceSalesOrderLine
{
"productId": "5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b",
"variantId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"sku": "SKU-1001",
"name": "Sample Widget",
"quantity": 2,
"uomId": "5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b",
"unitPrice": 12.5,
"discountPercent": 0,
"discountAmount": 0,
"taxRate": 10,
"taxAmount": 2.5,
"totalAmount": 27.5,
"shippedQuantity": 0,
"invoicedQuantity": 0,
"canceledQuantity": 0
}