BlueCherry Integration
OVERVIEW
BlueCherry by CGS is an enterprise resource planning (ERP) system that many brands use to manage orders, inventory, and warehouse operations. Loop’s native BlueCherry integration sends return information from Loop to BlueCherry, so your team can manage returns there.
This article covers what you need before setup, the information to send Loop, and how to test the integration.
Use the menu on the left to quickly navigate this article.
Note: Loop owns and maintains this integration, and Loop’s engineering team sets it up for you. You can’t turn it on yourself in Loop Admin. You and your BlueCherry representative gather the setup information, and Loop sets up the connection.
Important: Plan on about one month for the full process. That includes Loop’s setup work, your testing, and any changes you ask for before go-live. Timing depends mostly on how quickly your team can test and how many changes you need. Sending a complete, accurate BlueCherry Loop connector template helps it go faster.
How it works
A shopper submits a return in Loop.
When the return is updated (for example, when a shipping label is generated), Loop creates an RMA (return merchandise authorization, or return record) in BlueCherry. Loop uses the “return updated” event, which doesn’t fire when the return is first created. If you don’t have Generate labels turned on, let your Loop contact know, so Loop uses the “return created” event instead.
The RMA includes the Loop return ID in the ref_num2 field. If you generate labels in Loop, it also includes the tracking number.
Loop processes the return using the flow you chose: either your Loop return policy outcomes (Option A), or after BlueCherry processes the return (Option B).
Important: Loop does not cancel or close RMAs in BlueCherry. Any cancellation or closeout must be handled directly in BlueCherry.
Setup at a glance
Confirm you meet the qualifications below. Your BlueCherry representative can help with the BlueCherry items.
Fill out BlueCherry’s official Loop connector template. If you don’t have it, ask your BlueCherry representative, or gather the same information listed under Setup.
Send the completed template (or the full information package) to your Loop Onboarding Specialist.
Loop’s engineering team sets up the integration.
Test with your BlueCherry team, and tell Loop about any changes you need before go-live.
Qualifications
Complete these before you contact Loop about setup.
BlueCherry API access: Your BlueCherry account must be able to use BlueCherry APIs. If this isn’t enabled yet, ask your BlueCherry representative to set it up before you contact Loop.
ref_num2 support: Loop stores the Loop return ID in the ref_num2 field. BlueCherry’s RMA creation endpoint must accept this field, and the OrderReturn and OrderReturnDetails endpoints must include it in the data they send back. Ask your BlueCherry representative to confirm this.
Test environment: You need a Shopify development store with a Loop sandbox, so you can test before going live. If you need help setting up the Loop sandbox, contact your Onboarding Specialist.
Setup
The easiest way to collect the setup information is BlueCherry’s official Loop connector template. It asks for the same items listed below, in a clear format. Fill in every item, then send the completed template to your Onboarding Specialist. If you don’t have the template, ask your BlueCherry representative for it, or gather everything in this section and send it all at once. Setup can’t start until the package is complete.
Step 1: Provide connection details
You or your BlueCherry representative should provide:
API keys so Loop can access your BlueCherry APIs
The API URLs for staging and production, including the staging and production codes in the path
Example staging URL: https://examplebcapi.azure-api.net/EXAMPL/EXTE
Example production URL: https://examplebcapi.azure-api.net/EXAMPL/EXPR
Step 2: Choose a processing flow
Choose one of these flows and tell Loop which one you want:
Option A: Process from your Loop return policy (default). Loop processes the return based on the outcomes set in your Loop return policies. No extra setup is needed.
Option B: Process when BlueCherry processes the return. The return is processed in Loop only after it’s processed in BlueCherry. To use this option, set the processing outcome on your Loop return policy to Manual. Loop checks BlueCherry on a schedule for item-detail stage updates, so this isn’t instant. Tell Loop which BlueCherry processing stage means an item is ready to be processed.
Step 3: Tell Loop where return data should go in BlueCherry
Loop return ID: Loop sends the Loop return ID in the ref_num2 field. This is required. Don’t use a different field.
Tracking number: If you generate labels in Loop, Loop sends the tracking number to BlueCherry. Choose an unused BlueCherry field for it and tell Loop which one. aux_ref_num is the most common choice, but you can use another unused field. Generate labels must be turned on in your Loop return policies for this to work, including in your test shop (see Testing).
No labels in Loop: Labels and tracking numbers go together. If Loop doesn’t generate the label, there is no tracking number to send. If you don’t generate labels in Loop, tell Loop up front. Loop will switch the integration to the “return created” event instead. That’s the only additional setup needed.
UPC field (optional): BlueCherry has one UPC field. Loop’s return data doesn’t include a UPC, so if you want Loop to fill in that field, tell Loop whether to send the Shopify barcode or the SKU in it.
Other fields: You can ask Loop to map other return data to other BlueCherry fields, as long as they don’t interfere with the ref_num2 field.
Step 4: Map your return reasons to BlueCherry codes
Make sure the return reasons in your Loop shop are up to date. In Loop Admin, go to Returns Management > Shopper Experience > Return reasons.
Send Loop a list that pairs each of your return reasons with the BlueCherry reason code it should use. Use your own reasons and codes; every merchant’s list is different.
Example (your reasons and codes will be different): Item not as described → C13
Step 5: Send everything to your Onboarding Specialist
Send the completed template or information package to your Loop Onboarding Specialist. They pass it to Loop’s engineering team, who complete the setup. You then test the integration and can ask Loop for changes before go-live.
Testing
Testing and validating the integration is your responsibility, together with your BlueCherry team. Loop can’t log in to your BlueCherry admin, so your BlueCherry team needs to confirm that the return data in BlueCherry looks correct.
Tip: Turn on Generate labels in your test shop, not only in production. Loop creates the BlueCherry RMA when the return is updated (for example, when a label is generated), not when the return is first created. If labels are off in your test shop, the return may never be updated, and no RMA will appear. Merchants often have labels on in production but off in test.
If you don’t want to turn on Generate labels in your test shop, let your Loop contact know, and Loop can switch your test setup to the “return created” event. You can then test everything except the tracking number field.
If you don’t generate labels in Loop at all (including in production), confirm with your Loop contact that Loop has switched the integration to the “return created” event before you test.
Testing checklist
An RMA is created in BlueCherry after the return is updated (for example, when a label is generated), or when it’s created if Loop uses “return created” for you.
The values in the RMA are accurate: Loop return ID, tracking number (if you generate labels), barcode or SKU in the UPC field, return reasons, and any other mapped fields.
Option A (Loop return policy): create a test return for each policy outcome you use.
Option B (BlueCherry processing): confirm the Loop return is processed after BlueCherry updates the item-detail stage for each item. This isn’t instant, because Loop checks for updates on a schedule.
After go-live
New return reasons: New Loop return reasons aren’t added to your BlueCherry mapping automatically. Email support@loopreturns.com with the new reasons and the BlueCherry codes they should map to, and Loop’s engineering team will add them.
Cancellations and closeouts: Loop doesn’t cancel or close RMAs in BlueCherry. Handle these directly in BlueCherry.
FAQ
How long does setup take?
About one month in general, including Loop’s setup work, your testing, and any changes you ask for. A complete, accurate official Loop connector template helps it go faster. Your team’s testing pace and the number of changes have the biggest impact.
Can I turn this on myself in Loop Admin?
No. Loop’s engineers set up this integration manually. Send your information to your Onboarding Specialist, who will pass it to engineering.
Where do I get the official Loop connector template?
From BlueCherry. Ask your BlueCherry representative for it.
Who do I send the setup information to?
Your Loop Onboarding Specialist. If you have questions after onboarding, email support@loopreturns.com.
When does Loop send a return to BlueCherry?
Loop creates the RMA when the return is updated (for example, when a shipping label is generated), not when the shopper first starts the return. If you generate labels in Loop, the tracking number is included. If you don’t generate labels in Loop, tell Loop up front. Loop will switch to creating the RMA when the return is created instead. That’s the only additional setup needed.
Why don’t I see an RMA in BlueCherry when I test?
Check that Generate labels is turned on in your test shop, not only in production. Without a label, the return may never be updated, so no RMA is created. See the tip under Testing for other options.
Does Loop cancel or close the RMA in BlueCherry if the shopper cancels?
No. Any cancellation or closeout must be done directly in BlueCherry.
Who is responsible for testing?
You are, together with your BlueCherry team. Loop doesn’t have access to your BlueCherry admin, so only your team can confirm that the return data looks correct there.
Do I have to send a UPC to BlueCherry?
No, it’s optional. BlueCherry has one UPC field, and Loop’s return data doesn’t include a UPC. If you want Loop to fill in that field, tell Loop whether to send the Shopify barcode or the SKU.
Can I map other Loop data to BlueCherry fields?
Yes, as long as the mapping doesn’t interfere with the ref_num2 field, which holds the Loop return ID.
What if I add a new return reason later?
New return reasons aren’t mapped automatically. Email support@loopreturns.com with the new reasons and the BlueCherry codes they should map to.
Do I need a test environment?
Yes. You need a Shopify development store with a Loop sandbox. If you need help setting up the Loop sandbox, ask your Onboarding Specialist.
Please reach out to support@loopreturns.com with any additional questions.
