feat(dashboard): create shipment flow (#7898)

**What**
- add "Mark shipped" to Fulfillment section

---

CLOSES CORE-2427
This commit is contained in:
Frane Polić
2024-07-02 16:50:15 +02:00
committed by GitHub
parent e3a0df3ba0
commit 87375db9ef
12 changed files with 277 additions and 12 deletions
@@ -1,4 +1,4 @@
import { HttpTypes } from "@medusajs/types"
import { HttpTypes, SelectParams } from "@medusajs/types"
import { Client } from "../client"
import { ClientHeaders } from "../types"
@@ -46,7 +46,7 @@ export class Fulfillment {
headers?: ClientHeaders
) {
return await this.client.fetch<HttpTypes.AdminFulfillmentResponse>(
`/admin/fulfillments/${id}/shipments`,
`/admin/fulfillments/${id}/shipment`,
{
method: "POST",
headers,
-1
View File
@@ -1,5 +1,4 @@
import {
AdminCancelOrderFulfillment,
FindParams,
HttpTypes,
PaginatedResponse,