Bootstrap

jq 分页对接接口_Mercadolibre 美客多平台 API接口 相关

官方接口地址

API Docs​global-selling.mercadolibre.com

github SDK 及 示例代码

mercadolibre/php-sdk​github.com
bbab7337ab20404e0dc89b32b734f782.png

下面是示例个人示例代码

token刷新及授权

function token($row){
	$user_id  = $row['user_id'];
	$client_id = $row['client_id'];
	$client_secret  = $row['client_secret'];
	$refresh_token  = $row['refresh_token'];
	$access_token   = $row['access_token'];
	$redirect_uri   = $row['redirect_uri'];
	$date           = $row['date'];
	$time = time();
	if($access_token){//获取刷新token
		$url='https://api.mercadolibre.com/oauth/token?grant_type=refresh_token&client_id='.$client_id.'&client_secret='.$client_secret.'&refr
;