For the complete documentation index, see llms.txt. This page is also available as Markdown.

Profile (phone & address)

The Profile section (/apps/orbit-boost-wholesale/portal/profile) lets a B2B buyer review their account and update the two fields that matter most for wholesale fulfillment: their phone number and their default shipping address.

What's shown (read-only)

  • Name and email — from the Shopify customer record

  • Company — the linked Company, if any

  • Pricing tier — the Customer Group the buyer belongs to

These come straight from Shopify and aren't editable in the portal (name/email changes go through the buyer's normal Shopify account).

What's editable

Phone

The phone field is a country-code picker + number, the same pattern as the B2B registration form:

  • A dropdown of countries showing flags and dial codes (🇻🇳 +84, 🇺🇸 +1, …)

  • A separate number input

On save, the dial code and number are combined into E.164 format (leading zeros stripped) before writing to Shopify via customerUpdate.

Default address

The default shipping address is edited with proper select dropdowns, not free-text:

  • Country — a <select> populated from Shopify's all_country_option_tags

  • Province / State — a dependent <select> that repopulates from the chosen country's subdivisions

  • Address line, city, ZIP / postal code

Error handling

If Shopify rejects the update, the portal surfaces the specific Admin API error (for example an invalid phone format or a province that doesn't match the country) and keeps the buyer's input so they don't retype everything.

Provinces are handled best-effort: if a country has no Shopify subdivision list (or the typed province isn't valid), the rest of the address still saves and the buyer sees a warning rather than a hard failure.

Next

Last updated

Was this helpful?