ordercloud-javascript-sdk
    Preparing search index...

    Class PromotionIntegrations

    Index
    • Returns this

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

      PromotionIntegrations.As().List() // lists PromotionIntegrations using the impersonated users' token
      
    • Delete a promotion integration Check out the docs for more info

      Parameters

      • requestOptions: RequestOptions = {}
        • OptionalaccessToken?: string

          Alternative token to the one stored in the sdk instance (useful for impersonation).

        • OptionalcancelToken?: CancelToken

          Axios cancelToken that can be used to cancel the request.

        • OptionalrequestType?: string

          Identify the type of request. Useful for error logs.

      Returns Promise<void>