Shopify Create Customer With Address GraphQL

This action creates a Shopify customer with a default shipping address using the Admin GraphQL API.


Inputs

NameTypeDescription
Access TokenSensitiveStringShopify Admin API token.
Shopify DomainStringShopify store subdomain (e.g., my-shop).
Customer EmailStringEmail address of the customer
First NameOptional StringFirst name of the customer
Last NameOptional StringLast name of the customer
Shipping AddressOptional ObjectCustomer's default shipping address object.

Shipping Address Field Format:

{
  "address1": "123 Main St",
  "city": "Montreal",
  "province": "QC",
  "country": "Canada",
  "zip": "H2Y 1H2"
}

Outputs

NameTypeDescription
SuccessBooleanIndicates if the operation was successful
Customer IDStringID of the newly created customer
CustomerObjectThe newly created customer object

References

Shopify GraphQL Admin: Customer