GET
/tenants/{tenantId}/catalog/variant-references
Resolve authorized variant labels by up to 100 UUIDv7 IDs or 100 SKUs · General
- Autenticación
- SupabaseBearer · http bearer
Ejemplo
Los valores entre <> y {} son marcadores: sustitúyelos
por los tuyos antes de ejecutarlo.
curl --request GET \
--url 'https://api.marky.ec/v1/tenants/{tenantId}/catalog/variant-references' \
--header 'Authorization: Bearer <SupabaseBearer>'
Parámetros
| Nombre | En | Tipo | Descripción |
|---|---|---|---|
tenantIdobligatorio
|
path | stringformato uuid |
|
ids
|
query | stringlongitud máx. 3699 |
Comma-separated distinct UUIDv7 variant IDs. Unknown or foreign variants are omitted. Requires catalog.read. Exactly one of `ids` and `skus` is sent. |
skus
|
query | stringlongitud máx. 10099 |
Comma-separated distinct SKUs, normalised as the catalogue stores them. Returns the variants that hold them, archived ones included: a SKU stays taken after its variant is archived. Unknown SKUs are omitted, so what is missing from the answer is free. Exactly one of `ids` and `skus` is sent. |
Respuestas
200 Authorized workspace metadata
application/jsonobjectsin otras propiedades
-
itemsobligatorioarrayelementos máx. 100Cada elementoCatalogVariantReferenceobjectsin otras propiedadesHow a variant is named wherever it is referred to: its SKU, the general name of its product and what tells its versions apart. The same fields a search result carries, so a selection read back by id is named as when it was chosen. No costs, suppliers, attributes or serials.
-
idobligatoriostringformato uuid -
productIdobligatoriostringformato uuid -
skuobligatoriostring -
productNameobligatoriostring -
storageobligatoriostring | nulllongitud máx. 100 -
colorobligatoriostring | nulllongitud máx. 100 -
simTypeobligatoriouno de "ESIM", "PHYSICAL_SIM", "PHYSICAL_ESIM", "DUAL_SIM", "NOT_APPLICABLE" -
trackingModeobligatoriouno de "SERIALIZED", "QUANTITY", "NONE"How the stock of the article is kept. Only a SERIALIZED article has physical units with IMEI or serial number.
-
conditionobligatoriostring | nulluno de "NEW", "USED", "REFURBISHED", "OPEN_BOX", "AS_IS", nullWhat the SKU says its units are: the condition a new unit is proposed with. Null when the SKU states none and each unit says its own.
-
gradeobligatoriostring | nulluno de "A", "B", "C", nullThe grade the SKU states for its units, when it states one.
-