我与 Flipkart 卖家 API 集成并获得了沙盒和生产 API 访问权限。但是当我访问沙盒 API 以创建我的列表时,我得到了这个响应:
https://sandbox-api.flipkart.net/sellers/listings/v3
带有标头:Content-Type:application/json 授权:Bearer 'access-token'
{
"sku": {
"product_id": "BOTFGNN8VSYFTDE",
"price": {
"mrp": 100,
"selling_price": 100,
"currency": "INR"
},
"tax": {
"hsn": "39264099",
"tax_code" : "GST_5"
},
"listing_status": "ACTIVE",
"fulfillment_profile": "NON_FBF",
"fulfillment": {
"dispatch_sla": 1,
"shipping_provider": "FLIPKART",
"procurement_type": "REGULAR"
},
"packages": [
{
"name": "RHBUS001",
"dimensions": {
"length": 1,
"breadth": 1,
"height": 1
},
"weight": 1,
"notional_value": {
"amount": 1,
"unit": "PERCENTAGE"
}
}
],
"locations": [
{
"id": "WH",
"status": "ENABLED",
"inventory": 1
}
]
}
}
并从 API 的调用中获取响应:
{
"sku": {
"status": "FAILURE",
"errors": [
{
"severity": "ERROR",
"code": 25001,
"description": "Invalid FSN BOTFGNN8VSYFTDE."
}
]
}
}