Saltar al contenido principal
GET
/
products
/
{productId}
Obtener
curl --request GET \
  --url https://sandbox.api.riqra.com/products/{productId} \
  --header 'api-key: <api-key>'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "description": "<string>",
    "seo": {
      "title": "<string>",
      "description": "<string>"
    },
    "isPublished": true,
    "isFeatured": true,
    "order": 123,
    "extraFields": {},
    "mainVariant": {
      "id": 123,
      "sku": "<string>",
      "erpCode": "<string>",
      "price": 123,
      "stock": 123,
      "images": [
        {
          "url": "<string>",
          "order": 123
        }
      ],
      "order": 123,
      "priceIsTaxExempt": true,
      "salesUnitFactor": 1,
      "jumpFactor": 1,
      "attributes": [
        {
          "name": "<string>",
          "value": "<string>"
        }
      ],
      "extraFields": {},
      "weight": 123,
      "length": 123,
      "width": 123,
      "height": 123
    },
    "subcategories": [
      123
    ],
    "attributes": [
      "<string>"
    ],
    "shortDescription": "<string>"
  }
}

Authorizations

api-key
string
header
required

Todas las llamadas al API tienen que contener este header junto a la clave para poder autenticar y autorizar al cliente.

Path Parameters

productId
string
required

ID del producto.

Response

OK

data
Product · object