From 2348a168e3845d4bbd6ae3e2e735d291338da582 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Mon, 25 Aug 2025 11:32:53 +0300 Subject: [PATCH] docs: updates to billing and usage guides (#13222) * docs: updates to billing and usage guides * address comments * fix build error * add note on billing questions * Update www/apps/cloud/app/billing/page.mdx Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> --- www/apps/cloud/app/billing-usage/page.mdx | 149 ------------------ www/apps/cloud/app/billing/manage/page.mdx | 94 +++++++++++ www/apps/cloud/app/billing/page.mdx | 106 +++++++++++++ .../app/environments/long-lived/page.mdx | 4 +- www/apps/cloud/app/organizations/page.mdx | 8 +- www/apps/cloud/app/projects/page.mdx | 5 +- www/apps/cloud/app/usage/page.mdx | 74 +++++++++ www/apps/cloud/generated/edit-dates.mjs | 12 +- www/apps/cloud/generated/sidebar.mjs | 22 ++- www/apps/cloud/next.config.mjs | 5 + www/apps/cloud/sidebar.mjs | 16 +- www/vale/styles/docs/Tooling.yml | 1 + 12 files changed, 328 insertions(+), 168 deletions(-) delete mode 100644 www/apps/cloud/app/billing-usage/page.mdx create mode 100644 www/apps/cloud/app/billing/manage/page.mdx create mode 100644 www/apps/cloud/app/billing/page.mdx create mode 100644 www/apps/cloud/app/usage/page.mdx diff --git a/www/apps/cloud/app/billing-usage/page.mdx b/www/apps/cloud/app/billing-usage/page.mdx deleted file mode 100644 index 0ad9e4eabd..0000000000 --- a/www/apps/cloud/app/billing-usage/page.mdx +++ /dev/null @@ -1,149 +0,0 @@ -import { InlineIcon } from "docs-ui" -import { EllipsisHorizontal, ArrowDownTray } from "@medusajs/icons" - -export const metadata = { - title: `Billing & Usage`, -} - -# {metadata.title} - -In this guide, you'll learn how to manage your billing and usage details in Cloud. - -## Billing and Usage Overview - -After signing up for Cloud, you can view and manage your organization's billing and usage details in the Cloud dashboard. - -This is useful if you want to make sure you're not exceeding your usage limits, understand your plan's offerings, and manage your billing details. - ---- - -## Edit Billing Email - -To edit the email used for billing: - -1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). -2. Click on the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. -3. Choose "Organization Settings" from the dropdown. - -![Organization switcher dropdown opened](https://res.cloudinary.com/dza7lstvk/image/upload/v1750238273/Cloud/CleanShot_2025-06-18_at_12.17.33_2x_zcg69z.png) - -4. In the Details section of the General settings, change the "Billing email" field. -5. Once you're done, click the "Save changes" button. - -![Billing email field highlighted in the General settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750238440/Cloud/CleanShot_2025-06-18_at_12.19.41_2x_owgz4a.png) - ---- - -## Manage Payment Method - -You can manage the payment methods used for the monthly Cloud payment subscriptions for your organization. - -### Add Payment Method to Organization - -To add a payment method that can be used for Cloud payments in an organization: - -1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). -2. Click on the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. -3. Choose "Organization Settings" from the dropdown. -4. Change to the "Billing" settings from the sidebar. -5. In the "Payment methods" section, click the "Add new" button. -6. This will open a form where you can add credit card details. -7. Once you're done, click the "Save" button. - -### Set Payment Method as Default - -When Cloud captures the subscription payment for your organization, it first uses the default payment method in your organization. If payment fails, Cloud tries to use other payment methods in the organization, if available. - -When you have multiple payment methods added to your organization, you can change the default payment method. - -To change the default payment method: - -1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). -2. Click on the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. -3. Choose "Organization Settings" from the dropdown. -4. Change to the "Billing" settings from the sidebar. -5. In the "Payment methods" section, find the payment method you want to set as default. -6. Click the icon next to the payment method. -7. Choose "Set as default" from the dropdown. - -The next time Cloud captures the subscription payment for your organization, it will use this payment method first. - ---- - -## Edit Billing Information - -Billing information is used in your organization's invoices. You can edit the billing information to make sure the invoices include the correct details. - -To edit the billing information: - -1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). -2. Click on the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. -3. Choose "Organization Settings" from the dropdown. -4. Change to the "Billing" settings from the sidebar. -5. In the "Billing information" section, you can edit the legal name, country, address line, city, and post code. -6. Once you're done, click the "Save changes" button. - -The new billing information will be used in your organization's next invoice. - -![Billing information section in the Billing settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750241643/Cloud/CleanShot_2025-06-18_at_13.13.34_2x_fjpqpu.png) - ---- - -## View Usage - -In your organization's settings, you can view your current plan and usage limits. - -To view your organization's usage: - -1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). -2. Click on the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. -3. Choose "Organization Settings" from the dropdown. -4. Change to the "Billing" settings from the sidebar. - -You'll find two sections at the top of the Billing settings: - -- **Current plan**: The plan your organization is currently subscribed to and when the next billing date is. -- **Usage limits**: A breakdown of your plan and resources usage. You can see the pricing of your plan and any other add-ons, such as additional projects. - -![Usage limits sections in the Billing settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750241792/Cloud/CleanShot_2025-06-18_at_13.16.23_2x_k7eeay.png) - -### Change Plan - -You set your organization's plan when you sign up for Cloud. However, the plan may not be the best fit for your needs as your business grows. - -If you want to change your plan or learn more about your plan's resources and limits, contact support for assistance. - ---- - -## View Billing History and Invoices - -You can view your payment history in the organization's settings, and download invoices for each payment. - -To view your organization's billing history and invoices: - -1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). -2. Click on the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. -3. Choose "Organization Settings" from the dropdown. -4. Change to the "Invoices" settings from the sidebar. - -This will show a table of all the payments made for your organization, including the date, status, and amount of each payment. - -![Invoices section in the Invoices settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750242280/Cloud/CleanShot_2025-06-18_at_13.20.39_2x_gar9lb.png) - -### Download Invoice - -To download an invoice for a specific payment, click the icon in the same row as the payment you want to download. - -This will open the invoice in a new tab, where you can view and download it as a PDF. - -![Download invoice icon in the Invoices settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750242445/Cloud/CleanShot_2025-06-18_at_13.27.05_2x_qqibor.png) - ---- - -## Handle Unsuccessful Payments - -If a payment for your organization's subscription fails, you'll receive a [notification](../notifications/page.mdx) in the Cloud dashboard. - -The payment may fail for various reasons, such as insufficient funds, an expired card, or other issues with the payment method. Make sure to [update your payment method](#manage-payment-method) if needed. - -If there are no issues with your payment method and the payment still fails, contact support for assistance. \ No newline at end of file diff --git a/www/apps/cloud/app/billing/manage/page.mdx b/www/apps/cloud/app/billing/manage/page.mdx new file mode 100644 index 0000000000..ddfcb7fe9e --- /dev/null +++ b/www/apps/cloud/app/billing/manage/page.mdx @@ -0,0 +1,94 @@ +import { InlineIcon } from "docs-ui" +import { EllipsisHorizontal, ArrowDownTray, ChevronUpDown } from "@medusajs/icons" + +export const metadata = { + title: `Manage Billing Details`, +} + +# {metadata.title} + +In this guide, you'll learn how to manage your organization's billing details in Cloud. + +## Edit Billing Email + +To edit the email used for billing: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. + +![Organization switcher dropdown opened](https://res.cloudinary.com/dza7lstvk/image/upload/v1750238273/Cloud/CleanShot_2025-06-18_at_12.17.33_2x_zcg69z.png) + +4. In the Details section of the General settings, change the "Billing email" field. +5. Once you're done, click the "Save changes" button. + +![Billing email field highlighted in the General settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750238440/Cloud/CleanShot_2025-06-18_at_12.19.41_2x_owgz4a.png) + +--- + +## Edit Tax ID + +To edit the Tax, VAT, EIN, GST, or other tax identification numbers for your organization: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. +4. In the Details section of the General settings, change the "Tax ID" field. +5. Once you're done, click the "Save changes" button. + +![Tax ID field highlighted in the General settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1755264073/Cloud/CleanShot_2025-08-15_at_16.20.44_2x_mukxbe.png) + +--- + +## Edit Billing Information + +Billing information is used in your organization's invoices. You can edit the billing information to make sure the invoices include the correct details. + +To edit the billing information: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. +4. Change to the "Billing" settings from the sidebar. +5. In the "Billing information" section, you can edit the legal name, country, address line, city, and post code. +6. Once you're done, click the "Save changes" button. + +The new billing information will be used in your organization's next invoice. + +![Billing information section in the Billing settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750241643/Cloud/CleanShot_2025-06-18_at_13.13.34_2x_fjpqpu.png) + +--- + +## Manage Payment Methods + +You can manage the payment methods used for the monthly Cloud payment subscriptions for your organization. + +### Add Payment Method to Organization + +To add a payment method that can be used for Cloud payments in an organization: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. +4. Change to the "Billing" settings from the sidebar. +5. In the "Payment methods" section, click the "Add new" button. +6. This will open a form where you can add credit card details. +7. Once you're done, click the "Save" button. + +### Set Payment Method as Default + +When Cloud captures the subscription payment for your organization, it first uses the default payment method in your organization. If payment fails, Cloud tries to use other payment methods in the organization, if available. + +When you have multiple payment methods added to your organization, you can change the default payment method. + +To change the default payment method: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. +4. Change to the "Billing" settings from the sidebar. +5. In the "Payment methods" section, find the payment method you want to set as default. +6. Click the icon next to the payment method. +7. Choose "Set as default" from the dropdown. + +The next time Cloud captures the subscription payment for your organization, it will use this payment method first. diff --git a/www/apps/cloud/app/billing/page.mdx b/www/apps/cloud/app/billing/page.mdx new file mode 100644 index 0000000000..51c5078097 --- /dev/null +++ b/www/apps/cloud/app/billing/page.mdx @@ -0,0 +1,106 @@ +import { InlineIcon } from "docs-ui" +import { ArrowDownTray, ChevronUpDown } from "@medusajs/icons" + +export const metadata = { + title: `Billing`, +} + +# {metadata.title} + +In this guide, you'll learn how billing works in Cloud, and how to view and download invoices. + +## How Billing Works + +Medusa bills your organization monthly. + +Your monthly invoice contains: + +- An upfront charge for the plan you are currently on. +- An upfront charge for the add-ons you have. +- Pro-rated charges for the add-ons you added in the previous billing cycle. +- Charges for your [Flex Usage](../usage/page.mdx#what-is-flex-usage) in the previous billing cycle. + +If your organization goes over its plan's usage limits within the current billing period, charges for your [Flex Usage](../usage/page.mdx#what-is-flex-usage) will be added to your next invoice. + +Learn how to monitor your organization's usage in the [Usage](../usage/page.mdx) guide. + + + +You can reach out to `billing@medusajs.com` for assistance. + + + +--- + +## View Billing History and Invoices + +You can view your payment history in the organization's settings, and download invoices for each payment. + +To view your organization's billing history and invoices: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. +4. Change to the "Invoices" settings from the sidebar. + +This will show a table of your upcoming payment, including your plan's amount and flex charges. + +You can also see a table with all the payments made for your organization, including the date, status, and amount of each payment. + +![Invoices section in the Invoices settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750242280/Cloud/CleanShot_2025-06-18_at_13.20.39_2x_gar9lb.png) + +### Download Invoice + +To download an invoice for a specific payment, click the icon in the same row as the payment you want to download. + +This will open the invoice in a new tab, where you can view and download it as a PDF. + +![Download invoice icon in the Invoices settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1750242445/Cloud/CleanShot_2025-06-18_at_13.27.05_2x_qqibor.png) + +--- + +## Purchase Add-On Resources + +Your organization can purchase additional resources beyond its plan's limits as add-ons. For example, you can purchase additional user seats or environments. + +You can purchase an add-on resource as you're creating that resource. For example, if you're creating a new project and you've already reached your plan's limit for projects, you'll see a note indicating that this project will be billed as an add-on. + +Add-ons are billed monthly in advance, and they are pro-rated based on the number of days remaining in the month when you purchase them. + +For example, if you purchase a $10 Preview Environment halfway through the month, you'll be charged $5 (pro-rated) for usage in the previous billing cycle and $10 upfront for usage in the next. + +### How can I know if I'm being charged for an add-on? + +When you're creating a resource that exceeds your plan's limits, such as a project or user seat, look for a note indicating that you'll be charged an additional amount for that resource. + +For example, you may see a note saying "Creating an additional project adds $X to your bill." + +### Where can I view my add-ons? + +You can view your add-on charges in the [Invoices](#view-billing-history-and-invoices) section of your organization's settings. The add-on charges will be included in the "Upcoming Payments" table. + +--- + +## Change Plan + +You choose your organization's plan when you sign up for Cloud. However, the plan may not be the best fit for your needs as your business grows. + +If you want to change your plan, or learn more about your plan's resources and limits, contact support for assistance. + +--- + +## Handle Unsuccessful Payments + +If a payment for your organization's subscription fails, you'll receive a [notification](../notifications/page.mdx) in the Cloud dashboard. + +The payment may fail for various reasons, such as insufficient funds, an expired card, or other issues with the payment method. Make sure to [update your payment method](./manage/page.mdx#manage-payment-methods) if needed. + +If there are no issues with your payment method and the payment still fails, contact support for assistance. + +--- + +## Cancelling your Organization's Plan + +You can cancel your organization's plan at any time. The plan will be cancelled at the end of the current billing period, and you will be charged for the month's plan and Flex Usage. + +To cancel your organization's plan, contact support for assistance. \ No newline at end of file diff --git a/www/apps/cloud/app/environments/long-lived/page.mdx b/www/apps/cloud/app/environments/long-lived/page.mdx index dcd6903e11..9bd5a0e49c 100644 --- a/www/apps/cloud/app/environments/long-lived/page.mdx +++ b/www/apps/cloud/app/environments/long-lived/page.mdx @@ -1,5 +1,5 @@ import { InlineIcon } from "docs-ui" -import { EllipsisHorizontal } from "@medusajs/icons" +import { EllipsisHorizontal, ChevronUpDown } from "@medusajs/icons" export const metadata = { title: `Long-Lived Environments`, @@ -152,7 +152,7 @@ The environment's name at the top of the dashboard is also an environment switch To switch to a different environment: -1. Click on the environment's name at the top of the Cloud dashboard, next to the project name. +1. Click on the icon next to the environment's name at the top of the Cloud dashboard. 2. Choose the environment you want to switch to from the dropdown. ![Environment switcher dropdown at the top of the dashboard](https://res.cloudinary.com/dza7lstvk/image/upload/v1749815237/Cloud/CleanShot_2025-06-13_at_14.46.54_2x_j4848b.png) diff --git a/www/apps/cloud/app/organizations/page.mdx b/www/apps/cloud/app/organizations/page.mdx index eb793381cc..804370291d 100644 --- a/www/apps/cloud/app/organizations/page.mdx +++ b/www/apps/cloud/app/organizations/page.mdx @@ -1,5 +1,5 @@ import { InlineIcon } from "docs-ui" -import { Plus, EllipsisHorizontal } from "@medusajs/icons" +import { Plus, EllipsisHorizontal, ChevronUpDown } from "@medusajs/icons" export const metadata = { title: `Organizations`, @@ -33,7 +33,7 @@ If you're a member of multiple organizations, you can switch between them to vie To switch to a different organization: -1. Click on the organization name at the top left of the Cloud dashboard. +1. Click on the icon next to the organization name at the top left of the Cloud dashboard. 2. Choose the organization you want to switch to from the dropdown. This will change the view to the selected organization, and you'll see its projects, resources, and settings. @@ -47,7 +47,7 @@ This will change the view to the selected organization, and you'll see its proje To view an organization's settings: 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view. -2. Click on the [organization switcher](#switch-organization) at the top left of the Cloud dashboard. +2. Click on the icon in the [organization switcher](#switch-organization) at the top left of the Cloud dashboard. 3. Choose "Organization Settings" from the dropdown. This will open a new window where you can view and manage an organization's settings. @@ -200,4 +200,4 @@ To edit your profile's details: ## Manage Billing Details -Refer to the [Billing & Usage](../billing-usage/page.mdx) guide to learn how to manage your organization's billing details, including payment methods, invoices, and usage. +Refer to the [Billing](../billing/page.mdx) guide to learn how to manage your organization's billing details, including payment methods, invoices, and usage. diff --git a/www/apps/cloud/app/projects/page.mdx b/www/apps/cloud/app/projects/page.mdx index c3a68bffb4..c8053336fc 100644 --- a/www/apps/cloud/app/projects/page.mdx +++ b/www/apps/cloud/app/projects/page.mdx @@ -1,4 +1,5 @@ -import { Prerequisites } from "docs-ui" +import { Prerequisites, InlineIcon } from "docs-ui" +import { ChevronUpDown } from "@medusajs/icons" export const metadata = { title: `Projects`, @@ -188,7 +189,7 @@ The project's name at the top left of the dashboard is also a project switcher. To switch to a different project: -1. Click on the project's name at the top left of the Cloud dashboard, next to the organization name. +1. Click on the icon next to the project's name at the top left of the Cloud dashboard, next to the organization name. 2. Choose the project you want to switch to from the dropdown. ![Project switcher at the top left of the Cloud dashboard](https://res.cloudinary.com/dza7lstvk/image/upload/v1749743106/Cloud/CleanShot_2025-06-12_at_18.39.27_2x_imjvkt.png) diff --git a/www/apps/cloud/app/usage/page.mdx b/www/apps/cloud/app/usage/page.mdx new file mode 100644 index 0000000000..25a599227c --- /dev/null +++ b/www/apps/cloud/app/usage/page.mdx @@ -0,0 +1,74 @@ +import { InlineIcon } from "docs-ui" +import { ArrowDownTray, ChevronUpDown } from "@medusajs/icons" + +export const metadata = { + title: `Usage`, +} + +# {metadata.title} + +In this guide, you'll learn how to monitor your organization's standard and Flex Usage in Cloud. + +## View Usage + +In your organization's settings, you can view your current plan and usage limits. + + + +Organizations on the Enterprise plan don't have usage limits, and therefore don't have a Usage tab in their settings. + + + +To view your organization's usage: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. +4. Change to the "Usage" settings from the sidebar. + +In the Usage settings, you'll find a table with the list of resources your organization is using, along with their current usage levels and limits based on your plan. + +![Usage table in the Usage settings](https://res.cloudinary.com/dza7lstvk/image/upload/v1755264824/Cloud/CleanShot_2025-08-15_at_16.33.30_2x_cbkure.png) + +--- + +## What is Flex Usage? + +Usage that exceeds the limits of your plan is considered Flex Usage. For example, if your plan allows for 100GB data transfer, any usage beyond that limit would be classified as Flex Usage. + +To learn how your Flex Usage is billed, refer to the [Billing](../billing/page.mdx) guide. + +### Monitor Flex Usage + +You can view additional Flex Usage for each resource and its charge in the [usage table](#view-usage). The table has the following columns useful for monitoring Flex Usage: + +- **Flex**: The amount of usage beyond your plan limits. For example, the additional data transfer amount. +- **Charge**: The cost associated with the Flex Usage. + +If you have Flex Usage, you can also see the flex charges visualized in the chart above the table. + +--- + +## Download Usage Report + +To download your organization's usage as a JSON file: + +1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). +2. Click on the icon in the [organization switcher](../organizations/page.mdx#switch-organization) at the top left of the Cloud dashboard. +3. Choose "Organization Settings" from the dropdown. +4. Change to the "Usage" settings from the sidebar. +5. Click the button at the top right. + +The JSON file will be downloaded automatically. + +--- + +## View Usage for Different Date Ranges + +By default, the usage table and Flex Usage chart show data for the current billing cycle. + +To view usage for a different billing cycle, click on the "Current billing cycle" dropdown at the top of the Usage settings. You can then select the previous billing cycle, or a custom date range. + +After making your selection, the usage table will update automatically after a few seconds. + +![Usage table updated for different billing cycle](https://res.cloudinary.com/dza7lstvk/image/upload/v1755266925/Cloud/CleanShot_2025-08-15_at_17.07.47_2x_ieqxwi.png) \ No newline at end of file diff --git a/www/apps/cloud/generated/edit-dates.mjs b/www/apps/cloud/generated/edit-dates.mjs index 7fbb821045..7d567cb310 100644 --- a/www/apps/cloud/generated/edit-dates.mjs +++ b/www/apps/cloud/generated/edit-dates.mjs @@ -1,22 +1,24 @@ export const generatedEditDates = { "app/page.mdx": "2025-06-25T08:00:52.728Z", "app/organization/page.mdx": "2025-06-12T14:43:20.772Z", - "app/projects/page.mdx": "2025-08-15T15:12:48.386Z", + "app/projects/page.mdx": "2025-08-25T07:23:12.745Z", "app/environments/page.mdx": "2025-06-25T08:00:05.550Z", "app/deployments/page.mdx": "2025-06-25T07:57:13.059Z", - "app/organizations/page.mdx": "2025-06-25T07:13:02.263Z", + "app/organizations/page.mdx": "2025-08-25T07:15:17.593Z", "app/notifications/page.mdx": "2025-06-25T07:27:37.642Z", "app/database/page.mdx": "2025-08-15T15:30:37.814Z", "app/redis/page.mdx": "2025-06-25T07:57:23.246Z", "app/s3/page.mdx": "2025-06-25T07:57:24.832Z", "app/draft-order-plugin/page.mdx": "2025-06-25T07:57:14.898Z", "app/loyalty-plugin/page.mdx": "2025-06-26T11:11:02.320Z", - "app/billing-usage/page.mdx": "2025-07-14T11:09:25.451Z", "app/logs/page.mdx": "2025-06-19T07:44:38.336Z", "app/update-medusa/page.mdx": "2025-06-25T07:57:30.170Z", "app/connect-storefront/page.mdx": "2025-06-25T07:47:00.499Z", "app/environments/environment-variables/page.mdx": "2025-08-15T15:35:24.085Z", - "app/environments/long-lived/page.mdx": "2025-08-15T15:38:19.187Z", + "app/environments/long-lived/page.mdx": "2025-08-25T07:23:59.858Z", "app/environments/preview/page.mdx": "2025-08-20T12:15:33.952Z", - "app/faq/page.mdx": "2025-08-15T14:32:23.372Z" + "app/faq/page.mdx": "2025-08-15T14:32:23.372Z", + "app/billing/page.mdx": "2025-08-25T07:09:38.796Z", + "app/usage/page.mdx": "2025-08-25T07:25:54.703Z", + "app/billing/manage/page.mdx": "2025-08-25T07:11:26.490Z" } \ No newline at end of file diff --git a/www/apps/cloud/generated/sidebar.mjs b/www/apps/cloud/generated/sidebar.mjs index 1a40a38833..107933757a 100644 --- a/www/apps/cloud/generated/sidebar.mjs +++ b/www/apps/cloud/generated/sidebar.mjs @@ -163,8 +163,16 @@ export const generatedSidebars = [ "loaded": true, "isPathHref": true, "type": "link", - "title": "Billing & Usage", - "path": "/billing-usage", + "title": "Overview", + "path": "/billing", + "children": [] + }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "title": "Manage Billing Details", + "path": "/billing/manage", "children": [] } ] @@ -173,7 +181,7 @@ export const generatedSidebars = [ "loaded": true, "isPathHref": true, "type": "category", - "title": "Monitoring & Support", + "title": "Monitoring", "initialOpen": true, "children": [ { @@ -191,6 +199,14 @@ export const generatedSidebars = [ "title": "Notifications", "path": "/notifications", "children": [] + }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "title": "Usage", + "path": "/usage", + "children": [] } ] }, diff --git a/www/apps/cloud/next.config.mjs b/www/apps/cloud/next.config.mjs index 502aafdc3e..8cdadd1176 100644 --- a/www/apps/cloud/next.config.mjs +++ b/www/apps/cloud/next.config.mjs @@ -140,6 +140,11 @@ const nextConfig = { destination: "/faq", permanent: true, }, + { + source: "/billing-usage", + destination: "/billing", + permanent: true, + }, ], } diff --git a/www/apps/cloud/sidebar.mjs b/www/apps/cloud/sidebar.mjs index 64f799a47f..9536d56c34 100644 --- a/www/apps/cloud/sidebar.mjs +++ b/www/apps/cloud/sidebar.mjs @@ -111,14 +111,19 @@ export const sidebar = [ children: [ { type: "link", - title: "Billing & Usage", - path: "/billing-usage", + title: "Overview", + path: "/billing", + }, + { + type: "link", + title: "Manage Billing Details", + path: "/billing/manage", }, ], }, { type: "category", - title: "Monitoring & Support", + title: "Monitoring", initialOpen: true, children: [ { @@ -131,6 +136,11 @@ export const sidebar = [ title: "Notifications", path: "/notifications", }, + { + type: "link", + title: "Usage", + path: "/usage", + }, ], }, { diff --git a/www/vale/styles/docs/Tooling.yml b/www/vale/styles/docs/Tooling.yml index 70bc9839cc..bebbb9b56e 100644 --- a/www/vale/styles/docs/Tooling.yml +++ b/www/vale/styles/docs/Tooling.yml @@ -22,6 +22,7 @@ swap: "Next.js Storefront": "Next.js Starter Storefront" "Medusa Cloud": "Cloud" " cloud ": " Cloud " + "flex usage": "Flex Usage" exceptions: - 'storefront framework' - 'Storefront Framework'