Create customer
documentedCreate a customer.
POST /3dCartWebAPI/v1/CustomersCustomersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/Customers" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "SecureURL: {{SHIFT4SHOP_SECURE_URL}}" \
-H "PrivateKey: {{SHIFT4SHOP_PRIVATE_KEY}}" \
-H "Token: {{SHIFT4SHOP_TOKEN}}" \
-d '[{"Email": "{{$email}}", "Password": "{{$password}}", "BillingFirstName": "{{$billing_firstname}}", "BillingLastName": "{{$billing_lastname}}", "BillingAddress1": "{{$billing_address1}}", "BillingAddress2": "{{$billing_address2}}", "BillingCity": "{{$billing_city}}", "BillingState": "{{$billing_state}}", "BillingZipCode": "{{$billing_zip}}", "BillingCountry": "{{$billing_country}}", "BillingPhoneNumber": "{{$billing_phone}}", "ShippingCompany": "{{$shipping_company}}", "ShippingFirstName": "{{$shipping_firstname}}", "ShippingLastName": "{{$shipping_lastname}}", "ShippingAddress1": "{{$shipping_address1}}", "ShippingAddress2": "{{$shipping_address2}}", "ShippingCity": "{{$shipping_city}}", "ShippingState": "{{$shipping_state}}", "ShippingZipCode": "{{$shipping_zip}}", "ShippingCountry": "{{$shipping_country}}", "ShippingPhoneNumber": "{{$shipping_phone}}", "ShippingAddressType": 1, "CustomerGroupID": 1, "Enabled": true, "MailList": true, "NonTaxable": false, "DisableBillingSameAsShipping": false, "Comments": "{{$comments}}", "AdditionalField1": "{{$additional1}}", "AdditionalField2": "{{$additional2}}", "AdditionalField3": "{{$additional3}}", "TotalStoreCredit": 0, "ResetPassword": false }]'