Skip to main content

Get Product By Id

You can use this service to get product details by merchantProductId.

Request

curl --location --request GET '<BASE_URL>/merchant-products/{merchantProductId}'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='

Path Variables

ParameterTypeRequired
Description
merchantProductIdIntegerYesProduct Id

Request Parameters

ParameterTypeRequired
Description
sellerCodeStringYesSeller Code
merchantCodeStringYesThe merchant code to which the product belongs.

Response

200 OK

{
"id": 1288,
"name": "Kenar Köşe Aparatı | Dıego Impact",
"model": "",
"description": null,
"categoryTree": "Entegrasyon",
"brand": "Fakir",
"mainCategoryId": 3,
"categoryId": 3,
"subCategoryId": 106,
"subCategoryBrandId": 1037,
"merchantName": "Fakir",
"warrantyYear": 2,
"setupRequired": false,
"createdAt": "2023-05-14 14:03",
"updatedAt": "2023-06-15 21:59",
"source": "TSOFT",
"productCode": "TSOFT-3183-45017509"
}