Get Products
You can filter your products using this service.
Request
curl --location --request GET '<BASE_URL>/merchant-products'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
page | Integer | No | Used for pagination. The default value and minimum value is 1. |
size | Integer | No | Used for pagination. The default value is 10. Min 1 - Max 200 |
mainCategoryId | Integer | No | Searches by main categoryId. |
categoryId | Integer | No | Searches by categoryId. |
subCategoryId | Integer | No | Searches by subcategoryId. |
subCategoryBrandId | Integer | No | Searches by brandId. |
name | String | No | Searches by name. |
brand | String | No | Searches by brand. |
sellerCode | String | Yes | Seller Code |
merchantCode | String | Yes | The merchant code to which the product belongs. |
Response
200 OK
{
"content": [
{
"id": 23891,
"name": "Arçelik No Frost Bulaşık Makinesi 2022",
"model": "HG3342",
"description": null,
"categoryTree": "Elektronik > Beyaz Eşya > Bulaşık Makinesi",
"brand": "Arçelik",
"mainCategoryId": 1,
"categoryId": 7,
"subCategoryId": 36,
"subCategoryBrandId": 886,
"merchantName": "Fakir",
"warrantyYear": 2,
"setupRequired": true,
"createdAt": "2023-07-17 22:46",
"updatedAt": "2023-07-31 14:07",
"source": "PANEL",
"productCode": "e1bce2c449674094b52c8378959918cd",
"imageUrl": null
},
{
"id": 17549,
"name": "ALTUS 3 Programlı Çamaşır Makinesi Beyaz",
"model": "AL 403 MP E Enerji Sınıfı",
"description": "",
"categoryTree": "Elektronik > Beyaz Eşya > Çamaşır Makinesi",
"brand": "Altus",
"mainCategoryId": 1,
"categoryId": 7,
"subCategoryId": 35,
"subCategoryBrandId": 883,
"merchantName": "Fakir",
"warrantyYear": 4,
"setupRequired": true,
"createdAt": "2023-06-13 18:06",
"updatedAt": "2023-07-26 23:22",
"source": "PANEL",
"productCode": "15df612c6f6a4f04a07a2baf32608c83",
"imageUrl": null
}
],
"totalPages": 12,
"totalElements": 23,
"size": 2,
"page": 1,
"empty": false
}
Source
CICEKSEPETI
HEPSIBURADA
IDEASOFT
IKAS
N11
PANEL
TRENDYOL
TSOFT
API_INTEGRATION
PARTNER
SHOPIFY
Info
If the source
enum value is PANEL
, the product was added through the panel. If it is API_INTEGRATION
, the product was added via this integration. Other values indicate the platform from which the product was added.