Deletes the product details.
Deletes the product details.
the identifier of the client
the optional identifier of the site. If set to null
the product will be deleted at a client level;
otherwise it will be deleted at the site level.
the identifier of the product
a Future
with true
if the product delete was successful, false
otherwise.
Retrieves a product.
Retrieves a product.
the identifier of the client
the identifier of the site
the identifier of the product
a Future
with the ProductItem wrapped in a Some
if it exists, None
otherwise.
Updates the product details.
Updates the product details.
the identifier of the client
the optional identifier of the site. If set to null
the product will be updated at a client level;
otherwise it will be updated at the site level.
the identifier of the product
a map of keys to product attributes to use for updating the current product definition
a Future
with true
if the product update was successful, false
otherwise.
Interface for clients capable of interacting with the Product Feeder module, by fetching, updating or deleting products.