Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Supplier can use this API to Update one or more products by version up.

  • It is used when updating a existing product.

  • Before doing update, xlsx including exist products information download must be preceded in other endpoint. - Product - Download Latest.

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

2. API Spec

1) Request

Endpoint

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

Method

POST

Description

Update existing product.

Content-Type

multipart/form-data

...

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 - https://axchange.atlassian.net/wiki/spaces/AC/pages/edit-v2/378109983

4) Error Spec

Status Code

Message

Solution

403

Need valid supplier access key.

The valid supplier access key must be entered

400

Need valid depth combination file and contents file.Check the guide sheet of the depth combination, contents and enter a valid value for each column2 excel and at least 1 image.

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

5) Response Example

Code Block
languagepy
{
  "messagetask_id": "Success",915c1218-f41c-492b-bb0b-96177ff4d2ee"
}
Code Block
languagepy
{
  "status_code": 201403,
  "datamessage": {"Need valid supplier access  "not_processed_company_code": []
  }
key."
}
Code Block
languagepy
{
  "status_code": 403400,
  "message": "Need valid supplier access key2 excel and at least 1 image."
}

3. Request Example

1) CURL

...