List Item Mappings
GET/api/spscommerce/:integrationInstance/item-mappings
List the item mappings that apply to this connection's purchase orders: the customer SKU mappings (every source) of the customers this connection's trading partners belong to. A trading partner belongs to the customer it is linked to in the connection's settings, otherwise to the customer of its most recently converted purchase order.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
An item number is mapped per customer, so two retailers on one connection can map the same item number to different products. Mappings made from emailed purchase orders appear here too.
Authentication: Requires Bearer token.
Search: filter[search] matches the mapping id exactly and the buyer part number, description, product SKU and customer name partially. Filters: id, customer_id (numeric); customer_sku, description, product_sku, customer_name, source (text; source is edi, auto, manual or import). Advanced filters (filter[<key>.<operator>]=value, or a filter_groups tree): text operators contains, does_not_contain, is, is_not, is_one_of, is_not_one_of, starts_with, ends_with, is_empty, is_not_empty; numeric operators is, is_not, is_one_of, greater_than, less_than, greater_than_or_equal, less_than_or_equal, between, is_empty, is_not_empty. Sorts: id, customer_sku, description, product_sku, customer_name, source, last_used_at, created_at (prefix - for descending; default -id). Pagination: page, per_page (default 10, max 100).
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.