# Vendor\_remove\_product not working

**URL:** <https://community.shiphero.com/t/vendor-remove-product-not-working/780>\
**Category:** GraphQL API\
**Created:** [September 10, 2020, 12:15pm UTC](https://community.shiphero.com/t/vendor-remove-product-not-working/780 "2020-09-10T12:15:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Webtimisten](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/webtimisten/32/35_2.png) [@Webtimisten](https://community.shiphero.com/u/Webtimisten)\
**Post date:** [September 10, 2020, 12:15pm UTC](https://community.shiphero.com/t/vendor-remove-product-not-working/780/1 "2020-09-10T12:15:48Z")

</div>

We’re both adding and removing products to a vendor. Using vendor\_add\_product works fine, but vendor\_remove\_product isn’t working.

I have tried with both the 3PL API user and the customers API user, and I’m getting these responses:

```
{
  "errors": [
    {
      "message": "Account not found",
      "operation": "vendor_remove_product",
      "field": "vendor_remove_product",
      "request_id": "5f5a17a0019a0dd077e8093e",
      "code": 5
    }
  ],
  "data": {
    "vendor_remove_product": null
  }
}

{
  "errors": [
    {
      "message": "Cannot access the requested account. Permission denied",
      "operation": "vendor_remove_product",
      "field": "vendor_remove_product",
      "request_id": "5f5a17f4fef035c167b2257e",
      "code": 7
    }
  ],
  "data": {
    "vendor_remove_product": null
  }
}
```

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [September 10, 2020, 5:48pm UTC](https://community.shiphero.com/t/vendor-remove-product-not-working/780/2 "2020-09-10T17:48:12Z")

</div>

Hi @Webtimisten!  
It seems like you are including the `customer_account_id` field on the Mutation, but the Bearer is already from that `customer_account_id`, so no need to include that field.  
Let me know if this doesn’t work either.  
Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![Webtimisten](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/webtimisten/32/35_2.png) [@Webtimisten](https://community.shiphero.com/u/Webtimisten)\
**Post date:** [September 10, 2020, 7:01pm UTC](https://community.shiphero.com/t/vendor-remove-product-not-working/780/3 "2020-09-10T19:01:39Z")

</div>

Thanks, Tom! It worked.
