Hello Shiphero community,
I get an Unexpected Error
when I send a product_delete
mutation or a warehouse_product_delete
mutation. Is it possible that I am missing rights to delete products and warehouse_products ?
Thank you for your time.
product_delete mutation:
mutation { product_delete( data: { sku: "CHAIR12345" } ) { request_id complexity } }
Response:
{ "errors": [ { "message": "Unexpected Error", "operation": "product_delete", "field": "product_delete", "request_id": "5e16d6617564e0367005c71c", "code": 22 } ], "data": { "product_delete": null } }
warehouse_product_delete mutation:
mutation { warehouse_product_delete( data: { sku: "CHAIR12345", warehouse_id: "V2FyZWhvdXNlOjExMjg4" } ) { request_id complexity } }
Response:
{ "errors": [ { "message": "Unexpected Error", "operation": "warehouse_product_delete", "field": "warehouse_product_delete", "request_id": "5e16d8750d04ade72e2a0815", "code": 22 } ], "data": { "warehouse_product_delete": null } }