Skip to content

Product

Request

Obtén los datos de un producto en especifico buscado su id

Security
api-key
Query
web_idstring

The web_id of the product

skustring

The SKU of the product

curl -i -X GET \
  'https://mercately.shop/api/v1/products/:id_or_sku?web_id=string&sku=string' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
object
Response
{ "web_id": "CRasFSldo7", "title": "Camiseta Gráfica Premium", "description": "Camiseta con diseño gráfico exclusivo", "quantity": 85, "price": "39.99", "active": true, "url": null, "sku": "CAM-GRA-010", "wholesale_price": "20.0", "images": [], "subcategory": { "web_id": "GETPvRKnBD", "name": "Camisetas", "description": "", "products_count": 5, "active_products_count": 2 }, "category": { "web_id": "ljsJpi0fTR", "name": "Ropa", "description": "", "products_count": 11, "active_products_count": 6 }, "product_variants": [ { … }, { … } ], "product_variant_combinations": [ { … }, { … } ] }