Create customer group
documentedCreate a customer group.
POST /3dCartWebAPI/v1/CustomerGroupsCustomersno 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/CustomerGroups" \
-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 '{"CustomerGroupID": {{$customer_group_id}}, "Name": "{{$name}}", "Description": "{{$description}}", "MinimumOrder": {{$minimum_order}}, "NonTaxable": {{$non_taxable}}, "AllowRegistration": {{$allow_registration}}, "DisableRewardPoints": {{$disable_reward_points}}, "AutoApprove": {{$auto_approve}}, "RegistrationMessage": "{{$registration_message}}", "PriceLevel": {{$price_level}}}'