Class: AdminBatchJobsResource
Hierarchy
default
↳
AdminBatchJobsResource
Methods
cancel
▸ cancel(batchJobId
, customHeaders?
): ResponsePromise
<AdminBatchJobRes
>
Parameters
Name | Type |
---|---|
batchJobId | string |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminBatchJobRes
>
Defined in
medusa-js/src/resources/admin/batch-jobs.ts:35
confirm
▸ confirm(batchJobId
, customHeaders?
): ResponsePromise
<AdminBatchJobRes
>
Parameters
Name | Type |
---|---|
batchJobId | string |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminBatchJobRes
>
Defined in
medusa-js/src/resources/admin/batch-jobs.ts:43
create
▸ create(payload
, customHeaders?
): ResponsePromise
<AdminBatchJobRes
>
Parameters
Name | Type |
---|---|
payload | AdminPostBatchesReq |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminBatchJobRes
>
Defined in
medusa-js/src/resources/admin/batch-jobs.ts:13
list
▸ list(query?
, customHeaders?
): ResponsePromise
<AdminBatchJobListRes
>
Parameters
Name | Type |
---|---|
query? | AdminGetBatchParams |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminBatchJobListRes
>
Defined in
medusa-js/src/resources/admin/batch-jobs.ts:21
retrieve
▸ retrieve(batchJobId
, customHeaders?
): ResponsePromise
<AdminBatchJobRes
>
Parameters
Name | Type |
---|---|
batchJobId | string |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminBatchJobRes
>