ServiceSalesOrder
Sales order id.
5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5bOrder number.
SO-000001Lifecycle status.
Possible values: [DRAFT, AWAITING_PAYMENT, CONFIRMED, PARTIALLY_INVOICED, INVOICED, PARTIALLY_SHIPPED, SHIPPED, DELIVERED, CANCELLED, RETURNED, null]
How much of the order has been paid.
Possible values: [PENDING, PARTIAL, PAID, OVERDUE, REFUNDED, DRAFT, PENDING_APPROVAL, APPROVED, PROCESSED, CANCELLED, REVERSED, null]
The customer the order is for.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dOrder date.
2026-01-15T09:30:00.000ZDate the order is promised for.
2026-01-15T09:30:00.000ZWhen the order shipped.
2026-01-15T09:30:00.000ZWhen the order was delivered.
2026-01-15T09:30:00.000ZISO 4217 currency code of every amount on the order.
USDRate from the document currency to the workspace currency.
1Sum of the line values before discount and tax.
25Total discount.
0Total tax.
2.5Shipping charge.
0Grand total in the document currency.
27.5Payment terms code.
NET_30The buyer's purchase order number.
PO-12345Your own reference for the order.
INT-0001Carrier tracking number.
TRACK-000000items object[]required
Order lines.
Product id.
5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5bVariant id.
9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6dStock keeping unit.
SKU-1001Line name.
Sample WidgetQuantity.
2The unit the quantity is in.
5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5bUnit price in the document currency.
12.5Line discount percent.
0Line discount amount in the document currency.
0Tax rate percent.
10Tax on the line in the document currency.
2.5Line total in the document currency.
27.5Quantity shipped so far.
0Quantity invoiced so far.
0Quantity cancelled.
0When the order last changed. Use the newest value as the next updatedAfter.
2026-01-15T09:30:00.000Z{
"id": "5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b",
"orderNumber": "SO-000001",
"status": "DRAFT",
"paymentStatus": "PENDING",
"customerId": "9d2f6b1c-8e47-4a30-b5c2-0e1f3a4b5c6d",
"orderDate": "2026-01-15T09:30:00.000Z",
"promisedDate": "2026-01-15T09:30:00.000Z",
"shippedDate": "2026-01-15T09:30:00.000Z",
"deliveredDate": "2026-01-15T09:30:00.000Z",
"currency": "USD",
"exchangeRate": 1,
"subtotal": 25,
"discountAmount": 0,
"taxAmount": 2.5,
"shippingAmount": 0,
"totalAmount": 27.5,
"paymentTerms": "NET_30",
"customerPoNumber": "PO-12345",
"reference": "INT-0001",
"trackingNumber": "TRACK-000000",
"items": [
{
"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
}
],
"updatedAt": "2026-01-15T09:30:00.000Z"
}