GET /admin/api/{api_version}/price_rules.json

Retrieves a list of price rules. Note: As of version 2019-10, this endpoint implements pagination by using links that are provided in the response header. Sending the page parameter will return an error. To learn more, see Making requests to paginated REST Admin API endpoints.

Servers

Path parameters

Name Type Required Description
api_version String Yes

Request headers

Name Type Required Description
x-shopify-access-token String No

Query parameters

Name Type Required Description
updated_at_min String No

Show price rules last updated after date (format 2017-03-25T16:15:47-04:00).

limit String No

The maximum number of results to retrieve.(default: 50)(maximum: 250)

ends_at_min String No

Show price rules ending after date (format 2017-03-25T16:15:47-04:00).

ends_at_max String No

Show price rules ending before date (format 2017-03-25T16:15:47-04:00).

times_used String No

Show price rules with times used.

since_id String No

Restrict results to after the specified ID.

created_at_max String No

Show price rules created before date (format 2017-03-25T16:15:47-04:00).

starts_at_min String No

Show price rules starting after date (format 2017-03-25T16:15:47-04:00).

starts_at_max String No

Show price rules starting before date (format 2017-03-25T16:15:47-04:00).

created_at_min String No

Show price rules created after date (format 2017-03-25T16:15:47-04:00).

updated_at_max String No

Show price rules last updated before date (format 2017-03-25T16:15:47-04:00).

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.