AdminPublishableApiKeyResource
admin/publishable-api-keys.AdminPublishableApiKeyResource
Methods
addSalesChannelsBatch
addSalesChannelsBatch(id
, payload
, customHeaders?
): ResponsePromise
<AdminPublishableApiKeysRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPublishableApiKeysRes
>
create
create(payload
, customHeaders?
): ResponsePromise
<AdminPublishableApiKeysRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPublishableApiKeysRes
>
delete
delete(id
, customHeaders?
): ResponsePromise
<DeleteResponse
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<DeleteResponse
>
deleteSalesChannelsBatch
deleteSalesChannelsBatch(id
, payload
, customHeaders?
): ResponsePromise
<AdminPublishableApiKeysRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPublishableApiKeysRes
>
list
list(query?
, customHeaders?
): ResponsePromise
<AdminPublishableApiKeysListRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPublishableApiKeysListRes
>
listSalesChannels
listSalesChannels(id
, query?
, customHeaders?
): ResponsePromise
<AdminSalesChannelsListRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminSalesChannelsListRes
>
retrieve
retrieve(id
, query?
, customHeaders?
): ResponsePromise
<AdminPublishableApiKeysRes
>
Parameters
id
stringRequiredquery
objectcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPublishableApiKeysRes
>
revoke
revoke(id
, customHeaders?
): ResponsePromise
<AdminPublishableApiKeysRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPublishableApiKeysRes
>
update
update(id
, payload
, customHeaders?
): Promise
<any
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
Promise
<any
>
Promise
Promise<any>Required
Promise
Promise<any>Required