POST:customers.json
POST:customers.json
Description
Modify one or multiple customers.
Permission bit: "customers.modify"
Topic: Customers
Query Parameters
ids: Comma-separated array of String, required
List of customer ids. See also: Unique Identifiers
Example: ?ids=cu_EQzGqWoY,cu_EQzGqWoY
Unique shop identifier. See also: Unique Identifiers
Example: ?shop_id=sh_EQzGqWoY
Request Body
Array of CustomerModify
[ { "accepts_marketing": false, "addresses": [ { "address1": "Chestnut Street 92", "address2": "Apartment 2", "city": "Louisville", "company": "Google inc.", "country": "US", "id": "ad_EQzGqWoY", "name": "John Smith", "phone": "5556251199", "plus_code": "PQ7W+WM", "province": "KY", "zip": "40202" } ], "customer_group_id": "cg_EQzGqWoY", "default_billing_address_id": "ad_EQzGqWoY", "default_payment_source_id": "card_1Ak9dNDVveQRXOWz2ZFPd73P", "default_shipping_address_id": "ad_EQzGqWoY", "display_name": "John S.", "email_confirmed": false, "is_disposable_email": false, "language": "", "metadata": [ { "key": "", "value": "" } ], "mobile": "45634634562", "mobile_notifications": false, "name": "John Smith", "preferred_currency": "USD", "reminder_messages": false, "tags": [ "" ], "tax_exempt": false, "timezone": "(GMT-05:00) Eastern Time" } ]
Response Body
Array of Customer
Response Body Type
Loading module