Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Coupon__remove Demo Products

Requires a signed-in staff user. Needs the `Coupon` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONcoupon__removeDemoProducts(tenant: String!): Boolean!

Requires a signed-in staff user. Needs the Coupon delete permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

tenant*String!

Returns

coupon__removeDemoProducts*Boolean!
Example Request
mutation Coupon__removeDemoProducts($tenant: String!) {  coupon__removeDemoProducts(tenant: $tenant)}
Variables
{  "tenant": "string"}
Example Response
{  "data": {    "coupon__removeDemoProducts": true  }}