In general, every WebAPI call must include the required access token to enable access or for user validation processes in the HTTP Header.
curl -X 'GET' \
'https://openapimcp.matahari.co.id:9001/Brand/GetBrandsByUser' \
-H 'accept: */*' \
-H 'Authorization: Bearer eyJhbGciertghjiuytdkitjdoifcuhsdauhfcsidnbvcybflhbuyv'
Authorization in the HTTP header must include the text "Bearer" at the beginning of the access token. Obtaining the access token requires user credentials by logging in first. For testing purposes, developers can use the following user credentials:
BaseUrl : https://openapimcp.matahari.co.id:9001/
Email : cvdev@mail.com
Passw : Vendor123!
Base URL for the production environment: https://mcp.matahari.co.id:81/ Please use MCP user credentials for registered users or suppliers. For users or suppliers who do not yet have an MCP account, please request registration with Supplier Service MDS.
New users or suppliers with an MCP account must first change their password from the randomly generated string sent via email to a new password. Instructions on how to change the password are available under Authentication > Change Password.
There are requirements for creating a password, which include:
- At least 6 characters
- At least 1 uppercase letter
- At least 1 symbol
- At least 1 lowercase letter
Developers can use the following testing tools Postman or Swagger MCP.OpenAPI