Skip to content

Please support shipments and stock line item management after order approval #253

@osseonews

Description

@osseonews

Is your feature request related to a problem? Please describe

No. There is no problem. Adding this feature will just greatly improve the app.

Describe the solution you'd like

With CommerceLayer after an order is approved and shipments are created, you can still edit the shipments, like adding a free item to a shipment, delete shipments, or add new shipments for the order with new stock line items (see https://docs.commercelayer.io/core/api-reference/stock_line_items#manual-stock-line-items-management). It is very common, for various reasons in b2b-type applications to have to add shipments, change shipment stock line items etc.

Currently, because the admin dashboard does not support these features, and we need to do this via the API by migrating orders to another backend system and then using that system to manage the shipments/stock line items and then resynch everything back to CommerceLayer by the API. It is a massive pain, especially since CommerceLayer now has all the frontend tools for offering manual shipment management and manual stock line item management via the dashboard app.

The solution here is simple:

  1. On the shipment page, you should have an option to create a new shipment for an order and then add the stock line items (even if they are not part of the original order). So even if an order at the start has only one shipment, you should be able to add a 2nd or 3rd shipment with more items.
  2. For any existing shipment, you should be able to edit the stock line items for the shipment to change quantity of an existing item, delete the existing item, or add a new stock line item.
  3. For any existing shipment, there should be an easy way to delete the shipment along with the stock lines items.

I think that covers all the scenarios.

Describe alternatives you've considered

As described above, our only alternative now is to synch CommerceLayer shipments with another system that does allow easy management of data and then resynch the data back to CommerceLayer via the API.

Are you able to assist to bring the feature to reality?

yes, I can

Additional context

I can assist by providing some our backend code. But, this is really just basic SDK queries that I'm sure your team can easily do. The idea is more to add this features to the dashboard apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions