shop.product.search

Returns the list of products matching the specified search criteria.

Parameters

  • hash GET

    Search condition hash.

  • offset GET Optional

    Position from which the resulting product list should begin. Non-negative values are accepted. If not specified, 0 is used by default (i.e. begin the list with the first found product).

  • limit GET Optional

    Maximum number of products which should be returned. Acceptable value range is from 0 to 1000. If not specified, 100 is used by default.

  • access_token GET

    API auth token obtained during the API authorization.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Sample call

https://demo1.webasyst.com/api.php/shop.product.search?

Error codes

  • invalid_request

    Invalid formed request. Additional information about the error is available in error_description parameter.

  • access_denied

    Access to the specified API method for the current token is denied.

  • invalid_method

    Unknown API method.