feat(dashboard,icons,types,js-sdk): add providers to location UI (#8328)

This commit is contained in:
Riqwan Thamir
2024-07-30 08:47:01 +02:00
committed by GitHub
parent b539c6d5bb
commit c976361f22
22 changed files with 616 additions and 103 deletions
@@ -105,4 +105,19 @@ export class StockLocation {
}
)
}
async updateFulfillmentProviders(
id: string,
body: HttpTypes.AdminBatchLink,
headers?: ClientHeaders
) {
return await this.client.fetch<HttpTypes.AdminStockLocationResponse>(
`/admin/stock-locations/${id}/fulfillment-providers`,
{
method: "POST",
headers,
body,
}
)
}
}