Fix(medusa): Missing location id on fulfillments (#3462)
**What** - include location id when creating a fulfillment - Allow location updates to reservations without passing along quantity **Why** - location_id on fulfillment was null after creation Fixes CORE-1242, CORE-1243
This commit is contained in:
1 parent
24604f1b71
commit
30a3203640
6 files changed
+169
-6
No files matched your search
@@ -121,6 +121,7 @@ export default async (req, res) => {
|
||||
await orderServiceTx.createFulfillment(id, validatedBody.items, {
|
||||
metadata: validatedBody.metadata,
|
||||
no_notification: validatedBody.no_notification,
|
||||
location_id: validatedBody.location_id,
|
||||
})
|
||||
|
||||
if (validatedBody.location_id) {
|
||||
|
||||
Reference in new issue
Block a user