An object representing a part of an Order tied to a certain Supplier.
To get a list of Suborders for a Supplier, use Supplier.getSuborders.
Fetches information about a suborder.
Parameter | Description |
---|---|
uid | The unique identifier of a suborder. |
query | Which info to return. See Query language. |
Fetches the JSON Schema which can be used for client-side validation.
The unique identifier of an order.
Updates a suborder.
Parameter | Description |
---|---|
uid | The unique identifier of a suborder. |
patch | An object containing the properties and values to set for the suborder. |
query | A query specifying what to return after a successful set (optional). |
Suborder.set(412315, {
"deliveryStatus": "Shipped"
}, "deliveryStatus")