User APICustomers

Get Customer list by tenantdeprecated

gethttps://user-api.ancon.io/public/api/v1/Tenants/{tenantId}/Customers
View .mdOpenAPI
Deprecated. Check the description for the replacement and sunset date, and see how deprecation works.

Available filter properties

  • name (string)
  • firstname (string)
  • lastname (string)
  • created (datetime)
  • email (string)
  • firstorder (datetime)
  • lastorder (datetime)
  • totalonlineorders (int)
  • totalposorders (int)
  • totalspent (decimal)
  • outletid (guid)
  • tenantid (guid)
  • ordersonoutlets (guid)
  • salesourceid (nullable guid)

Authorization

  • Access-Tokenheaderrequired

    Tenant- or outlet-level token from the backoffice. See Get started.

Path parameters

  • tenantIdstring (uuid)required

Query parameters

  • Offsetinteger (int32)
  • Limitinteger (int32)

    min 0, max 1000.

  • Orderstring
  • Searchstring
  • Filtermap<string, array<string>>

Header parameters

  • correlationIdstring

    Correlation Id for the request

Responses

200OKapplication/json
  • itemsarray<object> | null
    14 fields in items
    • idstring (uuid)
    • createdstring (date-time)
    • firstNamestring | null
    • lastNamestring | null
    • emailstring | null
    • languageCodestring | null
    • isDeletedboolean
    • isDisabledboolean
    • totalOnlineOrdersinteger (int32)
    • totalPosOrdersinteger (int32)
    • totalSpentobject | null
      2 fields in totalSpent
      • amountnumber (double)
      • currencystring | null
    • firstOrderstring (date-time)
    • lastOrderstring (date-time)
    • saleSourceIdstring (uuid) | null
  • metaobject | null
    2 fields in meta
    • countinteger (int32)
    • offsetinteger (int32)
401Unauthorizedapplication/json
404Not Foundapplication/json
  • messagestring | null
  • errorCodestring (uuid)