List basket offers
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by label, case-insensitive partial match.
Filter by exact priority value.
Filter by storefront visibility flag.
Filter by the data-source availability flag.
Filter by the identifier of the user the offer is assigned to.
When true, returns only offers without an assigned user; when false, only offers assigned to a user.
Free-text user search. Matches offers whose user's first name or last name contains the given value, or whose email equals it exactly.
Filter by exact voucher code. The lookups voucher_code__contains, voucher_code__startswith, and voucher_code__endswith are also available for partial matching.
When true, returns only offers without a voucher code; when false, only offers that have one.
Filter by exact campaign start date-time. The lookups start_datetime__gt, start_datetime__gte, start_datetime__lt, and start_datetime__lte are also available for range filtering.
Filter by exact campaign end date-time. The lookups end_datetime__gt, end_datetime__gte, end_datetime__lt, and end_datetime__lte are also available for range filtering.
Filter for offers modified on or after the given date-time. The lookups modified_date__gt, modified_date__lt, and modified_date__lte are also available.
Filter by the identifier of the nested promotion.
Filter by the identifier of the nested condition.
Filter by the identifier of the nested benefit.
A page of basket offers.
A page of basket offer results.
The total number of basket offers matching the query.
The URL of the next page of results, when available.
The URL of the previous page of results, when available.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
GET /api/remote/1/basket_offers/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"label": null,
"promotion": {
"pk": 1,
"name": "text",
"slug": "text"
},
"condition": {
"pk": 1,
"condition_type": "distinct",
"product_collection": null,
"upsell_message": "text",
"kwargs": {}
},
"benefit": {
"pk": 1,
"benefit_type": "multibuy",
"product_collection": null,
"kwargs": {}
},
"status": "active",
"offer_type": "sitewide",
"voucher_code": null,
"user": null,
"is_visible": true,
"is_visible_on_list": false,
"start_datetime": null,
"end_datetime": null,
"priority": 0,
"is_mergable": true,
"allowed_quantity_per_basket": 1,
"max_usage_per_user": 0,
"max_stock_limit": null,
"currencies": [
"try"
],
"is_available_for_data_sources": false,
"kwargs": null,
"start_timedelta": null,
"end_timedelta": null,
"activation_timedelta": null,
"activation_date": null,
"bulk_coupon_file": "text",
"bulk_email_file": null,
"bulk_phone_number_file": null,
"pk": 1,
"modified_date": "2026-01-01T00:00:00.000Z",
"remaining_stock_limit": 1
}
]
}Last updated
Was this helpful?

