Discounts
قائمة الخصومات
استرجاع قائمة بجميع الخصومات المرتبطة بحسابك.
GET
JavaScript
التفويضات
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
معلمات الاستعلام
Page size (default = 10, max = 100).
النطاق المطلوب:
x >= 0Page number (default = 0).
النطاق المطلوب:
x >= 0Filter by discount code (partial match, case-insensitive)
Filter by discount type
الخيارات المتاحة:
percentage Filter by active status (true = not expired, false = expired)
Filter by product restriction (only discounts that apply to this product)
الاستجابة
List of active Discounts
Array of active (non-deleted) discounts for the current page.
Last modified on January 28, 2026
JavaScript