Skip to main content

Create Item Mapping

POST 

/api/spscommerce/:integrationInstance/item-mappings

Match a trading partner item number to a product. Every failed purchase order waiting on that item number is retried straight away; retried_purchase_orders says how many.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

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

Body fields:

  • partner_sku (string, required, max 255): the trading partner's item number (buyer part number); unique per connection
  • product_id (integer, required): the product it becomes
  • partner_description (string, optional, max 255)
  • upc (string, optional, max 255)
  • is_active (boolean, optional, default true): an inactive mapping is ignored

Request​

Responses​

Created

Response Headers
    Content-Type