Parametry

Nazwa parametru Opis
organization_id
wymagany

Filter products by organization

Validations:

  • Must be a number.

subscription_id
opcjonalny

Filter products by subscription

Validations:

  • Must be a number.

name
opcjonalny

Filter products by name

Validations:

  • String

enabled
opcjonalny

Filter products by enabled or disabled

Validations:

  • Must be one of: true, false, 1, 0

custom
opcjonalny

Filter products by custom

Validations:

  • Must be one of: true, false, 1, 0

include_available_content
opcjonalny

Whether to include available content attribute in results

Validations:

  • Must be one of: true, false, 1, 0

sync_plan_id
opcjonalny

Filter products by sync plan id

Validations:

  • Must be a number.

available_for
opcjonalny

Interpret specified object to return only Products that can be associated with specified object. Only 'sync_plan' is supported.

Validations:

  • String

search
opcjonalny

Search string

Validations:

  • String

page
opcjonalny

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • Must be a number.

order
opcjonalny

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
opcjonalny

Whether or not to show all results

Validations:

  • Must be one of: true, false, 1, 0

sort
opcjonalny

Hash version of 'order' param

Validations:

  • Hash

sort[by]
opcjonalny

Field to sort the results on

Validations:

  • String

sort[order]
opcjonalny

How to order the sorted results (e.g. ASC for ascending)

Validations:

  • String