/
Inventory - Download Latest

Inventory - Download Latest

1. Download Latest Inventory

  • You can obtain inventory information of the desired product, version, date, and time.

2. API Spec

1) Request

Endpoint

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

Method

POST

Description

Download xlsx file about existing inventories.

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]

  • Product’s specific version

3) Request Example

(1) Validate

{ "supplier_access_key": "86e8b65a-d008-4e23-90d3-99b0f639c0e5", "supplier_unit_common_codes": ["c1e973a5", "795c20fe"], "versions": ["1.1", "3.5"] }

(2) invalidate

# supplier_unit_common_codes error { "supplier_access_key": "86e8b65a-d008-4e23-90d3-99b0f639c0e5", "supplier_unit_common_codes": ["not_exist_common_code"], "versions": ["1.1", "3.5"] }
# versions type error { "supplier_access_key": "86e8b65a-d008-4e23-90d3-99b0f639c0e5", "supplier_unit_common_codes": ["c1e973a5", "795c20fe"], "versions": [1.1, 3.5] }

4) Response

Name

Type

Description

Name

Type

Description

inventory.xlsx

File

Inventory xlsx added columns related inventory to depth combination xlsx

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 valid supplier unit common code, not {not_existing_common_code}-{1.0}.

The valid supplier unit common code list and version list must be entered

6) Response Example

3. Request Example

1) CURL

4. Limitation

  • supplier_unit_common_codes, versions

    • Common code - version pair must be exist in DB by your upload.


Related content

Inventory - Update
Inventory - Update
More like this
Product - Update
More like this
Product - Create New
Product - Create New
More like this
Product - Download Latest
Product - Download Latest
More like this
인벤토리 - 가용성 정보 조회
인벤토리 - 가용성 정보 조회
More like this
API - Start
More like this