GET
/
v1
/
promotions
/
{id}
curl --request GET \
  --url https://api.onsleek.io/v1/promotions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "ce0839f8-b522-41a4-9c09-5f3e510fb2d9",
  "description": "Free shipping on all orders over $50.",
  "startDate": "2024-01-01T00:00:00",
  "endDate": "2024-12-31T23:59:59",
  "deepLink": "https://www.bestbuy.com/promotion",
  "retailerId": "4f9df53d-16dc-4630-8603-8d14ec40fcfe",
  "name": "BestBuy",
  "url": "https://www.bestbuy.com",
  "logo": "https://www.bestbuy.com/logo.png"
}

Authorizations

Authorization
string
header
required

Public Sleek API token.

Path Parameters

id
string
required

The ID of the promotion to fetch.

Response

200 - application/json
Default Response
id
string
required

The unique identifier for the promotion. Format: UUID RFC 4122

description
string
required

The description of the promotion.

startDate
string
required

The date and time when the promotion becomes active. Format: ISO 8601

endDate
string
required

The date and time when the promotion expires. Format: ISO 8601

The deep link URL for the promotion.

retailerId
string
required

The ID of the retailer associated with the promotion offer. Format: UUID RFC 4122

name
string
required

The name of the retailer associated with the promotion.

url
string
required

The URL of the retailer's website where the promotion can be used.

The URL of the retailer's logo associated with the promotion.