null.
Use the Expand parameter to include that data in the same request. Expansion applies to each item in results.
Each endpoint defines its expansions through its own enum. In OpenAPI,
Expand is an array whose items belong to that enum. Each endpoint’s documentation therefore shows all supported values directly.Expand parameter in the API reference. Not all endpoints support expansion or share the same values.
Expand a relationship
For example, the sales order list returnscustomerId but does not load the customer object unless you request it.
Expand=Customer to include the customer in each order on the page:
customerId and populates customer:
null.
Expand several relationships
RepeatExpand to request more than one relationship. This example includes the cause, asset, and main employee for each maintenance work order:
Expand a nested relationship
Use dot notation to reach a relationship within another relationship. For example, you can include the lines of the load order linked to each shipment:LoadOrder.Lines, Bold also includes LoadOrder. You do not need to send both values.
The maximum depth is two levels: Parent or Parent.Child. Each endpoint’s reference lists the supported combinations.
Combine expansions with a query
You can useExpand with pagination, filters, search, and sorting when the endpoint supports those parameters.
Handle unsupported values
The API responds with400 Bad Request if you send a value that is not defined for the endpoint.
Expand parameter’s enum in the endpoint documentation. Available values can differ between endpoints even when their responses contain similar relationships.