Skip to content

Upload a product catalog.

Request

Upload a product catalog as a CSV file. The file is validated in the same request: a valid file answers status ready with its catalog_id and sku_count; a file that fails validation answers an error and is recorded as a failed catalog, which List catalogs shows.

Security
BearerAuthenticationV2
Bodymultipart/form-datarequired
filestring, (binary)required

The catalog file. Its format, encoding, size limit and required columns are under Catalog file in the Product Catalog section.

Example:"@catalog.csv"
namestring

Your own label for the catalog, shown in List catalogs. When omitted, name is null.

Example:"Summer skincare"
curl -i -X POST \
  https://yce-api-01.makeupar.com/s2s/v2.1/product-catalog \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F file=@@catalog.csv \
  -F 'name=Summer skincare'

Responses

The catalog was uploaded and is ready for Skin Analysis

Bodyapplication/json
statusinteger

Response status

Example:200
dataobject(ProductCatalog)
Response
{ "status": 200, "data": { "catalog_id": "1662043585118399001", "name": "Summer skincare", "status": "ready", "created_time": 1760256000000, "sku_count": 3 } }