@izak0s/spacebring-api - v7.1.0
    Preparing search index...

    Interface GetCouponsQuery

    Query parameters for sb.discounts.coupons.list().

    interface GetCouponsQuery {
        locationRef: string;
        type?:
            | "subscriptionItems"
            | "creditPackages"
            | "desks"
            | "equipment"
            | "events"
            | "products"
            | "rooms";
        limit?: number;
        nextPageToken?: string;
    }
    Index
    locationRef: string

    The id of the location

    type?:
        | "subscriptionItems"
        | "creditPackages"
        | "desks"
        | "equipment"
        | "events"
        | "products"
        | "rooms"

    Comma-separated list of coupon types to filter by

    limit?: number

    The number of coupons to retrieve. Default: 25

    nextPageToken?: string

    Token to retrieve the next page of results.