internal
Admin - Pricing

Update Promotion Endpoint

Update a promotion.

patch/admin/pricing/promotions/{promotion_id}

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/{promotion_id}
  • Auth: none declared

Path parameters

promotion_idstring required

Request body

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

Response

Successful Response

Changes

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