curl --request PATCH \
--url http://staging.qshop.ng/apiv2/62f438e98dbce15ea4dac7e5 \
--header 'Content-Type: application/json' \
--data '
{
"__v": 0,
"amount": 50,
"applyAutomatically": false,
"code": "50% DISCOUNT",
"created": "2022-08-10T23:02:01.737Z",
"description": "50 percent discount on subscriptions",
"expires": null,
"isActive": true,
"starts": "2022-08-10T00:00:00.000Z",
"type": "percentage",
"usableOn": "subscription",
"usageCount": 0
}
'