EPTSDK.Customer (ept_sdk v8.0.1)
Summary
Functions
Creates an new %EPTSDK.Customer{}} with attributes: and relationships:.
Fetches all %EPTSDK.Customer{}.
Fetches a %EPTSDK.Customer{} by record or by id.
Updates an existing %EPTSDK.Customer with attributes: and relationships:.
Functions
Creates an new %EPTSDK.Customer{}} with attributes: and relationships:.
The options argument can also have:
fields:, a map of filds to return for each resource type i.e.fields: %{customers: ["id"]}include:, a list of relationship chains for the response to return i.e.include: ["customers.merchant"]
Fetches all %EPTSDK.Customer{}.
The options argument can be:
fields, a map of filds to return for each resource type i.e.fields: %{customers: ["id"]}include, a list of relationship chains for the response to return i.e.include: ["customers.merchant"]sort, ... i.e.sort: ["-name"]filter, ... i.e.fields: %{name: "John"}
Fetches a %EPTSDK.Customer{} by record or by id.
The options argument can be:
fields, a map of filds to return for each resource type i.e.fields: %{customers: ["id"]}include, a list of relationship chains for the response to return i.e.include: ["customers.merchant"]
Updates an existing %EPTSDK.Customer with attributes: and relationships:.
The options argument can also have:
fields:, a map of filds to return for each resource type i.e.fields: %{customers: ["id"]}include:, a list of relationship chains for the response to return i.e.include: ["customers.merchant"]