Skip to main content
POST
/
api
/
products
/
create-from-ean-registry
Create product from EAN registry
curl --request POST \
  --url https://app.buylo.ai/api/products/create-from-ean-registry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ean": "8594001524129"
}
'
{
  "data": {
    "id": 123,
    "product_id": "ABC123",
    "name": "Brazil Santos Coffee",
    "category": "Coffee",
    "description": "Roasted Arabica coffee beans from Brazil",
    "ean": "8594001524129",
    "brand": "CoffeeCo",
    "sale_price": 199.99,
    "sale_price_currency": {},
    "vat_rate": 21,
    "unit": "kg",
    "product_data": {},
    "epc_hashes": [],
    "warehouse_nodes": [],
    "created_at": "2025-08-06T12:00:00Z",
    "updated_at": "2025-08-06T12:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ean
string
required

European Article Number (must be exactly 13 digits)

Required string length: 13
Example:

"8594001524129"

Response

Product successfully created from EAN registry

data
object
required