Get Product ID by Product Code
You can retrieve the product ID based on the productCode
Request
curl --location --request GET '<BASE_URL>/merchant-products/product-code/{productCode}'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='
Path Variables
Parameter | Type | Required | Description |
---|---|---|---|
productCode | String | Yes | Product Code |
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
sellerCode | String | Yes | Seller Code |
merchantCode | String | Yes | The merchant code to which the product belongs. |
Response
200 OK
{
"merchantProductId": "<integer>"
}