Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WoocommerceProductsService

Index

Constructors

constructor

Properties

Private httpClient

httpClient: HttpClient

Private wooHelper

Methods

createProduct

  • Create a Product

    Parameters

    Returns Observable<Product>

deleteProduct

  • deleteProduct(id: number): Observable<Product>
  • Update Product

    Parameters

    • id: number

    Returns Observable<Product>

retrieveProduct

  • retrieveProduct(id: number): Observable<Product>
  • Retrieve a product

    Parameters

    • id: number

    Returns Observable<Product>

retrieveProductReview

  • retrieveProductReview(productId: number, reviewId: number): Observable<ProductReview>
  • Retrieve product reviews by product id

    Parameters

    • productId: number
    • reviewId: number

    Returns Observable<ProductReview>

retrieveProductReviews

  • Retrieve product reviews by product id

    Parameters

    • productId: string

    Returns Observable<ProductReviewsResponse>

retrieveProducts

updateProduct

  • Update Product

    Parameters

    Returns Observable<Product>

Generated using TypeDoc