Skip to main content
GET
/
api
/
dashboard
/
discount-codes
List Discount Codes
curl --request GET \
  --url https://api.example.com/api/dashboard/discount-codes
{
  "discount_codes": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "code": "<string>",
      "description": "<string>",
      "kind": "<string>",
      "value": "<string>",
      "currency": "<string>",
      "min_order_amount": "<string>",
      "max_uses_total": 123,
      "max_uses_per_customer": 123,
      "starts_at": "2023-11-07T05:31:56Z",
      "ends_at": "2023-11-07T05:31:56Z",
      "revoked_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Response

Successful Response

discount_codes
DiscountCodeResponse · object[]
required