Skip to main content

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

ParameterTypeRequired
Description
productCodeStringYesProduct Code

Request Parameters

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

Response

200 OK
{
"merchantProductId": "<integer>"
}