internal
Admin - Pricing

Create Promotion Endpoint

Create a new promotion.

post/admin/pricing/promotions

Request

  • Base URL: https://api.companydata.dk (the document declares no server; this is the origin it was published from)
  • URL: https://api.companydata.dk/admin/pricing/promotions
  • Auth: none declared

Request body

promotion_idstring required
namestring required
descriptionstring nullable
applicable_tiersstring[]
discount_type'percentage' | 'fixed_amount'
discount_valueinteger required
stripe_coupon_idstring nullable
starts_atstring date-time required
ends_atstring date-time required
max_usesinteger nullable
promo_codestring nullable
is_activeboolean

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.