Catalogs
Create Premium Endpoint
Create Premium endpoint allows you to create a new premium by making a POST request. Provide the required information in the request body, such as premium options, owner, name, type, amount, and other relevant details.
POST
/
catalogs
/
premiums
/
Authorizations
Authorization
string
headerrequiredBody
application/json
id
string
options
object[]
category
enum<string>
Available options:
PAYOUT
, TRANSACTION
name
string
requiredtype
enum<string>
Available options:
PER_TRANSACTION
, PER_KG
, PER_UNIT_CURRENCY
, PER_FARMER
amount
number | null
included
boolean
dependant_on_card
boolean
applicable_activity
enum<string>
Available options:
BUY
, SELL
calculation_type
enum<string>
Available options:
NORMAL
, MANUAL
, OPTIONS
is_active
boolean
creator
string
updater
string
owner
string
Response
201 - application/json
id
string
options
object[]
updated_on
string
created_on
string
category
enum<string>
Available options:
PAYOUT
, TRANSACTION
name
string
requiredtype
enum<string>
Available options:
PER_TRANSACTION
, PER_KG
, PER_UNIT_CURRENCY
, PER_FARMER
amount
number | null
included
boolean
dependant_on_card
boolean
applicable_activity
enum<string>
Available options:
BUY
, SELL
calculation_type
enum<string>
Available options:
NORMAL
, MANUAL
, OPTIONS
is_active
boolean
creator
string
updater
string
owner
string