Product - Download Latest
1. Download Latest Product
Supplier can use this API to download file related one or more products for update.
It is used when downloading zip file related product that compose of depth combination xlsx, contents xlsx, images.
If you enter validate access key and common code list, you can download files that you will use for update your product. - Product - Update
2. API Spec
1) Request
Endpoint |
|
---|---|
Method |
|
Description | Download xlsx file about existing products. |
Content-Type |
|
2) Body Parameter
Name | Required | Type | Description |
---|---|---|---|
supplier_access_key | O | String |
|
supplier_unit_common_codes | O | List[String] |
|
versions | O | List[String] |
|
3) Request Example
(1) Validate
{
"supplier_access_key": "86e8b65a-d008-4e23-90d3-99b0f639c0e5",
"supplier_unit_common_codes": ["c1e973a5", "795c20fe"],
"versions": ["1.0", "2.0"]
}
(2) invalidate
{
"supplier_access_key": "86e8b65a-d008-4e23-90d3-99b0f639c0e5",
"supplier_unit_common_codes": ["not_existing_common_code"]
}
4) Response
Name | Type | Description |
---|---|---|
wholeness.zip | File | Files
|
5) Error Spec
Status Code | Message | Solution |
---|---|---|
403 |
| The valid supplier access key must be entered |
400 |
| The valid supplier unit common code list must be entered |
6) Response Example
{
"status_code": 403,
"message": "Need valid supplier access key."
}
3. Request Example
1) CURL
4. Limitation
supplier_unit_common_codes
Common code must be exist in DB by your upload.
versions
Version must be exist in DB by your upload. Version is mixture that compose of major_version and minor_version.