curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.edi.stateset.com/v1/partners/{id}/xref/locations' \
--header "Authorization: Bearer $EDI_API_TOKEN"
[
{
"created_at": "2026-08-31T14:22:05Z",
"description": "Two-person tent, green — replacement for damaged pole set.",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location_type": "string",
"partner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"partner_location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ship_to": "string",
"tenant_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-08-31T14:22:05Z"
}
]
List locations
Location cross-references
GET
/
v1
/
partners
/
{id}
/
xref
/
locations
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.edi.stateset.com/v1/partners/{id}/xref/locations' \
--header "Authorization: Bearer $EDI_API_TOKEN"
[
{
"created_at": "2026-08-31T14:22:05Z",
"description": "Two-person tent, green — replacement for damaged pole set.",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location_type": "string",
"partner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"partner_location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ship_to": "string",
"tenant_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-08-31T14:22:05Z"
}
]
Path parameters
string
required
Trading partner id
Response
LocationXref[] — each element:
string (date-time)
required
string,null
string
required
string
required
Our location / warehouse id.
string,null
store, dc, … (free text, informational).string
required
string
required
The partner’s store / DC number (N1*ST/N104). Numeric values match regardless of leading zeros.
string,null
Our ship-to code, if it differs from the location id.
string
required
string (date-time)
required
Status codes
| Code | Meaning |
|---|---|
200 | Location cross-references |
404 | Partner not found in this workspace |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.edi.stateset.com/v1/partners/{id}/xref/locations' \
--header "Authorization: Bearer $EDI_API_TOKEN"
[
{
"created_at": "2026-08-31T14:22:05Z",
"description": "Two-person tent, green — replacement for damaged pole set.",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location_type": "string",
"partner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"partner_location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ship_to": "string",
"tenant_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_at": "2026-08-31T14:22:05Z"
}
]
Last modified on October 20, 2026