/
Product - Create New

Product - Create New

1. Create New

  • Supplier can use this API to create one or more products.

  • It is used when registering a new product.

  • This endpoint only generates task id. So you can check progress status other endpoint. - Product - Check Task Status

2. API Spec

1) Request

Endpoint

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

Method

POST

Description

Register new product.

Content-Type

multipart/form-data

2) Body Parameter

Name

Required

Type

Description

Name

Required

Type

Description

supplier_access_key

O

String

depth_combination

O

File

  • An xlsx file no larger than 2MB to create purchase option units for products

contents

O

File

  • An xlsx file no larger than 2MB to create detail information of products

images

O

List[File]

  • The name of each file, including the extension, is specified in the contents file

  • A list of jpg(jpeg) or png, each no larger than 1MB

 

3) Response

Name

Type

Description

Name

Type

Description

task_id

UUID

This task takes quite a bit of time. So this endpoint return only task id. You can use this task id for checking task status to other endpoint - Product - Check Task Status

4) 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 2 excel and at least 1 image.

The valid files composed of depth combination, contents, images must be entered

5) Response Example

{ "task_id": "915c1218-f41c-492b-bb0b-96177ff4d2ee" }
{ "status_code": 403, "message": "Need valid supplier access key." }
{ "status_code": 400, "message": "Need 2 excel and at least 1 image." }

3. Request Example

1) CURL

4. Limitation

  • supplier_access_key

    • It must be the same as the company code of the depth combination file

  • File

    • The depth combination is xlsx file no larger than 2MB

    • The contents is an xlsx file no larger than 2MB

    • Each image must be a jpg(jpeg) or png file no larger than 1MB

  • Total size limit for all files

    • The total size limit is 100 MB


Related content

Product - Update
More like this
Product - Download Latest
Product - Download Latest
More like this
상품 - 등록 투어상품 매핑 요청
상품 - 등록 투어상품 매핑 요청
More like this
상품 - 투어상품 조회
상품 - 투어상품 조회
Read with this
Inventory - Update
Inventory - Update
More like this
주문 - 투어상품 주문 생성
주문 - 투어상품 주문 생성
Read with this