Core GraphQL APIReferenceMutations
Coupon__load Demo Coupon
Requires a signed-in staff user. Needs the `Coupon` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
coupon__loadDemoCoupon(amount: Float!, tenant: String!): Boolean!Requires a signed-in staff user. Needs the Coupon create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
amount*Float!tenant*String!Returns
coupon__loadDemoCoupon*Boolean!Example Request
mutation Coupon__loadDemoCoupon($amount: Float!, $tenant: String!) { coupon__loadDemoCoupon(amount: $amount, tenant: $tenant)}{ "amount": 10.5, "tenant": "string"}{ "data": { "coupon__loadDemoCoupon": true }}Billing__pay Invoice MUTATION
Reopen hosted checkout for an existing pending invoice without creating a new invoice. Requires a signed-in staff user. Needs the `billing__Checkout` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Coupon__remove Demo Products MUTATION
Requires a signed-in staff user. Needs the `Coupon` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).