Pipe17 allows you to manage your Product catalog by pulling it in from a source channel - typically Sales channel and pushing it to 3PL channels. Read more about Products in the Pipe17 documentation.
In this implementation we will:
- Pull Products from Pipe17
- Push these Products to ShipBob
Product related code is in the productService.js file.
Step 1: Get Products from Pipe17
The pullProductsFromPipe17 function fetches the Product Catalog from Pipe17 additionally applying the filters for active status, and list of SKUs to be pulled.
You may have your entire Product catalog pulled into Pipe17 from an ERP but might want to manage only a subset of these at a particular 3PL, these filters help in such a use case.
You can trigger this on sample App by clicking "Pull Products from Pipe17".
Step 2: Push Products to ShipBob
The pushProductToShipBob function pushes the Products received from Pipe17 into ShipBob. You can trigger this by clicking "Push to ShipBob" on the sample App. If a Product has already been created in ShipBob you will see the button "Update in ShipBob".
As each Product is created in ShipBob; the id from ShipBob is pushed back in to Pipe17 under mappedProduct like this:
{
"mappedProduct": {
"extProductId": "product.shipbobId",
"status": "published",
"integrationId": "integration.integrationId"
}
}
The values assigned using mappedProduct are visible in Pipe17 under the published array like this:
"published": [
{
"extProductId": "836863009",
"integrationId": "83756bf3c25c34f5",
"status": "published"
}
],
Next Chapter: Implementing Inventory Workflow
Comments
0 comments