feat(dashboard,icons,types,js-sdk): add providers to location UI (#8328)
This commit is contained in:
@@ -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