Skip to main content

CreateProductPayload

No description

type CreateProductPayload {
product: Product
errors: [PayloadError!]
clientIdFound: Boolean
}

Fields​

CreateProductPayload.product ● Product object​

CreateProductPayload.errors ● [PayloadError!] list object​

CreateProductPayload.clientIdFound ● Boolean scalar​

If true, a product with the same client ID has been found and input was ignored. If false, a new product has been created with the client ID.

Returned by​

createProduct mutation