Skip to main content

Class: OrderEditsResource

Hierarchy

  • default

    OrderEditsResource

Methods

complete

complete(id, customHeaders?): Promise<any>

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

Promise<any>

Defined in

medusa-js/src/resources/order-edits.ts:26


decline

decline(id, payload, customHeaders?): Promise<any>

Parameters

NameType
idstring
payloadStorePostOrderEditsOrderEditDecline
customHeadersRecord<string, any>

Returns

Promise<any>

Defined in

medusa-js/src/resources/order-edits.ts:17


retrieve

retrieve(id, customHeaders?): ResponsePromise<StoreOrderEditsRes>

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<StoreOrderEditsRes>

Defined in

medusa-js/src/resources/order-edits.ts:9