Saltar al contenido principal
GET
/
products
/
{productId}
/
variants
Listar
curl --request GET \
  --url https://sandbox.api.riqra.com/products/{productId}/variants \
  --header 'api-key: <api-key>'
{
  "data": [
    {
      "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
    }
  ]
}

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
integer<int64>
required

ID del producto.

Response

OK

data
ProductVariant · object[]