Add minor change in client api
This commit is contained in:
@@ -1072,7 +1072,8 @@ export const updateGiftItemStatus = <ThrowOnError extends boolean = false>(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Reserve Gift Item
|
* Reserve Gift Item
|
||||||
* Reserve a gift item for a guest.
|
* Reserve a gift item for a guest with specified quantity.
|
||||||
|
* Default quantity is 1 if not provided.
|
||||||
*/
|
*/
|
||||||
export const reserveGiftItem = <ThrowOnError extends boolean = false>(
|
export const reserveGiftItem = <ThrowOnError extends boolean = false>(
|
||||||
options: Options<ReserveGiftItemData, ThrowOnError>,
|
options: Options<ReserveGiftItemData, ThrowOnError>,
|
||||||
|
|||||||
@@ -1676,6 +1676,7 @@ export type ReserveGiftItemData = {
|
|||||||
};
|
};
|
||||||
query: {
|
query: {
|
||||||
guest_id: string;
|
guest_id: string;
|
||||||
|
quantity?: number | null;
|
||||||
notes?: string | null;
|
notes?: string | null;
|
||||||
};
|
};
|
||||||
url: "/api/v1/events/gifts/items/{item_id}/reserve";
|
url: "/api/v1/events/gifts/items/{item_id}/reserve";
|
||||||
|
|||||||
Reference in New Issue
Block a user