vendor_remove_product

Arguments

ArgumentTypeRequiredDefaultDescription
dataRemoveProductFromVendorInput!Yes

Return Type

MutationOutput

Mutation

mutation vendor_remove_product(
  $data: RemoveProductFromVendorInput!
) {
  vendor_remove_product(
    data: $data
  ) {
    request_id
    complexity
  }
}

Variables

{
  "data": {
    "customer_account_id": "abc123",
    "vendor_id": "abc123",
    "sku": "abc123"
  }
}

Response

{
  "data": {
    "vendor_remove_product": {
      "request_id": "abc123",
      "complexity": 987
    }
  }
}