queryLoyaltyImports( )


開発者プレビュー

このAPIは変更される可能性があります。プレビュー期間中、開発者からのフィードバックに基づいてバグ修正や新機能がリリースされる予定です。

Creates a query to retrieve a list of loyalty imports.

について queryLoyaltyImports() function builds a query to retrieve a list of imports and returns a LoyaltyImportsQueryBuilder オブジェクトがある。

The returned object contains the query definition, which is typically used to run the query using the find() 関数である。

You can refine the query by chaining LoyaltyImportsQueryBuilder functions onto the query. LoyaltyImportsQueryBuilder functions enable you to sort, filter, and control the results queryLoyaltyImports() returns.

queryLoyaltyImports() runs with these LoyaltyImportsQueryBuilder defaults, which you can override:

  • limit(50)
  • descending("_createdDate")

The functions that are chained to queryLoyaltyImports() are applied in the order they're called. For example, if you apply ascending('status') and then descending('_createdDate'), the results are sorted first by the status, and then, if there are multiple results with the same status, the items are sorted by the created date.

PROPERTYSUPPORTED FILTERS & SORTING
_createdDateeq(),ne(),存在する(),in(),hasSome(),lt(),ル(),gt(),ge(),昇順(),降順()
_updatedDateeq(),ne(),存在する(),in(),hasSome(),lt(),ル(),gt(),ge(),昇順(),降順()
statuseq(),ne(),存在する(),in(),hasSome(),昇順(),降順()
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Loyalty
Learn more about app permissions.
メソッド宣言
コピー
リクエスト
このメソッドはパラメータを取らない
リターン
役に立ちましたか?
はい
いいえ