Skip to Content

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

شما نیاز به ثبت‌نام دارید تا بتوانید با جامعه تعامل داشته باشید.
این سوال علامت‌گذاری شده است
1 پاسخ
137 نماها

Provides endpoint and code to create customers, ensuring unique emails.


آواتار
رها کردن
مولف پاسخ برتر

Use POST /admin/api/2025-10/customers.json with write_customers scope.

Python Example:

import requests, uuid

headers = {"X-Shopify-Access-Token": "your-token", "Content-Type": "application/json"}

payload = {"customer": {"first_name": "Ali", "email": f"ali-{uuid.uuid4().hex[:8]}https://your-store.myshopify.com/admin/api/2025-10/customers.json", json=payload, headers=headers)

آواتار
رها کردن
نوشته های مرتبط پاسخ‌ها نماها فعالیت
1
MMM yy 
189
1
MMM yy 
174
1
MMM yy 
191
1
MMM yy 
172
1
MMM yy 
153