diff --git a/docs/data-sources/function.md b/docs/data-sources/function.md new file mode 100644 index 0000000..0e241c0 --- /dev/null +++ b/docs/data-sources/function.md @@ -0,0 +1,29 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "shopify_function Data Source - shopify" +subcategory: "" +description: |- + Shopify Function Data Source +--- + +# shopify_function (Data Source) + +Shopify Function Data Source + + + + +## Schema + +### Required + +- `app_title` (String) +- `title` (String) + +### Optional + +- `api_type` (String) + +### Read-Only + +- `id` (String) The ID of this resource. diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..d65dcd3 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,39 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "shopify Provider" +subcategory: "" +description: |- + Shopify Function Registry +--- + +# shopify Provider + +Shopify Function Registry + +## Example Usage + +```terraform +terraform { + required_providers { + shopify = { + source = "registry.terraform.io/pseudomonarchia/terraform-provider-shopify" + version = "0.0.1" + } + } +} + +provider "shopify" { + store_domain = ".myshopify.com" + store_access_token = "" + store_api_version = "2024-07" +} +``` + + +## Schema + +### Required + +- `store_access_token` (String, Sensitive) The store's access token +- `store_api_version` (String) The store's API version +- `store_domain` (String) The store's URL, formatted as .myshopify.com diff --git a/docs/resources/delivery.md b/docs/resources/delivery.md new file mode 100644 index 0000000..0c9ec02 --- /dev/null +++ b/docs/resources/delivery.md @@ -0,0 +1,26 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "shopify_delivery Resource - shopify" +subcategory: "" +description: |- + Shopify Function Delivery Customization Resource +--- + +# shopify_delivery (Resource) + +Shopify Function Delivery Customization Resource + + + + +## Schema + +### Required + +- `enabled` (Boolean) +- `function_id` (String) +- `title` (String) + +### Read-Only + +- `id` (String) The ID of this resource. diff --git a/docs/resources/discount.md b/docs/resources/discount.md new file mode 100644 index 0000000..4bccb3a --- /dev/null +++ b/docs/resources/discount.md @@ -0,0 +1,40 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "shopify_discount Resource - shopify" +subcategory: "" +description: |- + Shopify Function Discount Automatic Resource +--- + +# shopify_discount (Resource) + +Shopify Function Discount Automatic Resource + + + + +## Schema + +### Required + +- `combines_with` (Attributes) (see [below for nested schema](#nestedatt--combines_with)) +- `function_id` (String) +- `starts_at` (String) +- `title` (String) + +### Optional + +- `ends_at` (String) + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `combines_with` + +Required: + +- `order_discounts` (Boolean) +- `product_discounts` (Boolean) +- `shipping_discounts` (Boolean) diff --git a/docs/resources/payment.md b/docs/resources/payment.md new file mode 100644 index 0000000..b3ae900 --- /dev/null +++ b/docs/resources/payment.md @@ -0,0 +1,26 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "shopify_payment Resource - shopify" +subcategory: "" +description: |- + Shopify Function Payment Customization Resource +--- + +# shopify_payment (Resource) + +Shopify Function Payment Customization Resource + + + + +## Schema + +### Required + +- `enabled` (Boolean) +- `function_id` (String) +- `title` (String) + +### Read-Only + +- `id` (String) The ID of this resource.