Skip to main content

Gets all Prices

GET 

https://euwest.api.elasticpath.com/pcm/pricebooks/prices

Allows you to retrieve all prices for a product, irrespective of the different price books that include that product's price. For example, you can filter for all prices for a specified sku, or filter for all prices changed before or after a given date. This will retrieve prices from all price books.

Filtering

This endpoint supports filtering. For general syntax, see Filtering.

OperatorAttributeDescriptionExample
eqexternal_ref, sku, idEquals. Checks if the values of two operands are equal. If they are, the condition is true.filter=eq(sku,some-sku)
inexternal_ref, sku, idIn. Checks if the values are included in the specified list. If they are, the condition is true.filter=in(sku,some-sku)
likeexternal_ref, skuLike. Checks if the operand contains the specified string. Wildcards are supported.filter=like(sku,some-sku)
gtupdated_at, created_atGreater than. Checks if the value on the left of the operator is greater than the value on the right. If it is, the condition is true.filter=gt(updated_at,2018-04-16T10:11:59.715Z)
ltupdated_at, created_atLess than. Checks if the value on the left of the operator is less than the value on the right. If it is, the condition is true.filter=lt(updated_at,2018-04-16T10:11:59.715Z)

Request

Responses

The price list.

Authorization: Authorization

name: Authorizationtype: httpin: headerscheme: bearer

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!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.