---
title: "Query Sales Order Custom Field Values"
method: GET
path: "/v2/salesOrders/{salesOrderId}/customfields"
tags: ["salesorder"]
---

# Query Sales Order Custom Field Values

`GET /v2/salesOrders/{salesOrderId}/customfields`

Query all custom fields and values for a specific sales order

## Path parameters

- `salesOrderId` string, uuid, required

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Response `200`

The requested custom fields values for a sales order.

- JTLWawiRestContractsModelsV1CommonCustomFieldValue[]
  - `customFieldId` string, uuid
  - `value` object — The custom field value. The object should match the custom field type.

## Other responses

- `401`
- `402` — No licence available or the app has not been authorised by JTL.
- `404` — No fields could be found.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/versions/f979b1ea6951/schema)
