Brand
Discounts
Create Discount

Create Discount (admin)

Admin endpoint to create and manage discount codes and promotional rules for brands.

Overview

  • Method: POST
  • Path: /brand/discounts/create-discount
  • Tags: brand

Use Cases

  • Allow admins to create new discount codes for campaigns.
  • Configure percentage or fixed-amount discounts with usage limits.
  • Schedule discounts with valid from/until windows.
  • Target discounts to specific products or categories.

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{}

400

Bad Request

Content Type: application/json

{}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  https://api.pillexa.com/brand/discounts/create-discount \
  -H "Content-Type: application/json" \