文档中心 > Miravia Open Platform

Miravia - API explorer

更新时间:2022/11/29 访问次数:1002

Miravia Open Platform provides an API testing tool named “API Explorer” for you to test the APIs on the platform.

Take the following steps to start the API Explorer:
1. Open the APP Console and click Manage for your application.
2. On the App Management page, click API Explorer from the left navigation panel.
3. On the API Explorer page, enter the marketplace and API name, and specify the parameters to test APIs.

Please note that the API Explorer uses online data from the production environment.

Parameter description

Description of the API Explorer parameters is as follows:

Name

Description

Sample value

Region

Name of the marketplace (2 Miravia Ventures).

API endpoint URL:https://api.miravia.es

Spain

API Path

Path of the API to be tested. For the list of API path, see API name mapping.

/brands/get

HTTP Method

Most APIs are called via GET, some calls that get additional request data are sent via POST.

GET or POST

App Key

The unique identity of your application on Miravia Open Platform, which is generated when the application is created.

100126

Access Token

The token that is required for your application to access sensitive data of sellers. For details, see Configure seller authorization.

 

Business parameters

The business parameters for the API that is to be tested.

 

Request

When the parameters are specified, click the Start Test button, the request URL is generated and displayed in the Request field.

For the "/category/brands/query" API, the request URL can be:

https://api.miravia.es/rest/category/brands/query?startRow=1&pageSize=100&app_key=500404&sign_method=sha256&timestamp=1657265294717&sign=8F490F605C47B1B970948AF92FA9195CDD7042520007DE1540358B702E7C9A20

Response

The API response body for the specified parameters.

For the "/category/brands/query" API, the response can be:

{

   "data": [

       {

           "global_brand_id": 21432887736,

           "local_brand_name": "Alexander Mcqueen",

           "trademark_code_list": [],

           "features": "unionValueId:21432887736;valueData:arise74001_Alexander Mcqueen",

           "sample_product_image_list": [],

           "global_brand_name": "Alexander Mcqueen",

           "id": 91,

           "main_category_list": [],

           "merge_status": -1,

           "features_map": {

               "unionValueId": "21432887736",

               "valueData": "arise74001_Alexander Mcqueen"

           },

           "local_brand_market": "ES",

           "local_brand_id": 21432887736,

           "status": 1

       }

   ],

   "code": "0",

   "request_id": "2103871316572653736721363"

}

FAQ

关于此文档暂时还没有FAQ
返回
顶部