Closed vannguyenn closed 1 year ago
@vannguyenn I'm getting the following error when trying to create a coupon:
mutation.js:106 Error: canUseInStore is not allowed by the schema: {"response":{"errors":[{"message":"canUseInStore
is not allowed by the schema","locations":[{"line":3,"column":3}],"path":["createPromotion"],"extensions":
{"code":"BAD_USER_INPUT","exception":{"errorType":"ClientError","name":"ClientError","error":"validation-error",
"details":[{"name":"canUseInStore","type":"keyNotInSchema","value":false,"message":"canUseInStore
is not allowed by the schema"}],"stacktrace":["ClientError: canUseInStore is not allowed by the schema"
Am i on a wrong branch of the API or something?
I'm using the latest from feat/promotions
@tedraykov yes, this PR is not ready for review yet. I'm waiting for some changes from the API
Move to blocked while waiting for API changes from Brian
@vannguyenn can you clarify what changes you are waiting for and that you are working against the coupons branch?
@zenweasel I just integrated this PR with the delete coupon API. Please help to review the missing cases when you have time. Thanks
Issue with deletion of coupon triggers resolved
Resolves #142, #145, #144, #146
Testing Instructions:
feat/coupons
on API for testingCoupon is used (Standard)
option