Skip to content

POST /rest/V1/shipment does not change OrderItems qtyShipped #3799

Closed
@ddeppner

Description

@ddeppner

Steps to reproduce

  1. Create a new shipment in the Admin screens and add items from a previously placed order to it.
  2. POST to /rest/V1/shipment to create a new shipment with the items from a different order that has previously been placed.
  3. select item_id,qty_shipped from sales_order_item;

Expected result

  1. sales_order_items qty_shipped field should show 0 for all items affected by either Can you commit to repository a folder dev/tests/static ? #1 or BUG FIX - Uncaught exception when accessing admin with none existent use... #2 above.

Actual result

  1. qty_shipped is 0 for shipments created in the Admin panel.
  2. qty_shipped is NOT 0 for shipments created via the API

If there was an API call to allow me to manually change the qtyShipped via /V1/orders/items/{id} then I could solve this, but there are only GET options for salesOrderItemRepositoryV1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions