Skip to main content

Class: AdminOrderEditsResource

Hierarchy

  • default

    AdminOrderEditsResource

Methods

addLineItem

addLineItem(id, payload, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
idstring
payloadAdminPostOrderEditsEditLineItemsReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:72


cancel

cancel(id, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:98


confirm

confirm(id, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:106


create

create(payload, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
payloadAdminPostOrderEditsReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:47


delete

delete(id, customHeaders?): ResponsePromise<DeleteResponse>

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<DeleteResponse>

Defined in

medusa-js/src/resources/admin/order-edits.ts:64


deleteItemChange

deleteItemChange(orderEditId, itemChangeId, customHeaders?): ResponsePromise<AdminOrderEditItemChangeDeleteRes>

Parameters

NameType
orderEditIdstring
itemChangeIdstring
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditItemChangeDeleteRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:81


list

list(query?, customHeaders?): ResponsePromise<AdminOrderEditsListRes>

Parameters

NameType
query?GetOrderEditsParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsListRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:33


removeLineItem

removeLineItem(orderEditId, itemId, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
orderEditIdstring
itemIdstring
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:124


requestConfirmation

requestConfirmation(id, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:90


retrieve

retrieve(id, query?, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
idstring
query?GetOrderEditsOrderEditParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:18


update

update(id, payload, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
idstring
payloadAdminPostOrderEditsOrderEditReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:55


updateLineItem

updateLineItem(orderEditId, itemId, payload, customHeaders?): ResponsePromise<AdminOrderEditsRes>

Parameters

NameType
orderEditIdstring
itemIdstring
payloadAdminPostOrderEditsEditLineItemsLineItemReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminOrderEditsRes>

Defined in

medusa-js/src/resources/admin/order-edits.ts:114

Was this page helpful?