Update Coupon
Coupon will update on which tenant user has access to. Requires a signed-in staff user. Needs the `Coupon` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
updateCoupon(input: UpdateCouponInput!, where: CommonFindDocumentDto!): Boolean!Coupon will update on which tenant user has access to. Requires a signed-in staff user. Needs the Coupon update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*where*Returns
updateCoupon*Boolean!mutation UpdateCoupon($input: UpdateCouponInput!, $where: CommonFindDocumentDto!) { updateCoupon(input: $input, where: $where)}{ "input": { "applicableForMinimumExpense": 10.5, "code": "string" }, "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "updateCoupon": true }}Update Blog Category MUTATION
Blog category will update on which tenant user has access to. Requires a signed-in staff user. Needs the `Blogs` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Update Page MUTATION
Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the `Pages` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).