{"ok":true,"path":"/end_user_account_setup/","what":"Customer signup for a store. Call it on the store's own domain (a domain claimed with /domain/); the store is found from the web address. No brand code is needed or shown.","steps":{"1":"POST {\"action\":\"request_code\",\"email\":\"you@example.com\"}. Returns id. A 6-character code is emailed (never in the response) and expires in 30 minutes.","2":"POST {\"action\":\"verify\",\"id\":\"ID\",\"confirmation_id\":\"CODE\"}. Creates the customer and signs them in on this domain for 30 days (HttpOnly cookie; the session id is never in the response). 5 wrong codes cancel the id.","3":"POST {\"action\":\"profile\", ...} while signed in. Optional first_name, middle_name, last_name, company_name, telephone {phone_number, line_type}, shipping {line_1, line_2, line_3, city, state, zipcode, country}, billing {same fields}.","status":"POST {\"action\":\"status\"} while signed in: what the profile has so far.","delete_account":"POST {\"action\":\"delete_account\",\"confirm_email\":\"you@example.com\"} while signed in (your own session only). Deletes your sign-in email, phone numbers, saved addresses and open carts (history rows kept), ends every session you have on this store, and signs you out. Orders and invoices are kept for the store's records. Refused (409) while you have an order waiting for payment: ask the store to cancel it first."},"already_a_customer":"Sign in with /customer_session/ on the same domain instead.","rules":["US networks only; Tor, VPN and datacenter addresses are refused.","Rate limits: 1 code per email per minute, 3 per hour, 5 signups per network per hour.","Incomplete signups are deleted after 90 days."]}