@medusajs/types
Version:
Medusa Types definition
39 lines • 813 B
TypeScript
export interface AdminCreateCollection {
/**
* The collection's title.
*/
title: string;
/**
* The collection's handle.
*/
handle?: string;
/**
* Key-value pairs of custom data.
*/
metadata?: Record<string, any>;
}
export interface AdminUpdateCollection {
/**
* The collection's title.
*/
title?: string;
/**
* The collection's handle.
*/
handle?: string;
/**
* Key-value pairs of custom data.
*/
metadata?: Record<string, any> | null;
}
export interface AdminUpdateCollectionProducts {
/**
* IDs of products to add to the collection.
*/
add?: string[];
/**
* IDs of products to remove from the collection.
*/
remove?: string[];
}
//# sourceMappingURL=payloads.d.ts.map