curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/partners/{id}/xref/items/import' \
--header "Authorization: Bearer $EDI_API_TOKEN"
{
"created": 1,
"removed": 1,
"rows": 1,
"total": 102,
"updated": 1
}
Bulk CSV import (header row required; columns partner_item_id, upc, buyer_part,…
Import applied
POST
/
v1
/
partners
/
{id}
/
xref
/
items
/
import
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/partners/{id}/xref/items/import' \
--header "Authorization: Bearer $EDI_API_TOKEN"
{
"created": 1,
"removed": 1,
"rows": 1,
"total": 102,
"updated": 1
}
Path parameters
string
required
Trading partner id
Query parameters
string
merge (default) or replace
Response
ImportSummary
integer
required
Minimum:
0.integer
required
Rows removed because the import ran in
replace mode. Minimum: 0.integer
required
Minimum:
0.integer
required
Minimum:
0.integer
required
Minimum:
0.Status codes
| Code | Meaning |
|---|---|
200 | Import applied |
409 | Duplicate identifiers |
422 | Invalid CSV (row number in the message) or over the row cap |
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 POST \
--url 'https://api.edi.stateset.com/v1/partners/{id}/xref/items/import' \
--header "Authorization: Bearer $EDI_API_TOKEN"
{
"created": 1,
"removed": 1,
"rows": 1,
"total": 102,
"updated": 1
}
Last modified on October 20, 2026