# salesChannel is not get assigned

**URL:** https://forum.shopware.com/t/saleschannel-is-not-get-assigned/71014
**Category:** Programmierung
**Created:** [19. November 2020 um 08:25 UTC](https://forum.shopware.com/t/saleschannel-is-not-get-assigned/71014 "2020-11-19T08:25:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ShopwareDev](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@ShopwareDev](https://forum.shopware.com/u/ShopwareDev)
#### Post date: [19. November 2020 um 08:25 UTC](https://forum.shopware.com/t/saleschannel-is-not-get-assigned/71014/1 "2020-11-19T08:25:09Z")

</div>

Hi. Im trying to add product using /api/v3/product. Problem is salesChannel is not get assigned. There is no such parameter for the end point and i cant find it anywhere in documentation. I tried adding it like this: ‘salesChannels’: [{‘id’: sales\_channel.shopware\_id}], but it’s not works. Can someone help me with this ?

Also does not works with /api/v2/\_action/sync
