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": "QWNjb3VudDoxMjM0",
    "vendor_id": "VmVuZG9yOjEyMzQ=",
    "sku": "BLUE-TEE-M"
  }
}

Response

{
  "data": {
    "vendor_remove_product": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100
    }
  }
}