# Suborder

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.

# Properties

# Methods

# get

Fetches information about a suborder.

# Parameters

Parameter Description
uid The unique identifier of a suborder.
query Which info to return. See Query language.

# getSchema

Fetches the JSON Schema which can be used for client-side validation.

# Parameters

The unique identifier of an order.

# set

Updates a suborder.

# Parameters

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).

# Example

Suborder.set(412315, {
  "deliveryStatus": "Shipped"
}, "deliveryStatus")