Skip to main content

Class: AdminNotesResource

Hierarchy

  • default

    AdminNotesResource

Methods

create

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

Parameters

NameType
payloadAdminPostNotesReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminNotesRes>

Defined in

medusa-js/src/resources/admin/notes.ts:14


delete

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

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<DeleteResponse>

Defined in

medusa-js/src/resources/admin/notes.ts:31


list

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

Parameters

NameType
query?AdminGetNotesParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminNotesListRes>

Defined in

medusa-js/src/resources/admin/notes.ts:47


retrieve

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

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminNotesRes>

Defined in

medusa-js/src/resources/admin/notes.ts:39


update

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

Parameters

NameType
idstring
payloadAdminPostNotesNoteReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminNotesRes>

Defined in

medusa-js/src/resources/admin/notes.ts:22