/
Flipkart Product Availability:

Flipkart Product Availability:

Products can be marked available from the inventory page by turning on the toggle button in front of the Flipkart sales channel.

API call on toggle button:

Mark available v2 API:

POST: https://montecarlo.auperator.co/product-engine/api/v2/productListing

Request Body:

{ "esin" : "0SGAT12SG25F", "channelCode" : "CH1234", "availability" : true }

CASE 1: Success Response

When the product is successfully marked available

Response:

{ "esin" : "0SGAT12SG25F", "channelCode" : "CH1234", "availability" : true }

CASE 2: Error Response

When the product is not marked available

1. Product identifiers not found on Flipkart

When no listing is created on Flipkart against Eshopbox product identifiers (SKU, ESIN, additionalNames)

Response:

{ "availability": false, "message": "Flipkart Seller SKU ID", "reason": "Listings Not present for the product", "reasonCode": "listing_unavailable" }
  • When reason code is listing_unavailable show the below Pop up:

  • The client will add seller SKU. Update this seller SKU in additional names. Update product

    PUT: https://{workspace}.myeshopbox.com/product-engine/api/v1/products/{sku}

Request:

"additionalNames": { "others": [ "flipkart_sellerSku" ] }
  • When the product is updated call Mark product availability v2 API Request:

    { "esin" : "0SGAT12SG25F", "channelCode" : "CH1234", "availability" : true }

 

2. Custom Fields Not Created(Not applicable for Flipkart flow)

When required custom fields are not created against the product

Response:

{ "availability": false, "message": "flipkart_listing_id,flipkart_product_id", "reason": "Required information is not available for the product", "reasonCode":"missing_fields" }

3. Multiple listings found on Flipkart

When multiple listing is created on Flipkart against a single ESIN.

Response:

{ "availability": false, "reason": "Duplicate Listings present for the product", "markAvailableDuplicateListings": [ { "flipkart_listing_id": "LSTSFFFG272FQEERNF98GJISU", "flipkart_product_id": "SFFFG272FQEERNF9", "mrp": "2999.0", "sellerSku": "BBSHOCL89515_6.5" }, { "flipkart_listing_id": "LSTSHTFW9ZT7SWTXXPAIOAHTX", "flipkart_product_id": "SHTFW9ZT7SWTXXPA", "mrp": "1599.0", "sellerSku": "02AJ53GIU0M" } ], "reasonCode": "listing_duplicate" }
  • When the reason code is listing_duplicate show the below Pop-up

  • The client will select one listing, Call Mark available V2 API and add seller SKU to the request

Request:

{ "esin": "0MPDO3FMHSR", "channelCode": "eshop_flipkart_test", "availability": true, "sellerSku": "02AJ53GIU0M" }
  • If sellerSku is not present in product identifiers

Response:

{ "availability": false, "message": "seller SKU", "reason": "Seller Sku is not available in product identifiers", "reasonCode": "sellerSku_unavailable" }
  • If the product is successfully marked available

Response:

{ "esin": "0MPDO3FMHSR", "channelCode": "eshop_flipkart_test", "availability": true, "sellerSku": "02AJ53GIU0M" }

…………………………………………………………………..

Reason codes

reasonCode

reason

reasonCode

reason

sellerSku_unavailable

Seller Sku is not available in product identifiers

listing_unavailable

Listings Not present for the product

listing_duplicate

Duplicate Listings present for the product

missing_fields(Not applicable for flipkart)

Required information is not available for the product

Bulk Product Availability:

API:

POST: https://{workspace}.auperator.co/platform/api/v1/import-job

Request:

{ "filePath": "https://cdn.filestackcontent.com/fNItIPcTJS3yvzlEupWw", "jobType": "product_availability_v2", "channelId": "4593", "additionalDetails": "available" }

Related content