Skip to main content

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.

Required scope: integrations:read

Grant 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​

OK

Response Headers
    Content-Type