Last updated

Promotion Business Logic

With the Management API, it is possible to manage promotions and their business rules programmatically. This allows you to:

  1. Create, read, and update promotions — requirements, effects, and status — from an integration instead of only the Admin UI.
  2. Copy an existing promotion to other applications, converting currency to each target application's primary currency.
  3. Generate, list, and synchronise unique discount codes between Norce and external systems, and claim codes as they're used elsewhere.
  4. Read promotion usage statistics (total order amount, total discount, discount percentage, margin percentage) for reporting.

Endpoints

OperationEndpoint
List promotionsGET /management/1.0/api/promotion
Get promotionGET /management/1.0/api/promotion/{id}
Create promotionPOST /management/1.0/api/promotion
Update promotionPUT /management/1.0/api/promotion/{id}
Copy promotion to other applicationsPOST /management/1.0/api/promotion/{id}/copy-to-applications
Get promotion statisticsGET /management/1.0/api/promotion/{id}/statistics
List unique discount codesGET /management/1.0/api/promotion/{id}/unique-codes
Add unique discount codesPOST /management/1.0/api/promotion/{id}/unique-codes
Update/claim unique discount codesPUT /management/1.0/api/promotion/{id}/unique-codes

Unique discount codes: Use PUT .../unique-codes to mark codes as claimed (with a source) when an external system has used them — for example, if a loyalty platform issues one-time codes that Norce should recognize as already spent. Use POST .../unique-codes to append newly generated codes to an existing promotion.

To create or update a promotion, see Creating promotions for the requirement/effect model the PromotionModel request body maps to.

Check out our Postman examples to get started.