Skip to main content

Gets all authorized catalog rules

GET 

https://euwest.api.elasticpath.com/catalogs/rules

Retrieves all authorized catalog rules.

Filtering

This endpoint supports filtering. For general filtering syntax, see Filtering. The following operators and attributes are supported.

OperatorDescriptionSupported AttributesExample
eqEquals. Checks if the values of two operands are equal. If they are, the condition is true.id,catalog_id,account_ids,customer_ids,channels,tagsfilter=eq(id,some-id)
inChecks if the values are included in the specified string. If they are, the condition is true.id,account_ids,customer_ids,channels,tagsfilter=in(account_ids,some-id,another-id)

Request

Responses

The list of catalog rules.

Authorization: Authorization

name: Authorizationtype: httpin: headerscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://euwest.api.elasticpath.com/catalogs/rules");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://euwest.api.elasticpath.com
Auth
Parameters
— query
— query
— query
ResponseClear

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