/
Product - Download Latest

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

https://prod.ax-cloud.com/v1/wholeness-download

Method

POST

Description

Download xlsx file about existing products.

Content-Type

application/json

2) Body Parameter

Name

Required

Type

Description

Name

Required

Type

Description

supplier_access_key

O

String

  • Access right key issued by AX

supplier_unit_common_codes

O

List[String]

  • Existing product ID list

versions

O

List[String]

  • Existing product version list

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

Name

Type

Description

wholeness.zip

File

Files

  • Depth combination file

  • Contents xlsx file

  • Image files

5) Error Spec

Status Code

Message

Solution

Status Code

Message

Solution

403

Need valid supplier access key.

The valid supplier access key must be entered

400

Need validate supplier unit common code, not not_existing_common_code.

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.


Related content

Product - Create New
Product - Create New
More like this
API - Request
Read with this
Inventory - Download Latest
Inventory - Download Latest
More like this
Product - Update
More like this
Inventory - Update
Inventory - Update
More like this
API - Start
More like this