Support API Functionality to Remove SKU from Product Family (Unassign SKU)

royi

Details:

At present, the Cin7 Core API allows SKUs to be added or updated in a product family using the PUT /ProductFamily endpoint. However, it does not currently support removing a SKU from a product family. This means there is no way to unassign a SKU from a family record via the API without deleting the entire family.

This limitation presents challenges for integration and automation workflows, particularly when managing product data dynamically. In many cases, it is necessary to remove a SKU from a product family and have it stand alone or be reassigned to a different family, all through the API.

Feature Request:
Please provide support in the Cin7 Core API to remove individual SKUs from an existing product family. This could be implemented by:

  • Allowing the PUT Request to treat the provided list of SKUs as the complete list for the family, so any SKU not included is removed.
  • Alternatively, introducing a new endpoint or a specific parameter to remove SKUs from a product family.

Why this matters:

  • Enables automated workflows for managing product family groupings.
  • Reduces the need for manual intervention through the user interface.
  • Supports integration with systems that require flexible and dynamic product catalogue management.

Operational scenario 1:
In some cases, a staff member may mistakenly assign an incorrect SKU to a product family during manual entry. If we are unable to remove the SKU from the family via the API, and deletion of the SKU or the family is not an option due to data integrity or dependencies, we are forced into a workaround.

The current workaround involves reassigning the affected SKU to a different family and then deleting the mistakenly created or outdated family. However, this process can disrupt our integrations with other platforms, which rely on stable and consistent product family data. This creates unnecessary complexity and risks data mismatches across systems.

Operational scenario 2:
If we attempt to manage product family assignments through the DEAR GUI, the platform applies changes in a bulk overwrite manner. This means that modifying a product family via the GUI will overwrite all SKU relationships in that family, potentially impacting other SKUs unintentionally.

To avoid these unintended consequences and maintain precise control over SKU assignments, we must manage these operations at the API level. However, without API support for removing SKUs from a product family, we are left without a safe and reliable method to correct mistakes or make changes efficiently.

Allowing SKU removal from a product family via the API would solve both operational problems while aligning with best practices for data accuracy and integration stability.

Thank you for considering this improvement.

1

Comments

1 comment

  • Comment author
    Peter

    Yes we also need this function.

    0

Please sign in to leave a comment.