feat: Convert several batch methods to the standardized format (#7116)

This commit is contained in:
Stevche Radevski
2024-04-22 16:35:10 +02:00
committed by GitHub
parent 0eb68541b8
commit 0df523594f
63 changed files with 614 additions and 919 deletions
@@ -318,9 +318,9 @@ medusaIntegrationTestRunner({
scId = scResponse.data.sales_channel.id
await api.post(
`/admin/stock-locations/${location}/sales-channels/batch/add`,
`/admin/stock-locations/${location}/sales-channels`,
{
sales_channel_ids: [scId],
add: [scId],
},
adminHeaders
)