curl --request GET \
--url https://api.wizcommerce.com/v1/products/{id} \
--header 'X-API-Key: <api-key>'
{
"data": {
"id": "01f5d171-d3e3-4b2b-bd57-0727194b5bed",
"reference_id": "SKU123",
"sku": "SKU123",
"name": "Product Name",
"group_code": "PRD1",
"medias": [
{
"is_default": true,
"type": "image",
"url": "https://example.com/image1.jpg"
}
],
"is_primary": true,
"status": "active",
"attributes": [
{
"id": "1234567890",
"name": "color",
"value": "red"
}
],
"created_at": "<string>",
"updated_at": "<string>",
"price_lists": [
{
"created_at": "<string>",
"id": "<string>",
"max_order_quantity": 123,
"min_order_quantity": 123,
"price": 123,
"step_increment": 123,
"updated_at": "<string>"
}
]
}
}
Get Product By ID
curl --request GET \
--url https://api.wizcommerce.com/v1/products/{id} \
--header 'X-API-Key: <api-key>'
{
"data": {
"id": "01f5d171-d3e3-4b2b-bd57-0727194b5bed",
"reference_id": "SKU123",
"sku": "SKU123",
"name": "Product Name",
"group_code": "PRD1",
"medias": [
{
"is_default": true,
"type": "image",
"url": "https://example.com/image1.jpg"
}
],
"is_primary": true,
"status": "active",
"attributes": [
{
"id": "1234567890",
"name": "color",
"value": "red"
}
],
"created_at": "<string>",
"updated_at": "<string>",
"price_lists": [
{
"created_at": "<string>",
"id": "<string>",
"max_order_quantity": 123,
"min_order_quantity": 123,
"price": 123,
"step_increment": 123,
"updated_at": "<string>"
}
]
}
}
API Key for authentication
Product ID
OK
The response is of type object
.
Was this page helpful?