Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.11 KB

search-loyalty-accounts-request-loyalty-account-query.md

File metadata and controls

45 lines (36 loc) · 1.11 KB

Search Loyalty Accounts Request Loyalty Account Query

The search criteria for the loyalty accounts.

Structure

Search Loyalty Accounts Request Loyalty Account Query

Fields

Name Type Tags Description
mappings List Loyalty Account Mapping Optional The set of mappings to use in the loyalty account search.

This cannot be combined with customer_ids.

Max: 30 mappings
customer_ids List[str] Optional The set of customer IDs to use in the loyalty account search.

This cannot be combined with mappings.

Max: 30 customer IDs

Example (as JSON)

{
  "mappings": [
    {
      "id": "id8",
      "created_at": "created_at6",
      "phone_number": "phone_number4"
    },
    {
      "id": "id8",
      "created_at": "created_at6",
      "phone_number": "phone_number4"
    },
    {
      "id": "id8",
      "created_at": "created_at6",
      "phone_number": "phone_number4"
    }
  ],
  "customer_ids": [
    "customer_ids5",
    "customer_ids4",
    "customer_ids3"
  ]
}