Troubleshooting Shopify B2B Integration Errors
Last updated: May 27, 2026
If your wholesale orders aren't flowing from RetailReady into Shopify, this article will help you identify and fix the most common configursation issues. Most errors come down to one thing: an incorrect Customer ID or Company Location ID in your setup.
Common Error: "Order could not be created, because the customer has no role in this company"
This error means Shopify received the order but rejected it because the customer ID we sent doesn't have the right role at the company location we specified. It's almost always caused by one of the following:
The Customer ID is incorrect
The Company Location ID is incorrect
The contact hasn't been assigned a role at that location in Shopify
Work through the steps below to identify which one applies.
Step 1: Verify Your Customer ID
The most common culprit. Customer IDs pulled from exports or company database downloads are often different from the actual IDs in Shopify. Always pull these directly from the Shopify admin URL.
In your Shopify admin, go to Customers.
Search for and open the contact associated with the retailer (e.g., the buyer at that location).
Look at the URL in your browser. It will end in a numeric ID, like:
…/customers/91841623718109That number is the correct Customer ID. Compare it to what was provided during your RetailReady setup.
Example: In one case, a customer provided ID 113088932381 from an export, but the real Customer ID in Shopify was 9141623343718109. Updating to the correct ID resolved the error immediately.
Step 2: Verify Your Company Location ID
In your Shopify admin, go to Customers → Companies.
Open the company associated with the retailer.
Navigate to the specific location (e.g., a warehouse or distribution center address).
Check the URL in your browser — it will end in the location ID, like:
…/locations/17315954909Confirm this matches what's in your RetailReady configuration.
Step 3: Confirm the Contact Has a Role at the Location
Even if both IDs are correct, Shopify will reject orders if the contact isn't assigned a role at that specific location.
In Shopify admin, go to Customers → Companies and open the company.
Under Contacts, confirm the customer is listed.
Click into their contact record and confirm they have a role assigned at the location you're sending orders to — for example, "Ordering only" or "Location admin".
If no role is assigned, add one. Either role will work for order placement.
Note: The Customer ID and Location ID must both belong to the same company. If they're from different companies, Shopify will also reject the order.
Step 4: Share Corrected IDs with RetailReady
Once you've confirmed the correct values, send them to your RetailReady contact with the following information for each retailer location:
Retailer name (e.g., Nordstrom, Dillard's)
Customer ID (from the Shopify admin URL)
Company Location ID (from the Shopify admin URL)
We'll update your integration configuration and run a test order to confirm everything is working.
Quick Reference: How to Find IDs in Shopify
What you need | Where to find it |
|---|---|
Customer ID | Shopify Admin → Customers → open contact → check URL |
Company Location ID | Shopify Admin → Customers → Companies → open company → open location → check URL |
Still stuck?
If you've verified all three steps above and orders are still failing, reach out to your RetailReady contact with a screenshot of the error from the integration logs (3 dots → View logs) and we'll dig in from our side.