Schema Documentation
deleteProduct
Description
The deleteProduct mutation
Response
Returns a DeleteProductPayload
Arguments
| Name | Description |
|---|---|
input - DeleteProductInput! | Input for the deleteProduct mutation |
Example
Query
mutation deleteProduct($input: DeleteProductInput!){ deleteProduct(input: $input){ product { ...ProductFragment }clientMutationIddeletedId }}Variables
{"input":DeleteProductInput}Response
{"data":{"deleteProduct":{"product":Product,"clientMutationId":"xyz789","deletedId":4}}}