Skip to main content

Get a Promotion History

GET 

/v2/promotions/:promotionID/history

Use this endpoint to retrieve a promotion history.

Request

Path Parameters

    promotionID stringrequired

    The ID of the promotion.

Header Parameters

    Authorization Bearerrequired

    The Bearer token required to get access to the API.

Responses

Response Headers
    Schema
      data undefined[]
      links object
      current string

      Always the current page.

      first string

      Always the first page.

      last string

      If there is only one page, it returns null.

      next string

      If there is only one page, it returns null.

      prev string

      If the user is on the first page, it returns null.

      meta object
      page object
      current integer

      The current page.

      limit integer

      The maximum number of records per page for this response. You can set this value up to 100.

      offset integer

      The current offset by number of records, not pages. Offset is zero-based.

      total integer

      The total page count.

      results object
      total integer

      The total number of results.

    Loading...