The LogicBroker connector pulls orders from your LogicBroker partner into the app and acknowledges them in LogicBroker. The app then sends shipments, invoices, cancellations, and inventory back to LogicBroker. You can also pull your product catalog from LogicBroker.
With this connector, you can:
- Pull orders from LogicBroker every 5 minutes and as LogicBroker sends them, and acknowledge them in LogicBroker.
- Cancel orders in the app when they're canceled in LogicBroker.
- Send fulfillments to LogicBroker as shipments, and send an invoice when an order is fully fulfilled.
- Send shipping request cancellations and rejected items to LogicBroker.
- Send available inventory to LogicBroker every 5 minutes.
- Pull products, including parent products and their color and size variants, from LogicBroker.
Setup
Before you begin
- An active LogicBroker account that is connected to the trading partner you want to sync with.
- A LogicBroker user with the api/manage permission. Without it, you can't open the page where API keys are created.
- Your LogicBroker API key (Subscription Key) for the environment you want to connect: Stage or Production.
- The Partner ID of the trading partner you want to sync with. This is the partner's Logicbroker Account Number.
- Optional: A retailer API key, if you want to pull the full product catalog (retailer and supplier products).
Get your credentials from LogicBroker
- Sign in to the LogicBroker portal for the environment you want to connect. Stage and Production each have their own portal, API URL and keys.
- Go to Connections > API. The API Authentication page opens. If you don't see it, ask your LogicBroker account admin to add the api/manage permission to your user in My Profile > Manage Users, and then sign out and sign back in.
- Under Subscription Keys, click Create Primary Key. If a key is already there, copy it. Don't click Regenerate unless you mean to replace the key, because every connection that uses the old key stops working.
- Copy the key. You paste it into the API Key field in the app.
- Open the Account Information page in the LogicBroker portal. In the Partners section, find the partner you want to sync with and copy its Logicbroker Account Number. This is the Partner ID. The partner list can differ between Stage and Production while a partnership is still in testing.
- Optional: If you want to pull the full product catalog, get the retailer API key you plan to use for it.
For LogicBroker's own instructions, see API Authentication and Account Information.
Note: A Stage key works only with the Stage environment, and a Production key works only with Production. If LogicBroker reports an invalid subscription key, check that the key and the environment match and that the key has no extra spaces.
Connect in the app
- Navigate to Integrations in the app.
- Click Add Integration, and then select LogicBroker Ecomm. The Connect LogicBroker Ecomm pop-up opens.
- Under Select LogicBroker environment, select LB Production (https://commerceapi.io) or LB Staging (https://stage.commerceapi.io). Pick the environment of the portal where you created the key. If you don't select one, the app uses Production.
- Enter your Subscription Key in the API Key field.
- Enter the partner's Logicbroker Account Number in the Partner ID field.
- Optional: Enter your retailer API key in the Retailer API key - optional (used for pulling Product Catalog Only) field. It's used only with the Pull full Product Catalog (retailer & supplier) from LogicBroker. setting.
- Click Connect. The app checks your API key and that the Partner ID is one of the partners available to that key. It then registers LogicBroker webhooks for new and canceled orders.
- On the Settings tab, toggle on the flows you want to use, such as Pull orders from LogicBroker, Push fulfillment information to LogicBroker, Push inventory information to LogicBroker and Pull products from LogicBroker, and then click Save. Pull locations from LogicBroker is on by default. To learn more, see Using Locations.
Note: If you click Add without credentials, the integration is added but doesn't sync until you enter your credentials on the Connection Details tab and save.
Confirm the connection
- On Integrations, check that the LogicBroker Ecomm integration shows Connected and that its switch is on. If it shows Error, check the API Key, Partner ID and environment on the Connection Details tab. "Invalid partner ID" means the Partner ID isn't one of the partners available to the key in that environment. If it shows Not Configured, enter your credentials there and save.
- Go to Locations. Within a few minutes of connecting, there is a location for each of your LogicBroker partners, named after the partner's company name.
- To test orders, pick one order in LogicBroker. Add its PO number to Process only specific orders. Make sure Exclude orders created before this date is earlier than the order's creation date, and that the order's LogicBroker status is listed under Pull orders in these LogicBroker statuses (by default, only Ready for Acknowledge). Then turn on Pull orders from LogicBroker and click Save.
- Orders are processed every 5 minutes. Within about 5 minutes, check that the order appears on the Orders page in the app with the PO number as its order ID. If you pulled it at Ready for Acknowledge, check that LogicBroker shows the order as acknowledged.
- If Push fulfillment information to LogicBroker is on, fulfill the test order and check that a shipment with the tracking details appears on the order in LogicBroker within about 5 minutes.
- Clear Process only specific orders, and then click Save.
Settings
| Setting | Description | Options/Default |
|---|---|---|
| Pull locations from LogicBroker | Creates locations in the app from your LogicBroker partners. Locations are required for order routing and inventory. | On/Off. Default: On |
| Pull orders from LogicBroker | Pulls orders from LogicBroker into the app. | On/Off. Default: Off |
| Exclude orders created before this date | Pulls only orders created after this date. If you leave it empty, the app uses the date you created the integration. To pull an older order after sync starts, update the order in LogicBroker. | Optional |
| Process only specific orders | Pulls only orders whose PO number matches a value you list. Regular expressions are supported. | Optional. Empty pulls all |
| Pull orders in these LogicBroker statuses | The LogicBroker statuses to pull orders in. The app acknowledges an order in LogicBroker only when it pulls it at Ready for Acknowledge. Orders pulled at Shipped, Ready to Invoice, or Completed are created as fulfilled and aren't routed. | Ready for Acknowledge (150), Acknowledged (200), Ready to Fulfill (400), Ready to Ship (500), Shipped (530), Ready to Invoice (600), Completed (1000). Default: Empty, which pulls Ready for Acknowledge only |
| Push SR cancelations into LogicBroker | Sends canceled quantities to LogicBroker when you cancel a shipping request in the app. | On/Off. Default: On |
| Push fulfillment information to LogicBroker | Sends fulfillments to LogicBroker as shipments. | On/Off. Default: Off |
| Hold fulfillments until the shipping request is fully fulfilled, then send them as one LogicBroker shipment | Holds a shipping request's fulfillments until every line is shipped or rejected, and then sends them to LogicBroker as one shipment with one package entry per package. | On/Off. Default: Off |
| Fulfillment custom field that says no more fulfillments will come for the shipping request | The name of a fulfillment custom field. When set, the app holds fulfillments until one fulfillment on the shipping request has this field with a value other than empty, false, 0 or no, and then sends them as one LogicBroker shipment. If the switch above is also on, either condition releases the held fulfillments. | Optional |
| Push invoices to LogicBroker | Sends an invoice to LogicBroker after an order is fully fulfilled. | On/Off. Default: On |
| Pull products from LogicBroker | Pulls products from LogicBroker into the app. | On/Off. Default: Off |
| Force products resync | Pulls all products from LogicBroker again. The switch turns off after the resync starts. A full resync can take a long time. | On/Off. Default: Off |
| Pull full Product Catalog (retailer & supplier) from LogicBroker. | Pulls the full catalog with the retailer API key instead of your API key. Works only if you entered a retailer API key in the connection settings. | On/Off. Default: Off |
| Push inventory information to LogicBroker | Sends inventory from the app to LogicBroker. | On/Off. Default: Off |
| Push inventory from a specific location only | Sends inventory only from the location you select. If you leave it empty, the app sends totals from all active locations. | Optional |
| Process only inventory for specific SKUs | Sends inventory only for the SKUs you list. | Optional. Empty sends all |
| Force inventory resync | Sends inventory for all SKUs again. The switch turns off after the resync starts. A full resync can take a long time. | On/Off. Default: Off |
Flows
| Flow | Direction | Notes |
|---|---|---|
| Locations | LogicBroker → Pipe17 | Runs once a day. Creates a location for each LogicBroker partner that isn't in the app yet. |
| Products | LogicBroker → Pipe17 | Pulls products changed since the last pass. After the app finishes a pass, the next one starts within about a day. Products that share a parent SKU are grouped under a parent product with color and size variants. |
| Orders | LogicBroker → Pipe17 | Runs every 5 minutes and also when LogicBroker sends a new-order webhook. The app pulls orders in the statuses you select, and acknowledges orders pulled at Ready for Acknowledge. Every 4 hours, the app also checks the last 30 days for orders it missed. |
| Order cancellations | LogicBroker → Pipe17 | When LogicBroker sends a cancellation webhook, the app cancels the order. Once a day, the app also checks the last 30 days for canceled orders and cancels them in the app. |
| Fulfillments | Pipe17 → LogicBroker | Runs every 5 minutes. Creates a shipment in LogicBroker with tracking details. If you turn on one of the hold settings, the app waits and sends all of a shipping request's fulfillments as one shipment. If the fulfillment has no ship-from address, the app uses the address of the location. The app doesn't send a shipment that already exists in LogicBroker. |
| Invoices | Pipe17 → LogicBroker | Sent after the order is fulfilled and LogicBroker has received all of its fulfillments. If the invoice fails, the app tries again on the next run. |
| Cancellations and rejected items | Pipe17 → LogicBroker | When you cancel a shipping request, or a fulfillment rejects items, the app sends an updated acknowledgement with the canceled quantities and the cancel reason. If there's no reason, the app uses "Cannot fulfill in time". |
| Rejected shipments | LogicBroker → Pipe17 | The app checks LogicBroker for shipments in Failed status and adds an exception to the matching shipping request. |
| Inventory | Pipe17 → LogicBroker | Runs every 5 minutes. Sends the available quantity for each SKU, up to 999,999. |
Troubleshooting
-
The integration shows Error and LogicBroker reports an invalid subscription key
The key was regenerated in LogicBroker, has extra spaces or missing characters, or belongs to the other environment. A Stage key works only with LB Staging (https://stage.commerceapi.io), and a Production key only with LB Production (https://commerceapi.io). Copy the current key from Connections > API in the matching LogicBroker portal, and then update it on the Connection Details tab. -
The Partner ID works in Stage but fails in Production
Your partner list can differ between Stage and Production while a partnership is still in testing. Check the partner's Logicbroker Account Number on the Account Information page of the Production portal. -
The connection fails with "Invalid partner ID"
The Partner ID isn't one of the partners available to your API key. Check the ID on the Account Information page in LogicBroker, confirm that you selected the right environment, and then update the connection settings. -
Orders don't appear in the app
By default, the app pulls only orders at Ready for Acknowledge. If your LogicBroker account acknowledges orders automatically, add the later statuses under Pull orders in these LogicBroker statuses. Also check Exclude orders created before this date and Process only specific orders. -
A shipping request has the exception "Shipment rejected by LogicBroker (Failed)"
LogicBroker rejected the shipment. Fix the shipment in LogicBroker. The app can't create the invoice until the shipment is resolved. -
An invoice wasn't sent to LogicBroker
The app sends the invoice only after the order is fulfilled and every fulfillment has reached LogicBroker. Check that Push invoices to LogicBroker is on and that no shipment for the order was rejected. -
Only some products are pulled
Your API key returns only the products available to your partner account. To pull the full catalog, enter a retailer API key in the connection settings and turn on Pull full Product Catalog (retailer & supplier) from LogicBroker.
Need Help?
If you need additional assistance:
- Use Ask Pippen, our AI agent, located at the top of the platform page.
- Submit a support request with as much relevant detail as possible. Learn how to submit a request.
We’re here to help you succeed with your operations.
Comments
0 comments