Marketplaces / Colizey Technical Scope / Colizey - Product Management / Colizey - Publish (Activate) Product

Colizey - Publish (Activate) Product

The purpose of this page is to detailed describe the flow of publishing product.

We are able to publish the product which was unpublished( for example because of 0 stock). In order to do this, we should push the SKU which we have assigned to the product and use the relevant API end point for publishing products. We can publish products that are currently unpublished. The only parameter is an array of SKUs (string). Note that all SKUs needs to be in the same format as the ones we provided on our feed.

API Call: POST https://api.colizey.fr/merchant/products/publish

API Docs: https://apidoc.colizey.fr/?php#batch-processing

Body structure: '["sku1", "sku2", "sku3"]'

The SKU which need to push should be taken from Product > SKU.

In order to publish product (make the product sellable to the channel), we should look to following statuses:

Note: Positive quantity is a must!

Case1:

Product status=Product Published; Listing status - Inactive; Update Quantity= Pending & QTY>0;

After successful run, we will have following statuses:

Product status=Product Published; Listing status - Active; Update Quantity = Not Needed

If error, we will have:

Product status=Product Published; Listing status - Inactive; Update Quantity = Error

We should need the respective Error into Update item error field.

Case2:

Product status=Product Published; Listing status - Inactive; List/Update the whole item= Pending & QTY>0;

After successful run, we will have following statuses:

Product status=Product Published; Listing status - Active; List/Update the whole item = Not Needed

If error, we will have:

Product status=Product Published; Listing status - Inactive; List/Update the whole item = Error

We should need the respective Error into List/Update the whole item error field.

Is this article helpful?
0 0 0