Skip to main content

Create Item Mapping

POST 

/api/spscommerce/:integrationInstance/item-mappings

Map a buyer part number to a product for one of this connection's customers. The mapping is saved on the customer's SKU mappings (source edi), so it also applies to purchase orders that customer emails in. Every failed purchase order of that customer's trading partners that this leaves fully mapped is retried straight away; retried_purchase_orders says how many. Other customers' lines with the same item number are not touched.

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token and the integrations.update permission.

Body fields:

  • customer_id (integer, required): one of the customers from List Item Mapping Customers
  • customer_sku (string, required, max 255): the buyer part number (or UPC); unique per customer
  • product_id (integer, required): the product it becomes
  • description (string, optional, max 255): how the retailer describes the item

Request​

Responses​

Created

Response Headers
    Content-Type