Path parameters
-
store string Required
Store to get product list from.
Query parameters
-
product_id string
product (platform) ID for product to get.
-
page_no integer(int32)
Page number
-
page_size integer(int32)
Page size
-
is_onsale boolean
filter onsale products
-
created_range string
The time range of products created at, use ISO_8601 format here, e.g. 2007-03-01T13:00:00Z/2008-05-11T15:30:00Z
-
updated_range string
The time range of products updated at, use ISO_8601 format here, e.g. 2007-03-01T13:00:00Z/2008-05-11T15:30:00Z
GET /product/{store}
curl \
-X GET https://nomad.samarkand-global.cn/envoy/product/{store} \
-H "x-ca-key: $API_KEY"
Response example (200)
{
"code": 42,
"message": "string",
"connectorResponses": [
{
"input": "string",
"mappingName": "GetProductMapping",
"api": [
"string"
],
"apiDocLink": "https://open.pinduoduo.com/#/apidocument/port?portId=pdd.goods.commit.detail.get",
"httpRequestRawData": "-",
"code": 42,
"response": "string",
"responseEn": "string",
"platform": "youzan",
"requestCount": 1,
"responseTime": 1000
}
],
"responseTime": 1000,
"data": {
"returnValue": "string",
"products": [
{
"productId": 123456,
"name": "COLAB Dry Shampoo",
"nameEn": "COLAB Dry Shampoo",
"skus": [
{
"skuNumber": "SMK123",
"price": 10,
"rrp": 8,
"groupBuyingPrice": 6,
"cost": 200,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"barcode": 55001234567,
"color": "green",
"size": "small",
"quantity": 10,
"isOnsale": false,
"netWeight": 30.3,
"grossWeight": 35.3,
"shippingCost": 4.2,
"shippingTime": 7,
"model": "iPhone XR",
"spec": "25mm",
"customsUnitCode": "142, 007, 瓶, ...",
"customsUnitCodePackage": "142, 011, 140",
"customsUnitCodeWeight": "035(means 千克, kilogram)",
"availableStock": 6,
"warehouseStock": 6,
"warehouse": "142, 011, 140"
}
],
"currency": "RMB",
"massUnit": "Kilogram",
"timeUnit": "days",
"barcode": 55001234567,
"description": "Some nice dry shampoo for when you cant be bothered to shower",
"price": 7,
"rrp": 8,
"groupBuyingPrice": 6,
"netWeight": 30.3,
"grossWeight": 35.3,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"isOnsale": false,
"status": "draft",
"category": [
"All",
"Cloth",
"Top"
],
"vendor": "Apple",
"country": "France",
"shelfLife": 21,
"createdAt": "2019-03-19T08:57:41.133Z",
"updatedAt": "2019-03-19T08:57:41.133Z",
"logisticsMode": "red_auto",
"shippingCost": 4.2,
"shippingTime": 7,
"hsCode": "7606929900",
"personalPostalArticlesTax": "01000000",
"ingredient": "Silk",
"model": "iPhone XR",
"spec": "25mm",
"warrantyPeriod": 180,
"expressType": "string",
"discount": 0,
"taxRate": 0,
"brand": "Nike",
"storeId": "samarkand.xxx",
"categoryId": "12345"
}
],
"product": {
"productId": 123456,
"name": "COLAB Dry Shampoo",
"nameEn": "COLAB Dry Shampoo",
"skus": [
{
"skuNumber": "SMK123",
"price": 10,
"rrp": 8,
"groupBuyingPrice": 6,
"cost": 200,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"barcode": 55001234567,
"color": "green",
"size": "small",
"quantity": 10,
"isOnsale": false,
"netWeight": 30.3,
"grossWeight": 35.3,
"shippingCost": 4.2,
"shippingTime": 7,
"model": "iPhone XR",
"spec": "25mm",
"customsUnitCode": "142, 007, 瓶, ...",
"customsUnitCodePackage": "142, 011, 140",
"customsUnitCodeWeight": "035(means 千克, kilogram)",
"availableStock": 6,
"warehouseStock": 6,
"warehouse": "142, 011, 140"
}
],
"currency": "RMB",
"massUnit": "Kilogram",
"timeUnit": "days",
"barcode": 55001234567,
"description": "Some nice dry shampoo for when you cant be bothered to shower",
"price": 7,
"rrp": 8,
"groupBuyingPrice": 6,
"netWeight": 30.3,
"grossWeight": 35.3,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"isOnsale": false,
"status": "draft",
"category": [
"All",
"Cloth",
"Top"
],
"vendor": "Apple",
"country": "France",
"shelfLife": 21,
"createdAt": "2019-03-19T08:57:41.133Z",
"updatedAt": "2019-03-19T08:57:41.133Z",
"logisticsMode": "red_auto",
"shippingCost": 4.2,
"shippingTime": 7,
"hsCode": "7606929900",
"personalPostalArticlesTax": "01000000",
"ingredient": "Silk",
"model": "iPhone XR",
"spec": "25mm",
"warrantyPeriod": 180,
"expressType": "string",
"discount": 0,
"taxRate": 0,
"brand": "Nike",
"storeId": "samarkand.xxx",
"categoryId": "12345"
},
"productId": "string"
}
}
Response example (500)
{
"code": 42,
"message": "string",
"connectorResponses": [
{
"input": "string",
"mappingName": "GetProductMapping",
"api": [
"string"
],
"apiDocLink": "https://open.pinduoduo.com/#/apidocument/port?portId=pdd.goods.commit.detail.get",
"httpRequestRawData": "-",
"code": 42,
"response": "string",
"responseEn": "string",
"platform": "youzan",
"requestCount": 1,
"responseTime": 1000
}
],
"responseTime": 1000,
"data": {
"returnValue": "string",
"products": [
{
"productId": 123456,
"name": "COLAB Dry Shampoo",
"nameEn": "COLAB Dry Shampoo",
"skus": [
{
"skuNumber": "SMK123",
"price": 10,
"rrp": 8,
"groupBuyingPrice": 6,
"cost": 200,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"barcode": 55001234567,
"color": "green",
"size": "small",
"quantity": 10,
"isOnsale": false,
"netWeight": 30.3,
"grossWeight": 35.3,
"shippingCost": 4.2,
"shippingTime": 7,
"model": "iPhone XR",
"spec": "25mm",
"customsUnitCode": "142, 007, 瓶, ...",
"customsUnitCodePackage": "142, 011, 140",
"customsUnitCodeWeight": "035(means 千克, kilogram)",
"availableStock": 6,
"warehouseStock": 6,
"warehouse": "142, 011, 140"
}
],
"currency": "RMB",
"massUnit": "Kilogram",
"timeUnit": "days",
"barcode": 55001234567,
"description": "Some nice dry shampoo for when you cant be bothered to shower",
"price": 7,
"rrp": 8,
"groupBuyingPrice": 6,
"netWeight": 30.3,
"grossWeight": 35.3,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"isOnsale": false,
"status": "draft",
"category": [
"All",
"Cloth",
"Top"
],
"vendor": "Apple",
"country": "France",
"shelfLife": 21,
"createdAt": "2019-03-19T08:57:41.133Z",
"updatedAt": "2019-03-19T08:57:41.133Z",
"logisticsMode": "red_auto",
"shippingCost": 4.2,
"shippingTime": 7,
"hsCode": "7606929900",
"personalPostalArticlesTax": "01000000",
"ingredient": "Silk",
"model": "iPhone XR",
"spec": "25mm",
"warrantyPeriod": 180,
"expressType": "string",
"discount": 0,
"taxRate": 0,
"brand": "Nike",
"storeId": "samarkand.xxx",
"categoryId": "12345"
}
],
"product": {
"productId": 123456,
"name": "COLAB Dry Shampoo",
"nameEn": "COLAB Dry Shampoo",
"skus": [
{
"skuNumber": "SMK123",
"price": 10,
"rrp": 8,
"groupBuyingPrice": 6,
"cost": 200,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"barcode": 55001234567,
"color": "green",
"size": "small",
"quantity": 10,
"isOnsale": false,
"netWeight": 30.3,
"grossWeight": 35.3,
"shippingCost": 4.2,
"shippingTime": 7,
"model": "iPhone XR",
"spec": "25mm",
"customsUnitCode": "142, 007, 瓶, ...",
"customsUnitCodePackage": "142, 011, 140",
"customsUnitCodeWeight": "035(means 千克, kilogram)",
"availableStock": 6,
"warehouseStock": 6,
"warehouse": "142, 011, 140"
}
],
"currency": "RMB",
"massUnit": "Kilogram",
"timeUnit": "days",
"barcode": 55001234567,
"description": "Some nice dry shampoo for when you cant be bothered to shower",
"price": 7,
"rrp": 8,
"groupBuyingPrice": 6,
"netWeight": 30.3,
"grossWeight": 35.3,
"images": {
"ids": [
"string"
],
"urls": [
"string"
],
"uploads": [
"string"
]
},
"isOnsale": false,
"status": "draft",
"category": [
"All",
"Cloth",
"Top"
],
"vendor": "Apple",
"country": "France",
"shelfLife": 21,
"createdAt": "2019-03-19T08:57:41.133Z",
"updatedAt": "2019-03-19T08:57:41.133Z",
"logisticsMode": "red_auto",
"shippingCost": 4.2,
"shippingTime": 7,
"hsCode": "7606929900",
"personalPostalArticlesTax": "01000000",
"ingredient": "Silk",
"model": "iPhone XR",
"spec": "25mm",
"warrantyPeriod": 180,
"expressType": "string",
"discount": 0,
"taxRate": 0,
"brand": "Nike",
"storeId": "samarkand.xxx",
"categoryId": "12345"
},
"productId": "string"
}
}