Assign products to shared catalog
documentedAssign products to a shared catalog.
POST /rest/{store_code}/V1/sharedCatalog/{id}/assignProductsCatalogno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://magento.com/rest/{{$store_code}}/V1/sharedCatalog/{{$shared_catalog_id}}/assignProducts" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"products": [{"sku": "{{$product_sku_1}}"}, {"sku": "{{$product_sku_2}}"}]}'