exshopify v0.7.1 Shopify.ProductVariant

https://help.shopify.com/en/api/reference/products/product_variant

Link to this section Summary

Functions

Retrieve a count of all product variants

Create a product variant

Delete a product variant

Retrieve a product variant

Retrieve a list of product variants

Update a product variant

Link to this section Functions

Link to this function count(product_id)
count(binary()) :: Shopify.Operation.t()

Retrieve a count of all product variants.

Link to this function create(product_id, params)
create(binary(), map()) :: Shopify.Operation.t()

Create a product variant.

Link to this function delete(product_id, variant_id)
delete(binary(), binary()) :: Shopify.Operation.t()

Delete a product variant.

Link to this function get(product_id, variant_id)

Retrieve a product variant.

Link to this function list(product_id, params \\ %{})
list(binary(), map()) :: Shopify.Operation.t()

Retrieve a list of product variants.

Link to this function update(product_id, variant_id, params)
update(binary(), binary(), map()) :: Shopify.Operation.t()

Update a product variant.