General information #
Base url #
https://partner.hustlegotreal.com/api/productinformation
Authentification #
All calls must include a header “token” with the public token provided.
Example
“token”: “UzeLodERPrLhyNPYfk/nFanUfwcP19sibK-h7ToAXbrcqE69G1”
Request and Responses #
In case of a method Post, body data must be send in json format.
Responses will always be JSON objects that will contain next format.
Field | Type | |
---|---|---|
status | string | Values: SUCCESS, ERROR |
error | Error Type | Only if status is ERROR |
result | Varies by endpoint | Only if status is SUCCESS |
Example #
{
"status":"ERROR",
"error":{
"code":"ERR_02",
"description":"Url empty or invalid"
}
}
Endpoints #
List #
Path | Method |
---|---|
/request | Post |
/result | Get |
/callcounter | Get |
/Request #
Method: Post
Creates a request to get product information. It will return one key that has to be used with the endpoint /Result to get the product information.
Body request #
Field | Type | Notes |
---|---|---|
url | string | |
country | string | ISO 3166: US, ES, DE, IT… |
includeStockInformation | boolean | (OPTIONAL) false if not included |
Example #
{
"url":"https://www.amazon.co.uk/dp/B005EJH6Z",
"country":"GB"
}
Response result #
Field | Type | Notes |
---|---|---|
key | string | Key that |
Example #
{
"key": "7",
}
/Result #
Mehod: Get
Gets the product information made by /Request if finished. If not it will return error.
Parameters #
key: string
Example #
/Result?key=2
Response result (if product has been already scraped) #
Field | Type | Notes |
---|---|---|
customsku | string | |
ean | string | |
price | decimal | Null when it is out of stock |
title | string[] | |
paragraphs | string[] | |
properties | string[] | |
images | string[] | |
tableValues | KeyValuePair[] | |
categories | string[] | |
variations | VariationType[] | |
warehouse | string | ISO 3166: US, ES, DE, IT… |
warehouses | WarehouseElement[] | List of other warehouses available |
options | OptionInfo[] | Null if includeStockInformation = false |
Example #
{
"customsku": "CJAM133661601AZ",
"ean": null,
"price": 3.39,
"title": "Silicone Grip Device Finger Exercise Stretcher Arthritis Hand Grip Trainer Strengthen Rehabilitation Training To Relieve Pain Black",
"paragraphs": [
"1. Exercise finger strength2. Silicone is not easy to deform3. Soft and comfortable to the touch4. Suitable for all ages5. Sturdy and compact to wear6. Strong and durable.",
"Product Name: Silicone Finger PullerNet weight: 24gMaterial: Food grade siliconeColor: black/blue/light grayRally classification: Silicone RallyChoose according to fitness effect: exercise your fingersColor: gray (small intensity), blue (medium intensity), black (high intensity)",
"Silicone Finger Puller*1"
],
"properties": [],
"images": [
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/4d1023fa-0bb9-4e5f-adf2-d16ddf047b9f.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/bf44d9ad-0d0f-43ad-be59-41fd9a889206.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/f81217bc-121d-494d-93ef-fed75a033069.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/1ae27fa3-7456-48c0-b9b1-b8f091ca0b1c.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/1ba29006-dbb2-4edc-928d-c9aceebf216b.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/ac70faa8-697f-44f8-87d1-97eaa80ce0a5.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/553bfc75-0b15-4c59-a6c0-375de04d73e4.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/ff2fdf94-f050-4f1d-ac4d-15cda9a202e7.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/b2d532aa-669e-4534-90da-dedc781235bc.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/0d241141-993e-4711-bff2-4a9c1b40da59.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/2245d9e2-331e-4dd1-beaa-582fe90b944e.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/4fce808f-8792-4aff-9a6c-01517be79768.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/d38477ae-86a6-4f2d-ae31-4ee9ca5079e7.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/b377cd19-97e0-4f85-a005-48bd738bc621.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/bc4b9526-be23-4a24-b457-f1dc988b3bb8.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/b5d7f007-98eb-4c29-ae3a-7146e66a3f64.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/c7089c8e-0020-4003-a437-c4adb81850f6.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/7ba05367-b456-478c-b892-fc7b07900f39.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/e2883715-b508-427c-8df8-68596910cefd.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/cb2a82c6-dc57-4f88-a686-4d3b67e09711.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/c5c946e7-723c-4181-a9d4-9300309c95b5.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/f0cb9931-170b-4eca-8140-ca5667c44fe6.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/40ad7b31-e6b5-40a3-be87-96a3a3e5e995.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/0c334cd2-d987-40ac-9630-4fd092ccfca5.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/aab03ea7-5c00-4532-abf6-3e766e7ea8b7.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/a96fc1bd-5d9e-4e46-a1ed-0f6ea066d5f3.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/9080705d-2062-4223-8d55-00ce1e3ad588.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/71a6e334-0205-4691-a976-72cba00bb54d.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/f995c9b4-9273-4360-9389-bef69c4c605c.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/714041f2-609a-429d-bf6f-ff0037aae46f.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/c71401f8-696e-4962-a27f-700d4f2f06ac.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/42217830-8de8-49e8-bc10-da7a7151351b.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/29f9928e-81be-4f15-bbc7-f0f9af0899e1.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/3d45f5b9-93a7-4808-a0a8-d6b19776de2f.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/8d69049d-32ce-40ba-9f9c-4761e65ba356.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/e14776e8-8bff-4f46-874d-c6bb8d2e904b.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/ea8fc012-72f5-4bda-abe8-a04304bbeb5d.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/c803d513-26ee-44af-9d65-787284e5fb22.jpg",
"Https://cc-west-usa.oss-accelerate.aliyuncs.com/8ea66a5c-5ec8-424b-a5fd-8d13d6ba8950.jpg"
],
"tableValues": [],
"categories": [
"Sports & Outdoors",
"Other Sports Equipment",
"Fitness & Bodybuilding"
],
"variations": [
{
"url": "https://cjdropshipping.com/product-detail/1454693325318787072?variation=cjam133661601az",
"attributes": [
{
"key": "Color",
"value": "Black"
}
]
},
{
"url": "https://cjdropshipping.com/product-detail/1454693325318787072?variation=cjam133661602by",
"attributes": [
{
"key": "Color",
"value": "Grey"
}
]
},
{
"url": "https://cjdropshipping.com/product-detail/1454693325318787072?variation=cjam133661603cx",
"attributes": [
{
"key": "Color",
"value": "Blue"
}
]
},
{
"url": "https://cjdropshipping.com/product-detail/1454693325318787072?variation=cjam133661604dw",
"attributes": [
{
"key": "Color",
"value": "Set"
}
]
}
],
"warehouse":"US",
"warehouses":[
{
"url": "https://cjdropshipping.com/product-detail/3F6048AB-5C50-4BB2-8E16-A9AA8EA6DD8A?variation=&warehouse=CN",
"country": "CN"
}
],
"options":[
{
"price":456.3,
"shipping": 3,
"prime": 0,
"condition": 0
}
]
}
/CallCounter #
Mehod: Get
Gets the current number of successfull calls done by Get endpoint during the current month
No parameters are needed
Response #
Field | Type | Notes |
---|---|---|
quantity | int |
Example #
{
"quantity":25
}
Types #
Error Type #
Field | Type | Notes |
---|---|---|
code | string | Values contained in Error List |
description | string |
Example #
{
"code":"ERR_05",
"description":"Unknown error"
}
Error List #
Code | Description |
---|---|
ERR_01 | Your Token is wrong |
ERR_02 | Url empty or invalid |
ERR_03 | Country wrong or invalid |
ERR_04 | Unable to obtain product information |
ERR_05 | Unknown error |
ERR_06 | Supplier or country not recognised. Try looking for this supplier in a different country |
ERR_07 | Wrong request key |
ERR_08 | Product information is not yet available |
ERR_09 | Product doesn’t exists |
Variation Type #
Field | Type | Notes |
---|---|---|
url | string | |
atributes | KeyValuePair[] |
Example #
{
"url": "https://cjdropshipping.com/product-detail/1454693325318787072?variation=cjam133661604dw",
"attributes": [
{
"key": "Color",
"value": "Set"
}
]
}
KeyValuePair #
Field | Type | Notes |
---|---|---|
key | string | |
value | string |
Example #
{
"key":"Color",
"value":"Red"
}
WarehouseElement #
Field | Type | Notes |
---|---|---|
url | string | |
country | string | ISO 3166: US, ES, DE, IT… |
Example #
{
"url": "https://cjdropshipping.com/product-detail/3F6048AB-5C50-4BB2-8E16-A9AA8EA6DD8A?variation=&warehouse=CN",
"country": "CN"
}
OptionInfo Type #
Field | Type | Notes |
---|---|---|
price | number | |
shipping | number | Shipping time days |
prime | number | Prime Enum |
condition | number | (OPTIONAL) Condition Enum |
Example #
{
"price":456.3,
"shipping": 3,
"prime": 0,
"condition": 0
}
Prime enum #
Meaning | Value (Amazon) |
---|---|
0 | Not Prime |
1 | Prime |
Condition enum #
Meaning | Value (Amazon) |
---|---|
0 | New (default) |
1 | Like New |
2 | Very Good |
3 | Good |
4 | Acceptable |