Code2ASIN

Code2ASIN maps your EAN barcodes to Amazon ASINs, enabling you to list products on Amazon without manual lookups.


POST/code2asin/jobs

Create a mapping job

Submits a list of EANs for ASIN mapping.

Body parameters

  • Name
    eans
    Type
    array
    Description

    List of EANs to map to ASINs. Maximum 1,000 per job.

  • Name
    marketplace
    Type
    string
    Description

    Amazon marketplace to search: amazon.fr, amazon.de, amazon.co.uk, amazon.com. Default: amazon.fr.

Request

POST
/code2asin/jobs
curl -X POST https://api.productsmanager.app/api/v1/code2asin/jobs \
  -H "Authorization: Bearer {api_key}" \
  -H "Content-Type: application/json" \
  -d '{
    "eans": ["3760000000001", "3760000000002"],
    "marketplace": "amazon.fr"
  }'

Response

{
  "id": "c2a_01HQ...",
  "status": "pending",
  "ean_count": 2,
  "marketplace": "amazon.fr",
  "created_at": "2024-03-15T09:00:00Z"
}

GET/code2asin/jobs/{id}

Get job status

Returns the status and results of a Code2ASIN mapping job.

Path parameters

  • Name
    id
    Type
    string
    Description

    The Code2ASIN job ID.

Request

GET
/code2asin/jobs/{id}
curl https://api.productsmanager.app/api/v1/code2asin/jobs/c2a_01HQ... \
  -H "Authorization: Bearer {api_key}"

Response

{
  "id": "c2a_01HQ...",
  "status": "completed",
  "marketplace": "amazon.fr",
  "results": [
    {
      "ean": "3760000000001",
      "asin": "B0123456789",
      "title": "Produit A on Amazon",
      "confidence": "high"
    },
    {
      "ean": "3760000000002",
      "asin": null,
      "confidence": "not_found"
    }
  ],
  "completed_at": "2024-03-15T09:01:05Z"
}

Was this page helpful?