Skip to main content
The Trackstar API enables you to write data into your end users’ connected accounts. We have done the heavy lifting to unify the body of each action across integrations, so you can write data in a consistent way across all of them. For each resource, we call this the “Base Schema”. See the Create Order Base Schema as an example. However, the required and optional fields may vary depending on the integration you are writing to. Additionally, some integrations may require a field that is unique to them. To handle these cases, we have also included each integration’s schema in the reference. See Extensiv’s Create Order Schema for an example. On the API side, we have created an endpoint that will return the required and optional fields for a given entity in a given integration.

The /integrations endpoint

The GET integrations endpoint returns information on our supported integrations. The required, optional, and integration-specific fields for each write operation are returned in the response.

Example Create Order Request

Based on the response from the /integrations endpoint, the required and optional fields to create an order in the Some WMS integration are as follows: Let’s send in all of the fields for this request:
And that’s it! You have successfully created an order in your end user’s connected system.

Non Nullable Fields

All fields in the write body are non-nullable. Put another way, you cannot send a null or empty string value for any field. This includes null string literals such as "null", "none", or any similar variation. For example, order_number and reference_id are optional fields. Sending in the following request will result in a 422 error response:
Instead, you should omit the fields from the request like so: