Skip to main content

Get Rule Promotions

GET 

https://useast.api.elasticpath.com/v2/rule-promotions

Retrieves a list of rule-based promotions, including information such as discount type, eligibility criteria, and configuration details. This endpoint supports filtering to refine results based on specific promotion attributes.

Use query parameters to filter promotions by:

  • Code – Retrieve a specific promotion by its code.
  • Promotion name – Search for promotions by name.
  • Activation status – Filter by whether a promotion is active or not.
  • Stackability – Identify promotions that can or cannot be combined with others.
  • Start and end dates – Retrieve promotions based on their validity periods.

Request

Responses

OK

Authorization: http

name: BearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://useast.api.elasticpath.com/v2/rule-promotions");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
Parameters
— headerrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!