post http://staging-apigateway.snapdeal.com/seller-api/listing/financials
To compute the financials before creating a new product. Once the seller enters the values of the all the mandatory attributes fetched through the category attributes API, this API can be called to compute the financials based on the entered information.
Request
ParameterName | DataType | ParameterType | Requirement | Description |
---|---|---|---|---|
categoryId | int | Body | Mandatory | Id of the category (has to be product type) for which attributes are required |
categoryUrl | String | Body | Optional | categoryUrl |
sellerSKU | String | Body | Mandatory | Seller's unique identifier of the product |
brandId | int | Body | Optional | brandId |
attrNameToValueMap | Map<String, String> | Body | Mandatory | Map containing attributes got from the category attributes API as key and their values |
Response
metadata :
FieldName | DataType | Description |
---|---|---|
requestId | String | Unique ID for the request |
clientId | String | PartnerI Id |
responseTime | Long | Response Time |
requestedURI | String | Requested URI |
message | String | Error message |
payload :
FieldName | DataType | Description |
---|---|---|
netSellerPayable | double | netSellerPayable |
sdCommission | float | sdCommission |
logisticCost | float | logisticCost |
collectionCharges | float | collectionCharges |
fulfillmentCharges | float | fulfillmentCharges |