Skip to main content
POST
Create shop coupon Copy

Body

application/json
_id
string
Example:

"63d90762691c5a2faaa91c76"

amount
number
Example:

5000

applyAutomatically
boolean
Example:

false

applyOn
string
Example:

"total"

code
string
Example:

"947PG8G"

code_type
string
Example:

"flat"

created
string
Example:

"2023-01-31T12:19:46.767Z"

description
string
Example:

""

expires
string
Example:

"2023-02-03T23:00:00.000Z"

isActive
boolean
Example:

true

isPublic
boolean
Example:

false

max_order
unknown
mediaType
unknown
min_order
number
Example:

0

shop
string
Example:

"62dec73d93a7452ccf49ea2f"

starts
string
Example:

"2023-01-31T12:19:24.552Z"

usageCount
number
Example:

0

usageLimit
object
usageRestriction
object

Response

200 - undefined