# Return all bonus campaigns

Methods that returns all current bonus campaigns. 

The id parameters is optional and can be used to return
all campaigns for a specific member.

The return object is dynamic and can vary between clients, the example below shows the most common types of fields.

Endpoint: GET /loyalty/bonus/campaigns/{id}
Version: 4.3.2
Security: api_key

## Path parameters:

  - `id` (string)
    Id of member

## Response 200 fields (application/json):

  - `id` (string)
    Id of campaign
    Example: "5"

  - `campaignName` (string)
    Display name of campign
    Example: "Double bonus on 5 for 300 (covering bark 40 liter)"

  - `campaignType` (string)
    Campaign type identificator
    Example: "F"

  - `rewardType` (string)
    Type of reward. 'double' = double bonus
    Example: "double"

  - `points` (integer)
    Points rewarded by purchasing a product included in this campaign. Depending on rewardType, this value is not always set.

  - `campaignImageUrl` (string)
    URL to an image representing the campaign
    Example: "https://cdn.oculos.no/images/test.png"

  - `validFrom` (string)
    The campaign is valid from
    Example: "2022-05-29T00:00:00"

  - `validTo` (string)
    The campaign is valid to
    Example: "2022-06-29T00:00:00"

  - `products` (array)
    List of products included in campaign

  - `products.id` (string)
    ProductId included in campaign
    Example: "AA-123456789"


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields
