Hierarchy

  • BundleLineItems

Properties

Methods

Properties

impersonating: boolean = false

Methods

  • Description

    enables impersonation by calling the subsequent method with the stored impersonation token

    Example

    BundleLineItems.As().List() // lists BundleLineItems using the impersonated users' token
    

    Returns BundleLineItems

  • Create a new bundle line item. If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned. Check out the docs for more info

    Type Parameters

    • TLineItem extends LineItem<any, any, any, any, any, TLineItem>

    Parameters

    • direction: OrderDirection

      Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.

    • orderID: string

      ID of the order.

    • bundleID: string

      ID of the bundle.

    • bundleItems: BundleItems<any, any, any, any, any>
    • requestOptions: RequestOptions = {}

    Returns Promise<RequiredDeep<TLineItem>>

  • Delete a bundle line item. Check out the docs for more info

    Parameters

    • direction: OrderDirection

      Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.

    • orderID: string

      ID of the order.

    • bundleID: string

      ID of the bundle.

    • bundleItemID: string

      ID of the bundle item.

    • requestOptions: RequestOptions = {}

    Returns Promise<void>

Generated using TypeDoc