feat(dashboard,icons,types,js-sdk): add providers to location UI (#8328)
This commit is contained in:
1 parent
b539c6d5bb
commit
c976361f22
22 files changed
+616
-103
No files matched your search
@@ -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,
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user