Skip to main content

Class: AdminShippingProfilesResource

Hierarchy

  • default

    AdminShippingProfilesResource

Methods

create

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

Parameters

NameType
payloadAdminPostShippingProfilesReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminShippingProfilesRes>

Defined in

medusa-js/src/resources/admin/shipping-profiles.ts:12


delete

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

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<DeleteResponse>

Defined in

medusa-js/src/resources/admin/shipping-profiles.ts:29


list

list(customHeaders?): ResponsePromise<AdminShippingProfilesListRes>

Parameters

NameType
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminShippingProfilesListRes>

Defined in

medusa-js/src/resources/admin/shipping-profiles.ts:45


retrieve

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

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminShippingProfilesRes>

Defined in

medusa-js/src/resources/admin/shipping-profiles.ts:37


update

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

Parameters

NameType
idstring
payloadAdminPostShippingProfilesProfileReq
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminShippingProfilesRes>

Defined in

medusa-js/src/resources/admin/shipping-profiles.ts:20