Gets all Prices
GEThttps://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.
Operator | Attribute | Description | Example |
---|---|---|---|
eq | external_ref , sku , id | Equals. Checks if the values of two operands are equal. If they are, the condition is true. | filter=eq(sku,some-sku) |
in | external_ref , sku , id | In. Checks if the values are included in the specified list. If they are, the condition is true. | filter=in(sku,some-sku) |
like | external_ref , sku | Like. Checks if the operand contains the specified string. Wildcards are supported. | filter=like(sku,some-sku) |
gt | updated_at , created_at | Greater 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) |
lt | updated_at , created_at | Less 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
- 200
- default
The price list.
Unexpected error
Authorization: Authorization
name: Authorizationtype: httpin: headerscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
ResponseClear