Reimport a YBM Connect Item

POST /items/:id/reimport

Create a replacement Item from the YBM Connect supplier's current product data. The existing Item is marked for deletion or deleted, depending on whether it has stock, and linked to the replacement. This is not a read-only refresh: it creates a new Item ID. Use it only when you intend to replace the Item. It requires the IMPORT_CONNECT_BUNDLE permission for that Item.

Path parameters

  • id: ID of the existing YBM Connect Item.

Status codes

  • 200 on success
  • 400 if the item is not a valid YBM Connect Item
  • 404 if the item or connected product cannot be found

Response properties

  • item: The original Item after the operation.
  • replacement: The newly created replacement Item.

See GET /items/:id for Item properties.