This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
REST: POST /V1/coupons/generate #766
Closed
Description
I am trying to generate a coupon using the below payload:
{
"couponSpec": {
"rule_id": 1,
"format": "",
"quantity": 0,
"length": 0
}
}
I get this error:
message - One or more input exceptions have occurred.
I am not sure what the "format" value be in the JSON. It could be "text", "number", etc. Could you please help me with this?
Metadata
Metadata
Assignees
Labels
No labels