Update distributor
documentedUpdate distributor.
PUT /3dCartWebAPI/v1/Distributors/{distributorId}Distributorsno 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/Distributors/{{$distributorId}}" \
-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 '{"CompanyName":"{{$companyName}}","ContactName":"{{$contactName}}","Address":"{{$address}}","Address2":"{{$address2}}","City":"{{$city}}","State":"{{$state}}","Zip":"{{$zip}}","Country":"{{$country}}","Phone":"{{$phone}}","Fax":"{{$fax}}","Email":"{{$email}}","Comments":"{{$comments}}","NotifyOnNewOrder":{{$notifyOnNewOrder}},"NotifyOnNewOrderEmailSubject":"{{$notifyOnNewOrderSubject}}","NotifyOnNewOrderEmailMessage":"{{$notifyOnNewOrderMessage}}","NotifyOnCancelledOrder":{{$notifyOnCancelledOrder}},"NotifyOnCancelledOrderEmailSubject":"{{$notifyOnCancelledOrderSubject}}","NotifyOnCancelledOrderEmailMessage":"{{$notifyOnCancelledOrderMessage}}","POStyle":{{$POStyle}},"POEmailNotification":{{$POEmailNotification}},"POShippingInfo":"{{$POShippingInfo}}","POPaymentInfo":"{{$POPaymentInfo}}","POAdditionalNotes":"{{$POAdditionalNotes}}","POEmailSubject":"{{$POEmailSubject}}"}'"