Documentation

ChannelCurrencyAssignmentsApi extends V3ApiBase

Channel Currency Assignments API

Example for finding all the currency assignments. Note that the parent id is effectively just a filter.

$api = new BigCommerce\ApiV3\Client($_ENV['hash'], $_ENV['CLIENT_ID'], $_ENV['ACCESS_TOKEN']);

$allCurrencyAssignments = $api->channels()->currencyAssignments()->getAll()->getCurrencyAssignments();
$channelCurrencyAssignments = $api->channel(1)->currencyAssignments()->getAll()->getCurrencyAssignments();

Table of Contents

__construct()  : mixed
batchCreate()  : ChannelCurrencyAssignmentsResponse
batchUpdate()  : ChannelCurrencyAssignmentsResponse
create()  : ChannelCurrencyAssignmentsResponse
getAll()  : ChannelCurrencyAssignmentsResponse
getClient()  : Client
getParentResourceId()  : int|null
getResourceId()  : int|null
multipleResourceUrl()  : string
Currency Assignment endpoints are different, they are all multiple resource endpoints, that may or may not be filtered by channel id.
singleResourceUrl()  : string
update()  : ChannelCurrencyAssignmentsResponse

Methods

__construct()

public __construct(Client $client[, int|null $resourceId = null ][, int|null $parentResourceId = null ]) : mixed
Parameters
$client : Client
$resourceId : int|null = null
$parentResourceId : int|null = null
Return values
mixed

getParentResourceId()

public getParentResourceId() : int|null
Return values
int|null

getResourceId()

public getResourceId() : int|null
Return values
int|null

multipleResourceUrl()

Currency Assignment endpoints are different, they are all multiple resource endpoints, that may or may not be filtered by channel id.

public multipleResourceUrl() : string
Return values
string

Search results