Service eligibility and regional restrictions
PuppyIP serves only compliant overseas businesses and their authorized personnel. Proxy services are not available in mainland China. The service may only be used for lawful business activities outside mainland China. Use of this service within mainland China is prohibited.
Hosting a proxy IP or server overseas does not change these restrictions. The service must not be provided to end users in mainland China through relaying, forwarding, sharing or resale. Before use, read the Terms of Service.
Key Takeaways
- The update applies to every Customer Account API version. The GraphQL schema stays the same.
- The signed-in contact sees locations where they hold a role. Another contact’s location list is empty.
- A location’s taxIdentifier, contacts, and roleAssignments can return null or an empty connection.
- After company membership ends, that company’s orders and draft orders disappear from the customer’s lists. Personal orders stay visible.
Check the current customer’s role at the location
Confirm who is signed in, which company they represent, and the locations where they still hold a role. A customer can read locations where they have a role through their own CompanyContact.locations, Company.locations, or companyLocation(id:). A location picker based on another contact’s locations will receive an empty list.
For a location detail lookup with companyLocation(id:), Shopify documents null when the signed-in contact has no role. If an authorized order context returns a location object, let the tax, contacts, and roles components handle omitted values. Check location visibility separately from the visibility of individual fields.
Handle missing fields and shorter lists separately
For example, a buyer who still belongs to a company may now manage just one warehouse. The location picker should show only locations visible to that account. If only the tax identifier is absent, show a neutral state such as “Tax ID unavailable.” Preserve the existing value in your own authorized records and avoid displaying a zero.
For contact or role lists, distinguish an empty connection from a failed request. When you see null or fewer results, check the current account’s role before deciding what the page should show. If the response also contains GraphQL errors, handle those separately. Record the API version, operation name, and missing fields with tokens, tax identifiers, and contact details removed.
Refresh order history after company membership ends
When a merchant removes a customer from a company, order(id:) and draftOrder(id:) withhold that company’s orders and draft orders. The customer.orders and customer.draftOrders lists exclude those company records. Personal orders still appear in the customer’s history.
Refresh order history for the current session. After a change in company access, clear old company order previews and show that the details are unavailable. Cached summaries and old links still need to respect the permissions of the current session.
Verify three visibility cases in a test store
Use a controlled test store with a buyer who has a location role, a company member who lacks that role, and a customer removed from the test company. Check the location picker, location details, and order lists for each account. For the removed customer, verify that personal orders remain visible as well.
Shopify says your queries can stay the same. Update the application to handle fewer results, empty connections, and null. Include these cases in existing checks so the page handles expected permission changes without a loading error or displaying an old summary after access is reduced.
Sources
Frequently Asked Questions
Will switching to an older Customer Account API version restore access?
The update applies to every version. Check what the signed-in customer can see based on company membership and location roles, then check how your app handles null and empty connections.
Does an order disappearing from a buyer’s history mean a merchant deleted it?
The update changes what the customer can read. After removal from a company, the buyer’s list excludes that company’s orders and direct detail reads are denied. Merchants can verify order status through an authorized administration view.
What should I check first when a location lookup returns null?
Check whether the signed-in contact holds a role at the location and whether the location belongs to a company the customer can access. Test the list, detail view, and existing page cache separately.