Basket Offers
User-specific basket offers (active, past, upcoming)
Lists the user's active basket offers.
Business Logic:
Returns offers whose date range is currently active (
start_datetime <= now <= end_datetime)User-specific assigned offers only
Offers valid for the active session currency
Includes FIXED, PERCENTAGE, SHIPPING_FREE benefit types
Returned Data:
total_discount: Sum of amounts for FIXED benefit type offersdiscounts: Only FIXED benefit type offersall_discounts: All offer types (FIXED, PERCENTAGE, SHIPPING_FREE)
Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Language preference (for multilingual content). Supported languages: tr, en, ar, ru, de, fr
trExample: trPossible values: Successful response
Authentication credentials were not provided.
Lists the user's expired basket offers (past promotions).
Business Logic:
Offers satisfying
end_datetime < nowUser-specific assignments
Valid for the active session currency
Page number (starts from 1)
1Example: 1Number of records per page
10Example: 10Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Language preference (for multilingual content). Supported languages: tr, en, ar, ru, de, fr
trExample: trPossible values: Successful response
Authentication credentials were not provided.
Lists the user's future basket offers (scheduled promotions not yet started).
Business Logic:
Offers satisfying
start_datetime > nowUser-specific assignments
Valid for the active session currency
Supports pagination
Notes:
These offers cannot yet be applied to the basket
Informational only
Sorting by ascending start date (
start_datetime ASC) is recommended
Page number (starts from 1)
1Example: 1Number of records per page
10Example: 10Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.
osessionid=abc123Language preference (for multilingual content). Supported languages: tr, en, ar, ru, de, fr
trExample: trPossible values: Successful response
Authentication credentials were not provided.
Last updated
Was this helpful?

