curl --request GET \
--url https://api.selltrust.com.br/api/v1/product/{id}/variants \
--header 'Authorization: <authorization>'[
{
"id": "uuid-da-variante",
"store_id": "uuid-da-loja",
"category_id": "uuid-da-categoria",
"title": "Variante Ouro",
"slug": "variante-ouro",
"description": "<p>Detalhes...</p>",
"images": [],
"hide_product": false,
"is_bundle": false,
"price": 199.9,
"comparison_price": 229.9,
"min_quantity": null,
"inventory_amount": 50,
"parent_id": "uuid-do-combo",
"sales_count": 10,
"chat_enabled": false,
"chat_welcome_message": null,
"instructions": null,
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
]
curl --request GET \
--url https://api.selltrust.com.br/api/v1/product/{id}/variants \
--header 'Authorization: <authorization>'[
{
"id": "uuid-da-variante",
"store_id": "uuid-da-loja",
"category_id": "uuid-da-categoria",
"title": "Variante Ouro",
"slug": "variante-ouro",
"description": "<p>Detalhes...</p>",
"images": [],
"hide_product": false,
"is_bundle": false,
"price": 199.9,
"comparison_price": 229.9,
"min_quantity": null,
"inventory_amount": 50,
"parent_id": "uuid-do-combo",
"sales_count": 10,
"chat_enabled": false,
"chat_welcome_message": null,
"instructions": null,
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
]
Bearer <seu_token>.[
{
"id": "uuid-da-variante",
"store_id": "uuid-da-loja",
"category_id": "uuid-da-categoria",
"title": "Variante Ouro",
"slug": "variante-ouro",
"description": "<p>Detalhes...</p>",
"images": [],
"hide_product": false,
"is_bundle": false,
"price": 199.9,
"comparison_price": 229.9,
"min_quantity": null,
"inventory_amount": 50,
"parent_id": "uuid-do-combo",
"sales_count": 10,
"chat_enabled": false,
"chat_welcome_message": null,
"instructions": null,
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
]