Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • API

Index

Constructors

Properties

Methods

Constructors

constructor

  • new API(transport: API): API

Properties

Private transport

transport: API

Handles communication with API

Methods

create

  • create(product: FullProduct, headers: object): Promise<AxiosResponse>
  • Creates product

    Parameters

    • product: FullProduct

      Offer to accept

    • headers: object

      Request headers

    Returns Promise<AxiosResponse>

    A Promise that resolves to an object with product create result

Generated using TypeDoc