Properties

$shop_domain

$shop_domain : 

Type

$token

$token : 

Type

$api_key

$api_key : 

Type

$secret

$secret : 

Type

$last_response_headers

$last_response_headers : 

Type

Methods

__construct()

__construct( $shop_domain,  $token,  $api_key,  $secret)

Parameters

$shop_domain
$token
$api_key
$secret

setToken()

setToken( $token)

Parameters

$token

getAuthorizeUrl()

getAuthorizeUrl( $scope,  $redirect_url)

Parameters

$scope
$redirect_url

getAccessToken()

getAccessToken( $code)

Parameters

$code

callsMade()

callsMade()

callLimit()

callLimit()

callsLeft()

callsLeft( $response_headers)

Parameters

$response_headers

call()

call( $method,  $path,  $params)

Parameters

$method
$path
$params

validateSignature()

validateSignature( $query)

Parameters

$query

curlHttpApiRequest()

curlHttpApiRequest( $method,  $url,  $query,  $payload,  $request_headers)

Parameters

$method
$url
$query
$payload
$request_headers

curlAppendQuery()

curlAppendQuery( $url,  $query)

Parameters

$url
$query

curlSetopts()

curlSetopts( $ch,  $method,  $payload,  $request_headers)

Parameters

$ch
$method
$payload
$request_headers

curlParseHeaders()

curlParseHeaders( $message_headers)

Parameters

$message_headers

shopApiCallLimitParam()

shopApiCallLimitParam( $index)

Parameters

$index