Request

URL https://sspi-ext-report.adpopcorn.com/v1/metadata/coupang/products
HTTP Method GET

Request Headers

Header Name Type Value Required Description
Authorization String Bearer ${access_token} Yes Send your generated access token in place of ${access_token} for authorization.
Example:

curl “https://sspi-ext-report.adpopcorn.com/v1/metadata/coupang/products?page=1” -H “Authorization: Bearer test_access_token” -L |

Request Query Parameters

The following table lists parameters you can use to build requests.

Parameter Name Type Required Description
page Integer No Number of displayed page, Default: 1
pageSize Integer No Number of records to be displayed on one page, Default: 50
sortBy String No By default, the sort order is ascending. To change descending, prefix a minus sign to the requested field. Example:
sortBy=-category_id,product_id

Response

Header Name Type Description
Content-Type application/json JSON response

Response Body Parameters

The following table lists parameters returns in API responses.

Body Parameter Type Description
alert String Alert message from server. In most cases, it will be null, Example: “alert”: null
page Integer Number of displayed page,
page_size Integer Number of records to be displayed on one page
page_count Integer
total_record_count Integer
records Array of Product The main table-like data structure

Product

Body Parameter Type Description
category_id Numeric ID of category
category_name String Category name
is_rocket Boolean Indicates whether the rocket delivery.
is_free_shipping Boolean Indicates whether free shipping.
product_id String ID of product.
product_name String Product name
product_price Numeric
product_url String
product_image String

Sample JSON

{
	"alert": null,
	"page": 1,
	"page_size": 50,
	"page_count": 2,
	"total_record_count": 71,
	"records": [
		{
			"category_id": 1,
			"category_name": "test category",
			"is_rocket": false,
			"is_free_shipping": false,
			"product_id": "test product id 1",
			"product_name": "test product name 1",
			"product_price": 18170,
      "product_url": "<coupang link>",
      "product_image": "<coupang product image url>"
		},
		{
	    "category_id": 1,
			"category_name": "test category",
      "is_rocket": false,
      "is_free_shipping": false,
      "product_id": "test product id 2",
      "product_name": "test product name 2",
      "product_price": 31300,
      "product_url": "<coupang link>",
      "product_image": "<coupang product image url>"
	  }
	]
}

HTTP Status Codes

The table below lists common HTTP status codes sent in REST API responses from the Adpopcorn API platform.