@medusajs/types
Version:
Medusa Types definition
41 lines • 921 B
TypeScript
/**
* The shipping profile to be created.
*/
export interface CreateShippingProfileDTO {
/**
* The name of the shipping profile.
*/
name: string;
/**
* The type of the shipping profile.
*/
type: string;
/**
* Holds custom data in key-value pairs.
*/
metadata?: Record<string, unknown> | null;
}
/**
* The attributes to update in the shipping profile.
*/
export interface UpdateShippingProfileDTO {
/**
* The name of the shipping profile.
*/
name?: string;
/**
* The type of the shipping profile.
*/
type?: string;
/**
* Holds custom data in key-value pairs.
*/
metadata?: Record<string, unknown> | null;
}
/**
* The attributes to update in the shipping profile.
*/
export interface UpsertShippingProfileDTO extends UpdateShippingProfileDTO {
id?: string;
}
//# sourceMappingURL=shipping-profile.d.ts.map