Campaigns Configurations
Changed onThe API retrieves your reward campaign configurations, including both event-based and transactional campaigns. If the customerId, productSku, or collectionId query parameters are provided, the response will include the reward campaigns that are applicable for the specified customer or product.
Request
- Base URL: https://api.gameball.co
- URL: https://api.gameball.co/api/v4.0/integrations/configurations/reward-campaigns
- Auth: API key in header apikey
Query parameters
Unique identifier for the customer that you can reference across the customer's whole lifetime. Could be a database ID, random string, email, or anything that uniquely identifies the customer. If provided, the API filters and returns only the campaigns that can be achieved by this customer.
Unique identifier for a product collection. If provided, the API returns the transactional campaigns applicable to the specified collection.
The SKU (Stock Keeping Unit) of a product. If provided, the API returns the transactional campaigns applicable to the specified product.
Headers
If the lang header is provided, the response will be returned in the specified language (e.g., en for English, fr for French). If this header is not included, the system will use the default language.
Response
Campaigns retrieved successfully
Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status
- info
- breaking
the response's body type changed from
objecttoarrayfor status - warning
removed the optional property
from the response with the status - info
api operation id
getCampaignsConfigurationswas added - info
added the new optional
headerrequest parameterlang - info
added the new optional
queryrequest parametercollectionId - info
added the new optional
queryrequest parametercustomerId - info
added the new optional
queryrequest parameterproductSku
- breaking