Promotions

Generate n number for promotion coupon codes. The codes will be only for single usage

get/api/Promotions/GenerateSingleUsagePromotionCoupons/{id}

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/Promotions/GenerateSingleUsagePromotionCoupons/{id}
  • Auth: API key in header Authorization

Path parameters

idstring nullable required

Promotion id

Query parameters

numberOfCouponsToGenerateinteger required

Number of coupon codes to generate. Max is 1000

couponCharLengthinteger

Optional: Length (number of characters) of the generate coupon code. Default and max length is 32

Response

Success

string[] required

Changes

No recorded changes to this operation across all 1 revision of this API.