Retrieve all Bundle Offers
GET
v1/managers/store/discounts/bundle-offersThis endpoint retrieves all available bundle offers for the store. Bundle offers are special promotions where customers can get a discount if they buy a specific bundle of products.
Request
A code to filter the bundle offers. Example: bundle_offer
.
A date to filter the bundle offers by their start dates. Supports standard comparison operators like >=
.
A date to filter the bundle offers by their end dates.
A field to order the bundle offers by. Example: start_date
.
A sort direction. Example: desc
.
The page number for pagination.
The number of results per page.
A term to search the bundle offers by their names.
The status of the bundle offers. The possible values are: expired
, disabled
, unstarted
, active
.
The type of bundle offer.
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Preferred language for the response. Defaults to en
if not specified.
The currency in which the data should be returned. This should be provided as an ISO 4217 currency code. For example, SAR for Saudi Riyal, USD for United States Dollar, KWD for Kuwaiti Dinar, etc.
Request samples
Responses
Response status
Array of the store's bundle discount rules
Unique identifier of the discount rule
The discount code the Customer inserts on the checkout page in order to activate the bundle offer.
Conditions required to activate the discount rule
Actions taken once conditions of the discount rule are met
Criteria to meet for the conditions to apply (e.g., "all", "any")
Total number of uses allowed for this discount rule.
Total number of uses allowed per customer for this discount rule.
Activation Status of the discount rule, whether it's enabled or not
Whether the discount rule is automatically added to the cart. If true
, the discount rule will be automatically applied to the basket if its conditions are met.
Current status code of the discount rule.
Start date of the discount rule
End date of the discount rule
Additional metadata for the discount rule
The current page of the pagination result
The next page of the pagination result. null
if there is no next page.
The last page of the pagination result
The total number of results
Message with status information