Yes, we are having the issue with shipping location is not displaying in the order and alone not in the company locations, could you please help us fixing the issue.
Topic summary
Core Issue:
Developers need to identify which specific company location placed a B2B order to retrieve its billing address, particularly when companies have multiple locations.
Initial Solution:
The purchasingEntity field on the Order object (accessible via GraphQL) provides the company location that placed the order, as shown in a shared screenshot.
Related Implementation Problems:
- Multiple users report issues creating orders via Shopify’s REST API where company shipping locations aren’t being properly associated with orders
- Orders imported from ERP systems through middleware (like Alumio) fail to display company location data
- Even when using GraphQL’s
orderCreatemutation withcompanyLocationId,customer.toAssociate.id, and address fields, created orders lack both shipping and billing addresses
Current Status:
The thread remains unresolved. One contributor suggests the REST API may not support this functionality and recommends using GraphQL’s orderCreate mutation with the company location ID field instead. Documentation around B2B order creation with company locations is noted as insufficient.
1 Like