Sign in

Update customer

documented

Update a customer.

PUT /3dCartWebAPI/v1/Customers/{customerId}Customersno implementation yet0 runs
No 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/{{$customerid}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "SecureURL: {{SHIFT4SHOP_SECURE_URL}}" \
  -H "PrivateKey: {{SHIFT4SHOP_PRIVATE_KEY}}" \
  -H "Token: {{SHIFT4SHOP_TOKEN}}" \
  -d '{"CustomerID": {{$customerid}},
  "Email": "{{$email}}",
  "Password": "{{$password}}",
  "BillingCompany": "{{$billingCompany}}",
  "BillingFirstName": "{{$billingFirstName}}",
  "BillingLastName": "{{$billingLastName}}",
  "BillingAddress1": "{{$billingAddress1}}",
  "BillingAddress2": "{{$billingAddress2}}",
  "BillingCity": "{{$billingCity}}",
  "BillingState": "{{$billingState}}",
  "BillingZipCode": "{{$billingZipCode}}",
  "BillingCountry": "{{$billingCountry}}",
  "BillingPhoneNumber": "{{$billingPhoneNumber}}",
  "BillingTaxID": "{{$billingTaxID}}",
  "ShippingCompany": "{{$shippingCompany}}",
  "ShippingFirstName": "{{$shippingFirstName}}",
  "ShippingLastName": "{{$shippingLastName}}",
  "ShippingAddress1": "{{$shippingAddress1}}",
  "ShippingAddress2": "{{$shippingAddress2}}",
  "ShippingCity": "{{$shippingCity}}",
  "ShippingState": "{{$shippingState}}",
  "ShippingZipCode": "{{$shippingZipCode}}",
  "ShippingCountry": "{{$shippingCountry}}",
  "ShippingPhoneNumber": "{{$shippingPhoneNumber}}",
  "ShippingAddressType": {{$shippingAddressType}},
  "CustomerGroupID": {{$customerGroupID}},
  "Enabled": {{$enabled}},
  "MailList": {{$mailList}},
  "NonTaxable": {{$nonTaxable}},
  "DisableBillingSameAsShipping": {{$disableBillingSameAsShipping}},
  "Comments": "{{$comments}}",
  "AdditionalField1": "{{$additionalField1}}",
  "AdditionalField2": "{{$additionalField2}}",
  "AdditionalField3": "{{$additionalField3}}",
  "TotalStoreCredit": {{$totalStoreCredit}},
  "ResetPassword": {{$resetPassword}}}'"
Update customer · Shift4Shop · OpenIntegrations