curl --request PATCH \
--url http://staging.qshop.ng/apiv2/{shopId}/coupons/63cd407efc76bc30f6cfb3ce \
--header 'Content-Type: application/json' \
--data '
{
"usageLimit": {
"canUseWithOtherCoupons": false,
"maxNumberOfUses": 4,
"maxNumberOfUsesPerUser": null,
"useIfNumberOfOrders": {
"condition": "==",
"count": null
}
}
}
'curl --request PATCH \
--url http://staging.qshop.ng/apiv2/{shopId}/coupons/63cd407efc76bc30f6cfb3ce \
--header 'Content-Type: application/json' \
--data '
{
"usageLimit": {
"canUseWithOtherCoupons": false,
"maxNumberOfUses": 4,
"maxNumberOfUsesPerUser": null,
"useIfNumberOfOrders": {
"condition": "==",
"count": null
}
}
}
'Show child attributes
Was this page helpful?