/
Add/Update Price of a product

Add/Update Price of a product

API : Price API (HTTP POST method)

This API is used to add or update the price of a product.

API URL:

https://intapppreprod2.tataunistore.com/PartnerConnect/PC_124346/AP_PRICE/AV_2.0/AVT_JSON_PRICE/OG_1

 

There are four types of Price Update:

  • Price Added

  • Price Updated

  • SKU doesn’t exist

  • MOP > MRP

Authorization:

Fetch TataCliq access token from ie_appinstall_connection table using connection_id.

SELECT ie_appinstall_connection.accessToken FROM ie_appinstall_connection WHERE id =: connection_id

Place the access token in request headers in the following key-value format.

Key

Value

Key

Value

Authorization

Bearer <AccessToken>

Mandatory fields:

Key

Value

Key

Value

SKU

Can be retrieved from Product Info API response

MRP

Can be retrieved from Product Info API response

MOP

Can be retrieved from Product Info API response

1. To add price of a Product

Request body:

{ "PriceUpdate": { "Item": { "SKU": "WWS54656", "MRP": "1000", "MOP": "999", "SellerShippingInfo": { "DeliveryType": "HD", "ShippingCharges": "30" } } } }

Response body:

{ "PriceUpdate": { "Item": { "PRODUCTSKU": "WWS54656", "PRICE": "1000", "OFFERPRICE": "999", "HOMEDELIVERY": "30", "EXPRESSDELIVERY": "null", "STATUS": "RECORD SAVED", "REASON": "RECORD CORRECT" } } }

 

2. To update price of a Product

Request body:

{ "PriceUpdate": { "Item": { "SKU": "WWS54656", "MRP": "1000", "MOP": "899", "SellerShippingInfo": { "DeliveryType": "HD", "ShippingCharges": "30" } } } }

Response body:

{ "PriceUpdate": { "Item": { "PRODUCTSKU": "WWS54656", "PRICE": "1000", "OFFERPRICE": "999", "HOMEDELIVERY": "30", "EXPRESSDELIVERY": "null", "STATUS": "RECORD UPDATED", "REASON": "RECORD CORRECT" } } }

 

  • Do not use same SKU in single price feed operation. i.e. in single price feed all SKUs should be unique

  • MOP should be <= MRP

  • Maximum SKUs per price feed is limited to 2000

 

 

feel free to leave any suggestions or comments below!

Related content