Skip to main content

Update Item Mapping

PUT 

/api/spscommerce/:integrationInstance/item-mappings/:mapping

Change a mapping's item number, product, description or active flag. When the mapping is active, failed purchase orders waiting on its item number are retried.

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

Returns 404 when the mapping belongs to another connection.

Request​

Responses​

OK

Response Headers
    Content-Type