Saltar al contenido principal
GET
/
products
/
{productId}
/
variants
/
{variantId}
Obtener
curl --request GET \
  --url https://sandbox.api.riqra.com/products/{productId}/variants/{variantId} \
  --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
required
variantId
integer
required

Response

200 - application/json

OK

data
ProductVariant · object