Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

SDK Example: Update Billing and Shipping Details (Winter '20)

Use the example SDK code in this topic to update user account billing and shipping details.

Possible error conditions:

"UpdateBillingDetailsInput::getRequestPayload() must have email."

"UpdateBillingDetailsInput::getRequestPayload() must have billingCity."

"UpdateBillingDetailsInput::getRequestPayload() must have billingState."

"UpdateBillingDetailsInput::getRequestPayload() must have billingAddress."

"UpdateBillingDetailsInput::getRequestPayload() must have billingZipCode."

"UpdateBillingDetailsInput::getRequestPayload() must have shippingCity."

"UpdateBillingDetailsInput::getRequestPayload() must have shippingState."

"UpdateBillingDetailsInput::getRequestPayload() must have shippingAddress."

"UpdateBillingDetailsInput::getRequestPayload() must have shippingZipCode."