Shopify Get

Shopify Get

Certified

Fetch Shopify customer by ID

Retrieves a customer through the Shopify Admin API using the store domain and access token. Throws an error if the ID is not found.

yaml
type: io.kestra.plugin.shopify.customers.Get

Get customer by ID

yaml
id: shopify_get_customer
namespace: company.team

tasks:
  - id: get_customer
    type: io.kestra.plugin.shopify.customers.Get
    storeDomain: my-store.myshopify.com
    accessToken: "{{ secret('SHOPIFY_ACCESS_TOKEN') }}"
    customerId: 12345
Properties

Admin API access token

Private app Admin API access token sent as X-Shopify-Access-Token

Customer ID

Shopify customer ID to retrieve

Shopify store domain

Store domain used for Admin API calls (e.g., my-store.myshopify.com)

Default2024-10

API version

Shopify Admin API version path segment; defaults to 2024-10

Reference (ref) of the pluginDefaults to apply to this task.

DefaultPT0.5S

Rate limit delay

Sleep between API calls to respect Shopify rate limits; default 500ms

Retrieved customer

Customer object returned by Shopify

Definitions
accepts_marketingboolean
accepts_marketing_updated_atstring
Formatdate-time
addressesarray
address1string
address2string
citystring
companystring
countrystring
country_codestring
country_namestring
customer_idinteger
defaultboolean
first_namestring
idinteger
last_namestring
namestring
phonestring
provincestring
province_codestring
zipstring
admin_graphql_api_idstring
created_atstring
Formatdate-time
currencystring
default_address
address1string
address2string
citystring
companystring
countrystring
country_codestring
country_namestring
customer_idinteger
defaultboolean
first_namestring
idinteger
last_namestring
namestring
phonestring
provincestring
province_codestring
zipstring
emailstring
first_namestring
idinteger
last_namestring
last_order_idinteger
last_order_namestring
marketing_opt_in_levelstring
metafieldsobject
multipass_identifierstring
notestring
orders_countinteger
phonestring
statestring
tagsstring
tax_exemptboolean
tax_exemptionsarray
SubTypestring
total_spentstring
updated_atstring
Formatdate-time
verified_emailboolean