Skip to main content
POST
cURL

Path Parameters

businessId
string
required

Body

name
string | null
amount
object
percentage
number<double> | null
type
enum<string>
Available options:
PERCENTAGE,
AMOUNT
isActive
boolean

Response

OK

id
integer<int64>
name
string | null
type
enum<string>
Available options:
PERCENTAGE,
AMOUNT
amount
object
percentage
number<double> | null
createdAt
string<date-time>
updatedAt
string<date-time> | null