diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminClaim.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminClaim.yaml index c4bf2d32df..7de541f55c 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminClaim.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminClaim.yaml @@ -60,8 +60,7 @@ properties: type: array description: The claim's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: ./BaseOrderTransaction.yaml diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFlatRateShippingOption.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFlatRateShippingOption.yaml index da47b8740e..b167ae07ec 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFlatRateShippingOption.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFlatRateShippingOption.yaml @@ -28,7 +28,7 @@ properties: handling its processing. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property price_type: type: string description: >- diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFulfillment.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFulfillment.yaml index 131c73f63d..ec0d5e16b7 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFulfillment.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateFulfillment.yaml @@ -42,7 +42,7 @@ properties: description: Any data useful for the fulfillment provider to handle the fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property description: Learn more about the data property. packed_at: type: string diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRate.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRate.yaml index 474c362dbc..8219117878 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRate.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRate.yaml @@ -39,7 +39,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, used to store custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRegion.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRegion.yaml index f882c43052..264db20b4b 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRegion.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRegion.yaml @@ -47,7 +47,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The default tax rate's metadata, used to store custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml index e27218145f..fc94f43fd6 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminDraftOrderPreview.yaml @@ -353,7 +353,7 @@ properties: shipment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminExchange.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminExchange.yaml index b693ed2333..f002851ab8 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminExchange.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminExchange.yaml @@ -59,8 +59,7 @@ properties: type: array description: The exchange's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: ./BaseOrderTransaction.yaml metadata: diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminFulfillment.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminFulfillment.yaml index 140d1f4809..bfb7a9c2a5 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminFulfillment.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminFulfillment.yaml @@ -73,7 +73,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The fulfillment's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderFulfillment.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderFulfillment.yaml index 7ae1b3f61d..a74f86c922 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderFulfillment.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderFulfillment.yaml @@ -51,7 +51,7 @@ properties: the associated shipping option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml index d5f3755189..5f41690cc1 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderPreview.yaml @@ -355,7 +355,7 @@ properties: shipment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderShippingMethod.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderShippingMethod.yaml index 1b64bc87e6..b25b44a176 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminOrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminOrderShippingMethod.yaml @@ -56,7 +56,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminPayment.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminPayment.yaml index dc8b918275..1072a56803 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminPayment.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminPayment.yaml @@ -32,7 +32,7 @@ properties: description: The payment's data, useful for processing by the payment provider. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminPaymentSession.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminPaymentSession.yaml index b87f3a855c..8cf03f19f9 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminPaymentSession.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminPaymentSession.yaml @@ -26,7 +26,7 @@ properties: payment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminShippingOption.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminShippingOption.yaml index 116a1b720e..e9b214760e 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminShippingOption.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminShippingOption.yaml @@ -84,7 +84,7 @@ properties: fulfillments created from this option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminTaxRate.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminTaxRate.yaml index 19c88dbd9b..6043839d05 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminTaxRate.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminTaxRate.yaml @@ -50,7 +50,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates is_default: type: boolean title: is_default diff --git a/www/apps/api-reference/specs/admin/components/schemas/AdminUpdateTaxRate.yaml b/www/apps/api-reference/specs/admin/components/schemas/AdminUpdateTaxRate.yaml index 004a02e39e..1fca4c1058 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/AdminUpdateTaxRate.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/AdminUpdateTaxRate.yaml @@ -29,7 +29,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/BaseOrderFulfillment.yaml b/www/apps/api-reference/specs/admin/components/schemas/BaseOrderFulfillment.yaml index 824eb98ba3..eff9bec893 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/BaseOrderFulfillment.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/BaseOrderFulfillment.yaml @@ -51,7 +51,7 @@ properties: the associated shipping option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id diff --git a/www/apps/api-reference/specs/admin/components/schemas/BaseOrderShippingMethod.yaml b/www/apps/api-reference/specs/admin/components/schemas/BaseOrderShippingMethod.yaml index 54df7640ad..c5c6080eaa 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/BaseOrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/BaseOrderShippingMethod.yaml @@ -56,7 +56,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/BasePayment.yaml b/www/apps/api-reference/specs/admin/components/schemas/BasePayment.yaml index c2a20171b9..208d9cef28 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/BasePayment.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/BasePayment.yaml @@ -32,7 +32,7 @@ properties: description: The payment's data, useful for processing by the payment provider. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time diff --git a/www/apps/api-reference/specs/admin/components/schemas/OrderClaim.yaml b/www/apps/api-reference/specs/admin/components/schemas/OrderClaim.yaml index 9acfe0de87..c351be6019 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/OrderClaim.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/OrderClaim.yaml @@ -56,8 +56,7 @@ properties: type: array description: The claim's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: ./OrderTransaction.yaml diff --git a/www/apps/api-reference/specs/admin/components/schemas/OrderExchange.yaml b/www/apps/api-reference/specs/admin/components/schemas/OrderExchange.yaml index e211bb4ba0..4099db331e 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/OrderExchange.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/OrderExchange.yaml @@ -52,8 +52,7 @@ properties: type: array description: The exchange's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: ./OrderTransaction.yaml metadata: diff --git a/www/apps/api-reference/specs/admin/components/schemas/OrderShippingMethod.yaml b/www/apps/api-reference/specs/admin/components/schemas/OrderShippingMethod.yaml index b052eacde5..04b599bd43 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/OrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/OrderShippingMethod.yaml @@ -53,7 +53,7 @@ properties: the fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingMethod.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingMethod.yaml index f46cf54c91..d3cad76057 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingMethod.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingMethod.yaml @@ -45,7 +45,7 @@ properties: services. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/cart/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/cart/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingOption.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingOption.yaml index fc89157eaa..d24bddc2c6 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingOption.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreCartShippingOption.yaml @@ -94,7 +94,7 @@ properties: description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property prices: type: array description: The shipping option's prices. diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreInitializePaymentSession.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreInitializePaymentSession.yaml index 3a905ec9e5..2a9bf06e8e 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreInitializePaymentSession.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreInitializePaymentSession.yaml @@ -13,6 +13,6 @@ properties: description: Any data necessary for the payment provider to process the payment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property description: Learn more about the payment session's data property x-schemaName: StoreInitializePaymentSession diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreOrderFulfillment.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreOrderFulfillment.yaml index ed2f535f34..8c68c34a63 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreOrderFulfillment.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreOrderFulfillment.yaml @@ -51,7 +51,7 @@ properties: the associated shipping option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreOrderShippingMethod.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreOrderShippingMethod.yaml index b2994b98df..a90b00bab9 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreOrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreOrderShippingMethod.yaml @@ -56,7 +56,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/components/schemas/StorePaymentSession.yaml b/www/apps/api-reference/specs/admin/components/schemas/StorePaymentSession.yaml index 7d6195667e..d4c8b58740 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StorePaymentSession.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StorePaymentSession.yaml @@ -26,7 +26,7 @@ properties: payment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml index 2d800db80f..a65d0c9496 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreProductVariant.yaml @@ -102,7 +102,7 @@ properties: is always considered in stock. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' inventory_quantity: type: number @@ -112,7 +112,7 @@ properties: pass `+variants.inventory_quantity` in the `fields` query parameter. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' variant_rank: type: number diff --git a/www/apps/api-reference/specs/admin/components/schemas/StoreShippingOption.yaml b/www/apps/api-reference/specs/admin/components/schemas/StoreShippingOption.yaml index c57f31d6d8..7ede95230d 100644 --- a/www/apps/api-reference/specs/admin/components/schemas/StoreShippingOption.yaml +++ b/www/apps/api-reference/specs/admin/components/schemas/StoreShippingOption.yaml @@ -66,7 +66,7 @@ properties: description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/openapi.full.yaml b/www/apps/api-reference/specs/admin/openapi.full.yaml index ac5d1acb97..c892954c69 100644 --- a/www/apps/api-reference/specs/admin/openapi.full.yaml +++ b/www/apps/api-reference/specs/admin/openapi.full.yaml @@ -15063,7 +15063,7 @@ paths: type: object description: The shipping method's data, useful for fulfillment providers. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property amount: oneOf: - type: string @@ -39685,7 +39685,7 @@ paths: type: string description: The promotion's type. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/promotion/concepts#what-is-a-promotion + url: https://docs.medusajs.com/resources/commerce-modules/promotion/concepts#what-is-a-promotion enum: - standard - buyget @@ -40429,7 +40429,7 @@ paths: type: string description: The promotion's type. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/promotion/concepts#what-is-a-promotion + url: https://docs.medusajs.com/resources/commerce-modules/promotion/concepts#what-is-a-promotion enum: - standard - buyget @@ -59033,7 +59033,7 @@ paths: summary: Refresh Authentication Token description: Refresh the authentication token of a user. This is useful after authenticating a user with a third-party service to ensure the token holds the new user's details, or when you don't want users to re-login every day. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow + url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow description: Learn about third-party authentication flow. x-authenticated: true x-codeSamples: @@ -59089,7 +59089,7 @@ paths: When used with a third-party provider, such as Google, the request returns a `location` property. You redirect to the specified URL in your frontend to continue authentication with the third-party service. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#types-of-authentication-flows + url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#types-of-authentication-flows description: Learn about different authentication flows. x-authenticated: false parameters: @@ -59178,7 +59178,7 @@ paths: You can decode the JWT token using libraries like [react-jwt](https://www.npmjs.com/package/react-jwt) in the frontend. If the decoded data doesn't have an `actor_id` property, then you must create a user, typically using the Accept Invite route passing the token in the request's Authorization header. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow + url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow description: Learn about third-party authentication flow. x-authenticated: false parameters: @@ -59285,7 +59285,7 @@ paths: summary: Retrieve Registration JWT Token description: This API route retrieves a registration JWT token of a user that hasn't been registered yet. The token is used in the header of requests that create a user, such as the Accept Invite API route. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#1-basic-authentication-flow + url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#1-basic-authentication-flow description: Learn about the basic authentication flow. x-authenticated: false parameters: @@ -59377,7 +59377,7 @@ paths: Use the generated token to update the user's password using the [Reset Password API route](https://docs.medusajs.com/api/admin#auth_postactor_typeauth_providerupdate). externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#generate-reset-password-token-route + url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#generate-reset-password-token-route description: Learn more about this API route. x-authenticated: false parameters: @@ -59467,7 +59467,7 @@ paths: x-sidebar-summary: Reset Password description: Reset an admin user's password using a reset-password token generated with the [Generate Reset Password Token API route](https://docs.medusajs.com/api/admin#auth_postactor_typeauth_providerresetpassword). You pass the token as a bearer token in the request's Authorization header. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#reset-password-route + url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#reset-password-route description: Learn more about this API route. x-authenticated: true parameters: @@ -60888,7 +60888,7 @@ components: type: array description: The claim's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: '#/components/schemas/BaseOrderTransaction' @@ -61539,7 +61539,7 @@ components: type: object description: The flat-rate shipping option's data, useful for the fulfillment provider handling its processing. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property price_type: type: string description: The shipping option's price type. If `flat`, the shipping option has a fixed price set in `prices`. Otherwise, the shipping option's price is calculated by the fulfillment provider. @@ -61702,7 +61702,7 @@ components: type: object description: Any data useful for the fulfillment provider to handle the fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property description: Learn more about the data property. packed_at: type: string @@ -62992,7 +62992,7 @@ components: title: is_combinable description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, used to store custom key-value pairs. @@ -63066,7 +63066,7 @@ components: type: boolean description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The default tax rate's metadata, used to store custom key-value pairs. @@ -64812,7 +64812,7 @@ components: type: object description: The data relevant for the fulfillment provider to process this shipment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -65201,7 +65201,7 @@ components: type: array description: The exchange's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: '#/components/schemas/BaseOrderTransaction' metadata: @@ -65514,7 +65514,7 @@ components: type: object description: The fulfillment's data, useful for the third-party provider handling the fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The fulfillment's metadata, can hold custom key-value pairs. @@ -67347,7 +67347,7 @@ components: type: object description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id @@ -67986,7 +67986,7 @@ components: type: object description: The data relevant for the fulfillment provider to process this shipment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -68384,7 +68384,7 @@ components: type: object description: The shipping method's data, useful for fulfillment provider handling its fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -68479,7 +68479,7 @@ components: type: object description: The payment's data, useful for processing by the payment provider. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time @@ -68662,7 +68662,7 @@ components: type: object description: The payment session's data, useful for the payment provider processing the payment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. @@ -71628,7 +71628,7 @@ components: type: object description: The shipping option's data, useful for the fulfillment provider handling fulfillments created from this option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. @@ -72556,7 +72556,7 @@ components: title: is_combinable description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates is_default: type: boolean title: is_default @@ -74395,7 +74395,7 @@ components: title: is_combinable description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, can hold custom key-value pairs. @@ -76449,7 +76449,7 @@ components: type: object description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id @@ -76995,7 +76995,7 @@ components: type: object description: The shipping method's data, useful for fulfillment provider handling its fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -77310,7 +77310,7 @@ components: type: object description: The payment's data, useful for processing by the payment provider. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time @@ -79763,7 +79763,7 @@ components: type: array description: The claim's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: '#/components/schemas/OrderTransaction' @@ -79928,7 +79928,7 @@ components: type: array description: The exchange's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: '#/components/schemas/OrderTransaction' metadata: @@ -80502,7 +80502,7 @@ components: type: object description: The shipping method's data, useful for the fulfillment provider handling the fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -81757,7 +81757,7 @@ components: type: object description: The shipping method's data, useful for fulfillment handling by third-party services. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/cart/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/cart/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -82047,7 +82047,7 @@ components: type: object description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property prices: type: array description: The shipping option's prices. @@ -82774,7 +82774,7 @@ components: type: object description: Any data necessary for the payment provider to process the payment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property description: Learn more about the payment session's data property x-schemaName: StoreInitializePaymentSession StoreOrder: @@ -83163,7 +83163,7 @@ components: type: object description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id @@ -87337,7 +87337,7 @@ components: type: object description: The shipping method's data, useful for fulfillment provider handling its fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -89137,7 +89137,7 @@ components: type: object description: The payment session's data, useful for the payment provider processing the payment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. @@ -89923,14 +89923,14 @@ components: title: manage_inventory description: Whether Medusa manages the variant's inventory. If disabled, the variant is always considered in stock. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + url: https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' inventory_quantity: type: number title: inventory_quantity description: The variant's inventory quantity. This property is only available if you pass `+variants.inventory_quantity` in the `fields` query parameter. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + url: https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' variant_rank: type: number @@ -90314,7 +90314,7 @@ components: type: object description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml b/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml index 34425dcc62..ed011dcfa2 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_draft-orders.yaml @@ -2095,7 +2095,7 @@ post: providers. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property amount: oneOf: - type: string diff --git a/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml b/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml index 467a086162..c2be50fef6 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_promotions.yaml @@ -879,7 +879,7 @@ post: description: The promotion's type. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/promotion/concepts#what-is-a-promotion + https://docs.medusajs.com/resources/commerce-modules/promotion/concepts#what-is-a-promotion enum: - standard - buyget diff --git a/www/apps/api-reference/specs/admin/paths/admin_promotions_{id}.yaml b/www/apps/api-reference/specs/admin/paths/admin_promotions_{id}.yaml index 677f621906..1fa8a190a0 100644 --- a/www/apps/api-reference/specs/admin/paths/admin_promotions_{id}.yaml +++ b/www/apps/api-reference/specs/admin/paths/admin_promotions_{id}.yaml @@ -121,7 +121,7 @@ post: description: The promotion's type. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/promotion/concepts#what-is-a-promotion + https://docs.medusajs.com/resources/commerce-modules/promotion/concepts#what-is-a-promotion enum: - standard - buyget diff --git a/www/apps/api-reference/specs/admin/paths/auth_token_refresh.yaml b/www/apps/api-reference/specs/admin/paths/auth_token_refresh.yaml index 559bb72f80..b2ea467d3b 100644 --- a/www/apps/api-reference/specs/admin/paths/auth_token_refresh.yaml +++ b/www/apps/api-reference/specs/admin/paths/auth_token_refresh.yaml @@ -7,7 +7,7 @@ post: the new user's details, or when you don't want users to re-login every day. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow + https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow description: Learn about third-party authentication flow. x-authenticated: true x-codeSamples: diff --git a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}.yaml b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}.yaml index 7f6cfebb8e..d39bf070d9 100644 --- a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}.yaml +++ b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}.yaml @@ -11,7 +11,7 @@ post: continue authentication with the third-party service. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#types-of-authentication-flows + https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#types-of-authentication-flows description: Learn about different authentication flows. x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_callback.yaml b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_callback.yaml index 7ecc9ba9c9..ca29d23d2e 100644 --- a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_callback.yaml +++ b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_callback.yaml @@ -17,7 +17,7 @@ post: request's Authorization header. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow + https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow description: Learn about third-party authentication flow. x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_register.yaml b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_register.yaml index 5cb41a2b50..e1df585e04 100644 --- a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_register.yaml +++ b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_register.yaml @@ -7,7 +7,7 @@ post: user, such as the Accept Invite API route. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#1-basic-authentication-flow + https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#1-basic-authentication-flow description: Learn about the basic authentication flow. x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml index 8e0df866d4..c67274c5b7 100644 --- a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml +++ b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_reset-password.yaml @@ -22,7 +22,7 @@ post: Use the generated token to update the user's password using the [Reset Password API route](https://docs.medusajs.com/api/admin#auth_postactor_typeauth_providerupdate). externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#generate-reset-password-token-route + https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#generate-reset-password-token-route description: Learn more about this API route. x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_update.yaml b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_update.yaml index 8bb6d39753..d52b3b1d08 100644 --- a/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_update.yaml +++ b/www/apps/api-reference/specs/admin/paths/auth_user_{auth_provider}_update.yaml @@ -9,7 +9,7 @@ post: You pass the token as a bearer token in the request's Authorization header. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#reset-password-route + https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#reset-password-route description: Learn more about this API route. x-authenticated: true parameters: diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminClaim.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminClaim.yaml index c4bf2d32df..7de541f55c 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminClaim.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminClaim.yaml @@ -60,8 +60,7 @@ properties: type: array description: The claim's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: ./BaseOrderTransaction.yaml diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminCreateFlatRateShippingOption.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminCreateFlatRateShippingOption.yaml index da47b8740e..b167ae07ec 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminCreateFlatRateShippingOption.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminCreateFlatRateShippingOption.yaml @@ -28,7 +28,7 @@ properties: handling its processing. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property price_type: type: string description: >- diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminCreateFulfillment.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminCreateFulfillment.yaml index 131c73f63d..ec0d5e16b7 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminCreateFulfillment.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminCreateFulfillment.yaml @@ -42,7 +42,7 @@ properties: description: Any data useful for the fulfillment provider to handle the fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property description: Learn more about the data property. packed_at: type: string diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRate.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRate.yaml index 474c362dbc..8219117878 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRate.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRate.yaml @@ -39,7 +39,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, used to store custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRegion.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRegion.yaml index f882c43052..264db20b4b 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRegion.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminCreateTaxRegion.yaml @@ -47,7 +47,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The default tax rate's metadata, used to store custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml index e27218145f..fc94f43fd6 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminDraftOrderPreview.yaml @@ -353,7 +353,7 @@ properties: shipment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminExchange.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminExchange.yaml index b693ed2333..f002851ab8 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminExchange.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminExchange.yaml @@ -59,8 +59,7 @@ properties: type: array description: The exchange's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: ./BaseOrderTransaction.yaml metadata: diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminFulfillment.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminFulfillment.yaml index 140d1f4809..bfb7a9c2a5 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminFulfillment.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminFulfillment.yaml @@ -73,7 +73,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The fulfillment's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminOrderFulfillment.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminOrderFulfillment.yaml index 7ae1b3f61d..a74f86c922 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminOrderFulfillment.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminOrderFulfillment.yaml @@ -51,7 +51,7 @@ properties: the associated shipping option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml index d5f3755189..5f41690cc1 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminOrderPreview.yaml @@ -355,7 +355,7 @@ properties: shipment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminOrderShippingMethod.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminOrderShippingMethod.yaml index 1b64bc87e6..b25b44a176 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminOrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminOrderShippingMethod.yaml @@ -56,7 +56,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminPayment.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminPayment.yaml index dc8b918275..1072a56803 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminPayment.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminPayment.yaml @@ -32,7 +32,7 @@ properties: description: The payment's data, useful for processing by the payment provider. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminPaymentSession.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminPaymentSession.yaml index b87f3a855c..8cf03f19f9 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminPaymentSession.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminPaymentSession.yaml @@ -26,7 +26,7 @@ properties: payment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminShippingOption.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminShippingOption.yaml index 116a1b720e..e9b214760e 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminShippingOption.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminShippingOption.yaml @@ -84,7 +84,7 @@ properties: fulfillments created from this option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminTaxRate.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminTaxRate.yaml index 19c88dbd9b..6043839d05 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminTaxRate.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminTaxRate.yaml @@ -50,7 +50,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates is_default: type: boolean title: is_default diff --git a/www/apps/api-reference/specs/store/components/schemas/AdminUpdateTaxRate.yaml b/www/apps/api-reference/specs/store/components/schemas/AdminUpdateTaxRate.yaml index 004a02e39e..1fca4c1058 100644 --- a/www/apps/api-reference/specs/store/components/schemas/AdminUpdateTaxRate.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/AdminUpdateTaxRate.yaml @@ -29,7 +29,7 @@ properties: description: Whether the tax rate should be combined with parent rates. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/BaseOrderFulfillment.yaml b/www/apps/api-reference/specs/store/components/schemas/BaseOrderFulfillment.yaml index 824eb98ba3..eff9bec893 100644 --- a/www/apps/api-reference/specs/store/components/schemas/BaseOrderFulfillment.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/BaseOrderFulfillment.yaml @@ -51,7 +51,7 @@ properties: the associated shipping option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id diff --git a/www/apps/api-reference/specs/store/components/schemas/BaseOrderShippingMethod.yaml b/www/apps/api-reference/specs/store/components/schemas/BaseOrderShippingMethod.yaml index 54df7640ad..c5c6080eaa 100644 --- a/www/apps/api-reference/specs/store/components/schemas/BaseOrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/BaseOrderShippingMethod.yaml @@ -56,7 +56,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/BasePayment.yaml b/www/apps/api-reference/specs/store/components/schemas/BasePayment.yaml index c2a20171b9..208d9cef28 100644 --- a/www/apps/api-reference/specs/store/components/schemas/BasePayment.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/BasePayment.yaml @@ -32,7 +32,7 @@ properties: description: The payment's data, useful for processing by the payment provider. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time diff --git a/www/apps/api-reference/specs/store/components/schemas/OrderClaim.yaml b/www/apps/api-reference/specs/store/components/schemas/OrderClaim.yaml index 9acfe0de87..c351be6019 100644 --- a/www/apps/api-reference/specs/store/components/schemas/OrderClaim.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/OrderClaim.yaml @@ -56,8 +56,7 @@ properties: type: array description: The claim's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: ./OrderTransaction.yaml diff --git a/www/apps/api-reference/specs/store/components/schemas/OrderExchange.yaml b/www/apps/api-reference/specs/store/components/schemas/OrderExchange.yaml index e211bb4ba0..4099db331e 100644 --- a/www/apps/api-reference/specs/store/components/schemas/OrderExchange.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/OrderExchange.yaml @@ -52,8 +52,7 @@ properties: type: array description: The exchange's transactions. externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: ./OrderTransaction.yaml metadata: diff --git a/www/apps/api-reference/specs/store/components/schemas/OrderShippingMethod.yaml b/www/apps/api-reference/specs/store/components/schemas/OrderShippingMethod.yaml index b052eacde5..04b599bd43 100644 --- a/www/apps/api-reference/specs/store/components/schemas/OrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/OrderShippingMethod.yaml @@ -53,7 +53,7 @@ properties: the fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingMethod.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingMethod.yaml index f46cf54c91..d3cad76057 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingMethod.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingMethod.yaml @@ -45,7 +45,7 @@ properties: services. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/cart/concepts#data-property + https://docs.medusajs.com/resources/commerce-modules/cart/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingOption.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingOption.yaml index fc89157eaa..d24bddc2c6 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingOption.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreCartShippingOption.yaml @@ -94,7 +94,7 @@ properties: description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property prices: type: array description: The shipping option's prices. diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreInitializePaymentSession.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreInitializePaymentSession.yaml index 3a905ec9e5..2a9bf06e8e 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreInitializePaymentSession.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreInitializePaymentSession.yaml @@ -13,6 +13,6 @@ properties: description: Any data necessary for the payment provider to process the payment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property description: Learn more about the payment session's data property x-schemaName: StoreInitializePaymentSession diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreOrderFulfillment.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreOrderFulfillment.yaml index ed2f535f34..8c68c34a63 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreOrderFulfillment.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreOrderFulfillment.yaml @@ -51,7 +51,7 @@ properties: the associated shipping option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreOrderShippingMethod.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreOrderShippingMethod.yaml index b2994b98df..a90b00bab9 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreOrderShippingMethod.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreOrderShippingMethod.yaml @@ -56,7 +56,7 @@ properties: fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/components/schemas/StorePaymentSession.yaml b/www/apps/api-reference/specs/store/components/schemas/StorePaymentSession.yaml index 7d6195667e..d4c8b58740 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StorePaymentSession.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StorePaymentSession.yaml @@ -26,7 +26,7 @@ properties: payment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml index 2d800db80f..a65d0c9496 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreProductVariant.yaml @@ -102,7 +102,7 @@ properties: is always considered in stock. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' inventory_quantity: type: number @@ -112,7 +112,7 @@ properties: pass `+variants.inventory_quantity` in the `fields` query parameter. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' variant_rank: type: number diff --git a/www/apps/api-reference/specs/store/components/schemas/StoreShippingOption.yaml b/www/apps/api-reference/specs/store/components/schemas/StoreShippingOption.yaml index c57f31d6d8..7ede95230d 100644 --- a/www/apps/api-reference/specs/store/components/schemas/StoreShippingOption.yaml +++ b/www/apps/api-reference/specs/store/components/schemas/StoreShippingOption.yaml @@ -66,7 +66,7 @@ properties: description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/openapi.full.yaml b/www/apps/api-reference/specs/store/openapi.full.yaml index 04ed6101ad..75baf206ec 100644 --- a/www/apps/api-reference/specs/store/openapi.full.yaml +++ b/www/apps/api-reference/specs/store/openapi.full.yaml @@ -182,7 +182,7 @@ paths: When used with a third-party provider, such as Google, the request returns a `location` property. You redirect to the specified URL in your storefront to continue authentication with the third-party service. externalDocs: - url: https://docs.medusajs.com/v2/storefront-development/customers/login#1-using-a-jwt-token + url: https://docs.medusajs.com/resources/storefront-development/customers/login#1-using-a-jwt-token description: 'Storefront development: How to login as a customer' x-authenticated: false parameters: @@ -274,7 +274,7 @@ paths: This API route is used by your storefront or frontend application when a third-party provider redirects to it after authentication. It validates the authentication with the third-party provider and, if successful, returns an authentication token. All query parameters received from the third-party provider, such as `code`, `state`, and `error`, must be passed as query parameters to this route. You can decode the JWT token using libraries like [react-jwt](https://www.npmjs.com/package/react-jwt) in the storefront. If the decoded data doesn't have an `actor_id` property, then you must register the customer using the Create Customer API route passing the token in the request's Authorization header. externalDocs: - url: https://docs.medusajs.com/v2/storefront-development/customers/third-party-login + url: https://docs.medusajs.com/resources/storefront-development/customers/third-party-login description: 'Storefront development: Implement third-party (social) login.' x-authenticated: false parameters: @@ -375,7 +375,7 @@ paths: summary: Retrieve Registration JWT Token description: This API route retrieves a registration JWT token of a customer that hasn't been registered yet. The token is used in the header of requests that create a customer. externalDocs: - url: https://docs.medusajs.com/v2/storefront-development/customers/register + url: https://docs.medusajs.com/resources/storefront-development/customers/register description: 'Storefront development: How to register a customer' x-authenticated: false parameters: @@ -471,7 +471,7 @@ paths: Use the generated token to update the customer's password using the [Reset Password API route](https://docs.medusajs.com/api/store#auth_postactor_typeauth_providerupdate). externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password#1-request-reset-password-page + url: https://docs.medusajs.com/resources/storefront-development/customers/reset-password#1-request-reset-password-page description: 'Storefront development: How to create the request reset password page.' x-authenticated: false parameters: @@ -565,7 +565,7 @@ paths: x-sidebar-summary: Reset Password description: Reset a customer's password using a reset-password token generated with the [Generate Reset Password Token API route](https://docs.medusajs.com/api/store#auth_postactor_typeauth_providerresetpassword). You pass the token as a bearer token in the request's Authorization header. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password#2-reset-password-page + url: https://docs.medusajs.com/resources/storefront-development/customers/reset-password#2-reset-password-page description: 'Storefront development: How to create the reset password page.' x-authenticated: true parameters: @@ -662,7 +662,7 @@ paths: summary: Set Authentication Session description: Set the cookie session ID of a customer. The customer must be previously authenticated with the `/auth/customer/{provider}` API route first, as the JWT token is required in the header of the request. externalDocs: - url: https://docs.medusajs.com/v2/storefront-development/customers/login#2-using-a-cookie-session + url: https://docs.medusajs.com/resources/storefront-development/customers/login#2-using-a-cookie-session description: 'Storefront development: How to login as a customer' x-authenticated: true x-codeSamples: @@ -759,7 +759,7 @@ paths: summary: Refresh Authentication Token description: Refresh the authentication token of a customer. This is useful after authenticating a customer with a third-party service to ensure the token holds the new user's details, or when you don't want customers to re-login every day. externalDocs: - url: https://docs.medusajs.com/v2/storefront-development/customers/third-party-login + url: https://docs.medusajs.com/resources/storefront-development/customers/third-party-login description: 'Storefront development: Implement third-party (social) login.' x-authenticated: true x-codeSamples: @@ -1120,7 +1120,7 @@ paths: description: Complete a cart and place an order. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/complete-cart + url: https://docs.medusajs.com/resources/storefront-development/checkout/complete-cart description: 'Storefront guide: How to implement cart completion during checkout.' parameters: - name: id @@ -1236,7 +1236,7 @@ paths: type: string title: type description: | - The error's type. Can be a [MedusaError type](https://docs.medusajs.com/v2/advanced-development/api-routes/errors#medusaerror-types) or `payment_authorization_error` or `payment_requires_more_error` for payment-related errors. + The error's type. Can be a [MedusaError type](https://docs.medusajs.com/learn/fundamentals/api-routes/errors#medusaerror-types) or `payment_authorization_error` or `payment_requires_more_error` for payment-related errors. '400': $ref: '#/components/responses/400_error' '401': @@ -1534,7 +1534,7 @@ paths: x-sidebar-summary: Add Line Item description: Add a product variant as a line item in the cart. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#add-product-variant-to-cart + url: https://docs.medusajs.com/resources/storefront-development/cart/manage-items#add-product-variant-to-cart description: 'Storefront guide: How to add a product variant to the cart.' x-authenticated: false parameters: @@ -1666,7 +1666,7 @@ paths: x-sidebar-summary: Update Line Item description: Update a line item's details in the cart. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#update-line-item-in-cart + url: https://docs.medusajs.com/resources/storefront-development/cart/manage-items#update-line-item-in-cart description: 'Storefront guide: How to update a cart''s line item.' x-authenticated: false parameters: @@ -1800,7 +1800,7 @@ paths: x-sidebar-summary: Remove Line Item description: Remove a line item from a cart. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#remove-line-item-from-cart + url: https://docs.medusajs.com/resources/storefront-development/cart/manage-items#remove-line-item-from-cart description: 'Storefront guide: How to remove line item from cart.' x-authenticated: false parameters: @@ -1922,7 +1922,7 @@ paths: description: Add a list of promotions to a cart. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#add-promotion-to-cart + url: https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions#add-promotion-to-cart description: 'Storefront guide: How to add a promotion to cart.' parameters: - name: id @@ -1995,7 +1995,7 @@ paths: description: Remove a list of promotions from a cart. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#remove-promotion-from-cart + url: https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions#remove-promotion-from-cart description: 'Storefront guide: How to remove a promotion from cart.' parameters: - name: id @@ -2073,7 +2073,7 @@ paths: x-sidebar-summary: Add Shipping Method description: Add a shipping method to a cart. Use this API route when the customer chooses their preferred shipping option. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/shipping + url: https://docs.medusajs.com/resources/storefront-development/checkout/shipping description: 'Storefront guide: How to implement shipping during checkout.' x-authenticated: false parameters: @@ -2340,7 +2340,7 @@ paths: description: Retrieve a list of collections. The collections can be filtered by fields such as `handle`. The collections can also be sorted or paginated. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/collections/list + url: https://docs.medusajs.com/resources/storefront-development/products/collections/list description: 'Storefront guide: How to retrieve a list of collections.' parameters: - name: x-publishable-api-key @@ -3013,7 +3013,7 @@ paths: description: Retrieve a collection by its ID. You can expand the collection's relations or select the fields that should be returned. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/collections/retrieve + url: https://docs.medusajs.com/resources/storefront-development/products/collections/retrieve description: 'Storefront guide: How to retrieve a collection.' parameters: - name: id @@ -3282,7 +3282,7 @@ paths: summary: Register Customer description: Register a customer. Use the `/auth/customer/emailpass/register` API route first to retrieve the registration token and pass it in the header of the request. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/register + url: https://docs.medusajs.com/resources/storefront-development/customers/register description: 'Storefront guide: How to register a customer.' x-authenticated: true parameters: @@ -3401,7 +3401,7 @@ paths: description: Retrieve the logged-in customer. You can expand the customer's relations or select the fields that should be returned. x-authenticated: true externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/retrieve + url: https://docs.medusajs.com/resources/storefront-development/customers/retrieve description: 'Storefront guide: How to retrieve the logged-in customer.' parameters: - name: x-publishable-api-key @@ -3480,7 +3480,7 @@ paths: summary: Update Customer description: Update the logged-in customer's details. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/profile + url: https://docs.medusajs.com/resources/storefront-development/customers/profile description: 'Storefront guide: How to edit a customer''s profile.' x-authenticated: true parameters: @@ -3588,7 +3588,7 @@ paths: description: Retrieve the addresses of the logged-in customer. The addresses can be filtered by fields such as `country_code`. The addresses can also be sorted or paginated. x-authenticated: true externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#list-customer-addresses + url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#list-customer-addresses description: 'Storefront guide: How to retrieve the logged-in customer''s addresses.' parameters: - name: x-publishable-api-key @@ -3759,7 +3759,7 @@ paths: x-sidebar-summary: Create Address description: Create an address for the logged-in customer. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#add-customer-address + url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#add-customer-address description: 'Storefront guide: How to create an address for the logged-in customer.' x-authenticated: true parameters: @@ -3951,7 +3951,7 @@ paths: x-sidebar-summary: Update Address description: Update the logged-in customer's address. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#edit-an-address + url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#edit-an-address description: 'Storefront guide: How to update an address of the logged-in customer.' x-authenticated: true parameters: @@ -4055,7 +4055,7 @@ paths: description: Remove an address of the logged-in customer. x-authenticated: true externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#delete-customer-address + url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#delete-customer-address description: 'Storefront guide: How to delete a customer''s address.' parameters: - name: address_id @@ -5003,7 +5003,7 @@ paths: summary: Create Payment Collection description: Create a payment collection for a cart. This is used during checkout, where the payment collection holds the cart's payment sessions. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + url: https://docs.medusajs.com/resources/storefront-development/checkout/payment description: 'Storefront guide: How to implement payment during checkout.' x-authenticated: false parameters: @@ -5103,7 +5103,7 @@ paths: In cases where you want to create a payment session for a payment collection with an amount of `0`, you can use the Manual System Payment Provider instead of third-party payment providers. The Manual System Payment Provider is built into Medusa and allows you to create payment sessions without interacting with an external payment provider. Make sure to configure the Manual System Payment Provider in your store's region. Learn more in the [Manage Region](https://docs.medusajs.com/user-guide/settings/regions#edit-region-details) user guide. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + url: https://docs.medusajs.com/resources/storefront-development/checkout/payment description: 'Storefront guide: How to implement payment during checkout.' x-authenticated: false parameters: @@ -5176,7 +5176,7 @@ paths: description: Retrieve a list of payment providers. You must provide the `region_id` query parameter to retrieve the payment providers enabled in that region. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + url: https://docs.medusajs.com/resources/storefront-development/checkout/payment description: 'Storefront guide: How to implement payment during checkout.' parameters: - name: x-publishable-api-key @@ -5327,7 +5327,7 @@ paths: description: Retrieve a list of product categories. The product categories can be filtered by fields such as `id`. The product categories can also be sorted or paginated. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/categories/list + url: https://docs.medusajs.com/resources/storefront-development/products/categories/list description: 'Storefront guide: How to retrieve a list of product categories.' parameters: - name: x-publishable-api-key @@ -6013,7 +6013,7 @@ paths: description: Retrieve a product category by its ID. You can expand the product category's relations or select the fields that should be returned. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/categories/retrieve + url: https://docs.medusajs.com/resources/storefront-development/products/categories/retrieve description: 'Storefront guide: How to retrieve a product category.' parameters: - name: id @@ -7455,7 +7455,7 @@ paths: description: Retrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/price + url: https://docs.medusajs.com/resources/storefront-development/products/price description: 'Storefront guide: How to retrieve a product variants'' prices.' parameters: - name: x-publishable-api-key @@ -7591,7 +7591,7 @@ paths: schema: description: Filter by a collection's ID to retrieve the products in it. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/collections/products + url: https://docs.medusajs.com/resources/storefront-development/products/collections/products description: 'Storefront guide: Retrieve a collection''s products.' items: type: string @@ -8098,7 +8098,7 @@ paths: title: region_id description: The ID of the region the products are being viewed from. This is required if you're retrieving product variant prices with taxes. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/price/examples/tax-price + url: https://docs.medusajs.com/resources/storefront-development/products/price/examples/tax-price description: 'Storefront guide: How to show product variants'' prices with taxes.' - name: province in: query @@ -8264,7 +8264,7 @@ paths: description: Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/price + url: https://docs.medusajs.com/resources/storefront-development/products/price description: 'Storefront guide: How to retrieve a product variants'' prices.' parameters: - name: id @@ -8300,7 +8300,7 @@ paths: title: region_id description: The ID of the region the product is being viewed from. This is required if you're retrieving product variant prices with taxes. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/price/examples/tax-price + url: https://docs.medusajs.com/resources/storefront-development/products/price/examples/tax-price description: 'Storefront guide: How to show product variants'' prices with taxes.' - name: country_code in: query @@ -8385,7 +8385,7 @@ paths: description: Retrieve a list of regions. The regions can be filtered by fields such as `id`. The regions can also be sorted or paginated. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/regions/list + url: https://docs.medusajs.com/resources/storefront-development/regions/list description: 'Storefront guide: How to retrieve a list of regions.' parameters: - name: x-publishable-api-key @@ -8944,7 +8944,7 @@ paths: The shipping options also be sorted or paginated. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/shipping + url: https://docs.medusajs.com/resources/storefront-development/checkout/shipping description: 'Storefront guide: How to implement shipping during checkout.' x-authenticated: false parameters: @@ -10952,7 +10952,7 @@ components: type: array description: The claim's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: '#/components/schemas/BaseOrderTransaction' @@ -11603,7 +11603,7 @@ components: type: object description: The flat-rate shipping option's data, useful for the fulfillment provider handling its processing. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property price_type: type: string description: The shipping option's price type. If `flat`, the shipping option has a fixed price set in `prices`. Otherwise, the shipping option's price is calculated by the fulfillment provider. @@ -11766,7 +11766,7 @@ components: type: object description: Any data useful for the fulfillment provider to handle the fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property description: Learn more about the data property. packed_at: type: string @@ -13056,7 +13056,7 @@ components: title: is_combinable description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, used to store custom key-value pairs. @@ -13130,7 +13130,7 @@ components: type: boolean description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The default tax rate's metadata, used to store custom key-value pairs. @@ -14876,7 +14876,7 @@ components: type: object description: The data relevant for the fulfillment provider to process this shipment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -15265,7 +15265,7 @@ components: type: array description: The exchange's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: '#/components/schemas/BaseOrderTransaction' metadata: @@ -15578,7 +15578,7 @@ components: type: object description: The fulfillment's data, useful for the third-party provider handling the fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The fulfillment's metadata, can hold custom key-value pairs. @@ -17411,7 +17411,7 @@ components: type: object description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id @@ -18050,7 +18050,7 @@ components: type: object description: The data relevant for the fulfillment provider to process this shipment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -18448,7 +18448,7 @@ components: type: object description: The shipping method's data, useful for fulfillment provider handling its fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -18543,7 +18543,7 @@ components: type: object description: The payment's data, useful for processing by the payment provider. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time @@ -18726,7 +18726,7 @@ components: type: object description: The payment session's data, useful for the payment provider processing the payment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. @@ -21692,7 +21692,7 @@ components: type: object description: The shipping option's data, useful for the fulfillment provider handling fulfillments created from this option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. @@ -22620,7 +22620,7 @@ components: title: is_combinable description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates is_default: type: boolean title: is_default @@ -24459,7 +24459,7 @@ components: title: is_combinable description: Whether the tax rate should be combined with parent rates. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates metadata: type: object description: The tax rate's metadata, can hold custom key-value pairs. @@ -26513,7 +26513,7 @@ components: type: object description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id @@ -27059,7 +27059,7 @@ components: type: object description: The shipping method's data, useful for fulfillment provider handling its fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -27374,7 +27374,7 @@ components: type: object description: The payment's data, useful for processing by the payment provider. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment created_at: type: string format: date-time @@ -29827,7 +29827,7 @@ components: type: array description: The claim's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions description: Learn more about transactions of orders and associated models. items: $ref: '#/components/schemas/OrderTransaction' @@ -29992,7 +29992,7 @@ components: type: array description: The exchange's transactions. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + url: https://docs.medusajs.com/resources/commerce-modules/order/transactions items: $ref: '#/components/schemas/OrderTransaction' metadata: @@ -30566,7 +30566,7 @@ components: type: object description: The shipping method's data, useful for the fulfillment provider handling the fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -31821,7 +31821,7 @@ components: type: object description: The shipping method's data, useful for fulfillment handling by third-party services. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/cart/concepts#data-property + url: https://docs.medusajs.com/resources/commerce-modules/cart/concepts#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -32111,7 +32111,7 @@ components: type: object description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property prices: type: array description: The shipping option's prices. @@ -32838,7 +32838,7 @@ components: type: object description: Any data necessary for the payment provider to process the payment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property description: Learn more about the payment session's data property x-schemaName: StoreInitializePaymentSession StoreOrder: @@ -33227,7 +33227,7 @@ components: type: object description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property provider_id: type: string title: provider_id @@ -37401,7 +37401,7 @@ components: type: object description: The shipping method's data, useful for fulfillment provider handling its fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping method's metadata, can hold custom key-value pairs. @@ -39201,7 +39201,7 @@ components: type: object description: The payment session's data, useful for the payment provider processing the payment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property context: type: object description: The context around the payment, such as the customer's details. @@ -39987,14 +39987,14 @@ components: title: manage_inventory description: Whether Medusa manages the variant's inventory. If disabled, the variant is always considered in stock. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + url: https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' inventory_quantity: type: number title: inventory_quantity description: The variant's inventory quantity. This property is only available if you pass `+variants.inventory_quantity` in the `fields` query parameter. externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + url: https://docs.medusajs.com/resources/storefront-development/products/inventory description: 'Storefront guide: How to retrieve a product variant''s inventory details.' variant_rank: type: number @@ -40378,7 +40378,7 @@ components: type: object description: The shipping option's data, useful for the provider handling fulfillment. externalDocs: - url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property metadata: type: object description: The shipping option's metadata, can hold custom key-value pairs. diff --git a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}.yaml b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}.yaml index ded360ddb4..9f6e1df823 100644 --- a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}.yaml @@ -11,7 +11,7 @@ post: continue authentication with the third-party service. externalDocs: url: >- - https://docs.medusajs.com/v2/storefront-development/customers/login#1-using-a-jwt-token + https://docs.medusajs.com/resources/storefront-development/customers/login#1-using-a-jwt-token description: 'Storefront development: How to login as a customer' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_callback.yaml b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_callback.yaml index 074fe0b48b..5ace0169a6 100644 --- a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_callback.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_callback.yaml @@ -16,7 +16,7 @@ post: in the request's Authorization header. externalDocs: url: >- - https://docs.medusajs.com/v2/storefront-development/customers/third-party-login + https://docs.medusajs.com/resources/storefront-development/customers/third-party-login description: 'Storefront development: Implement third-party (social) login.' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_register.yaml b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_register.yaml index fe5ac1669c..afb93b3e68 100644 --- a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_register.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_register.yaml @@ -6,7 +6,8 @@ post: been registered yet. The token is used in the header of requests that create a customer. externalDocs: - url: https://docs.medusajs.com/v2/storefront-development/customers/register + url: >- + https://docs.medusajs.com/resources/storefront-development/customers/register description: 'Storefront development: How to register a customer' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml index f0b04825c6..efe02b557f 100644 --- a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_reset-password.yaml @@ -21,7 +21,7 @@ post: Use the generated token to update the customer's password using the [Reset Password API route](https://docs.medusajs.com/api/store#auth_postactor_typeauth_providerupdate). externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password#1-request-reset-password-page + https://docs.medusajs.com/resources/storefront-development/customers/reset-password#1-request-reset-password-page description: 'Storefront development: How to create the request reset password page.' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_update.yaml b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_update.yaml index 87812ec0bb..2974b70fcf 100644 --- a/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_update.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_customer_{auth_provider}_update.yaml @@ -9,7 +9,7 @@ post: You pass the token as a bearer token in the request's Authorization header. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password#2-reset-password-page + https://docs.medusajs.com/resources/storefront-development/customers/reset-password#2-reset-password-page description: 'Storefront development: How to create the reset password page.' x-authenticated: true parameters: diff --git a/www/apps/api-reference/specs/store/paths/auth_session.yaml b/www/apps/api-reference/specs/store/paths/auth_session.yaml index 8fe99e2c4f..017e8c16b7 100644 --- a/www/apps/api-reference/specs/store/paths/auth_session.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_session.yaml @@ -7,7 +7,7 @@ post: JWT token is required in the header of the request. externalDocs: url: >- - https://docs.medusajs.com/v2/storefront-development/customers/login#2-using-a-cookie-session + https://docs.medusajs.com/resources/storefront-development/customers/login#2-using-a-cookie-session description: 'Storefront development: How to login as a customer' x-authenticated: true x-codeSamples: diff --git a/www/apps/api-reference/specs/store/paths/auth_token_refresh.yaml b/www/apps/api-reference/specs/store/paths/auth_token_refresh.yaml index 141a0be55f..4b1b9dfd5e 100644 --- a/www/apps/api-reference/specs/store/paths/auth_token_refresh.yaml +++ b/www/apps/api-reference/specs/store/paths/auth_token_refresh.yaml @@ -8,7 +8,7 @@ post: every day. externalDocs: url: >- - https://docs.medusajs.com/v2/storefront-development/customers/third-party-login + https://docs.medusajs.com/resources/storefront-development/customers/third-party-login description: 'Storefront development: Implement third-party (social) login.' x-authenticated: true x-codeSamples: diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml index 973a95e1d2..10307ce962 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_complete.yaml @@ -5,7 +5,7 @@ post: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/checkout/complete-cart + https://docs.medusajs.com/resources/storefront-development/checkout/complete-cart description: 'Storefront guide: How to implement cart completion during checkout.' parameters: - name: id @@ -110,7 +110,7 @@ post: title: type description: > The error's type. Can be a [MedusaError - type](https://docs.medusajs.com/v2/advanced-development/api-routes/errors#medusaerror-types) + type](https://docs.medusajs.com/learn/fundamentals/api-routes/errors#medusaerror-types) or `payment_authorization_error` or `payment_requires_more_error` for payment-related errors. diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml index da6d22a7b4..a84a687d60 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items.yaml @@ -5,7 +5,7 @@ post: description: Add a product variant as a line item in the cart. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#add-product-variant-to-cart + https://docs.medusajs.com/resources/storefront-development/cart/manage-items#add-product-variant-to-cart description: 'Storefront guide: How to add a product variant to the cart.' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml index e8e02ab25f..fd322f890f 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_line-items_{line_id}.yaml @@ -5,7 +5,7 @@ post: description: Update a line item's details in the cart. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#update-line-item-in-cart + https://docs.medusajs.com/resources/storefront-development/cart/manage-items#update-line-item-in-cart description: 'Storefront guide: How to update a cart''s line item.' x-authenticated: false parameters: @@ -123,7 +123,7 @@ delete: description: Remove a line item from a cart. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#remove-line-item-from-cart + https://docs.medusajs.com/resources/storefront-development/cart/manage-items#remove-line-item-from-cart description: 'Storefront guide: How to remove line item from cart.' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml index 5c80da8da4..55f118cc92 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_promotions.yaml @@ -6,7 +6,7 @@ post: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#add-promotion-to-cart + https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions#add-promotion-to-cart description: 'Storefront guide: How to add a promotion to cart.' parameters: - name: id @@ -81,7 +81,7 @@ delete: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#remove-promotion-from-cart + https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions#remove-promotion-from-cart description: 'Storefront guide: How to remove a promotion from cart.' parameters: - name: id diff --git a/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml b/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml index b00a96a9e2..1aa6d869f4 100644 --- a/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml +++ b/www/apps/api-reference/specs/store/paths/store_carts_{id}_shipping-methods.yaml @@ -7,7 +7,7 @@ post: chooses their preferred shipping option. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/checkout/shipping + https://docs.medusajs.com/resources/storefront-development/checkout/shipping description: 'Storefront guide: How to implement shipping during checkout.' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_collections.yaml b/www/apps/api-reference/specs/store/paths/store_collections.yaml index b32e3a7e98..1469db4c93 100644 --- a/www/apps/api-reference/specs/store/paths/store_collections.yaml +++ b/www/apps/api-reference/specs/store/paths/store_collections.yaml @@ -7,7 +7,7 @@ get: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/collections/list + https://docs.medusajs.com/resources/storefront-development/products/collections/list description: 'Storefront guide: How to retrieve a list of collections.' parameters: - name: x-publishable-api-key diff --git a/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml index f17491220b..4a67d524c9 100644 --- a/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_collections_{id}.yaml @@ -7,7 +7,7 @@ get: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/collections/retrieve + https://docs.medusajs.com/resources/storefront-development/products/collections/retrieve description: 'Storefront guide: How to retrieve a collection.' parameters: - name: id diff --git a/www/apps/api-reference/specs/store/paths/store_customers.yaml b/www/apps/api-reference/specs/store/paths/store_customers.yaml index f420b3facb..d84e7277c4 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers.yaml @@ -7,7 +7,7 @@ post: request. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/register + https://docs.medusajs.com/resources/storefront-development/customers/register description: 'Storefront guide: How to register a customer.' x-authenticated: true parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_customers_me.yaml b/www/apps/api-reference/specs/store/paths/store_customers_me.yaml index d02ec58ca9..e790ee415d 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers_me.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers_me.yaml @@ -8,7 +8,7 @@ get: x-authenticated: true externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/retrieve + https://docs.medusajs.com/resources/storefront-development/customers/retrieve description: 'Storefront guide: How to retrieve the logged-in customer.' parameters: - name: x-publishable-api-key @@ -84,7 +84,7 @@ post: description: Update the logged-in customer's details. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/profile + https://docs.medusajs.com/resources/storefront-development/customers/profile description: 'Storefront guide: How to edit a customer''s profile.' x-authenticated: true parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml index 7e696d23a4..97c131af4b 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses.yaml @@ -9,7 +9,7 @@ get: x-authenticated: true externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#list-customer-addresses + https://docs.medusajs.com/resources/storefront-development/customers/addresses#list-customer-addresses description: 'Storefront guide: How to retrieve the logged-in customer''s addresses.' parameters: - name: x-publishable-api-key @@ -169,7 +169,7 @@ post: description: Create an address for the logged-in customer. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#add-customer-address + https://docs.medusajs.com/resources/storefront-development/customers/addresses#add-customer-address description: 'Storefront guide: How to create an address for the logged-in customer.' x-authenticated: true parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml index 132070ae47..5f05c3b37e 100644 --- a/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_customers_me_addresses_{address_id}.yaml @@ -88,7 +88,7 @@ post: description: Update the logged-in customer's address. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#edit-an-address + https://docs.medusajs.com/resources/storefront-development/customers/addresses#edit-an-address description: 'Storefront guide: How to update an address of the logged-in customer.' x-authenticated: true parameters: @@ -182,7 +182,7 @@ delete: x-authenticated: true externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#delete-customer-address + https://docs.medusajs.com/resources/storefront-development/customers/addresses#delete-customer-address description: 'Storefront guide: How to delete a customer''s address.' parameters: - name: address_id diff --git a/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml b/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml index 382fa52b19..9b8eadc33c 100644 --- a/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml +++ b/www/apps/api-reference/specs/store/paths/store_payment-collections.yaml @@ -6,7 +6,7 @@ post: the payment collection holds the cart's payment sessions. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + https://docs.medusajs.com/resources/storefront-development/checkout/payment description: 'Storefront guide: How to implement payment during checkout.' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml b/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml index d92626515c..78cb2f3a9c 100644 --- a/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml +++ b/www/apps/api-reference/specs/store/paths/store_payment-collections_{id}_payment-sessions.yaml @@ -25,7 +25,7 @@ post: user guide. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + https://docs.medusajs.com/resources/storefront-development/checkout/payment description: 'Storefront guide: How to implement payment during checkout.' x-authenticated: false parameters: diff --git a/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml b/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml index 10f38e1519..ec8f7bf901 100644 --- a/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml +++ b/www/apps/api-reference/specs/store/paths/store_payment-providers.yaml @@ -7,7 +7,7 @@ get: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + https://docs.medusajs.com/resources/storefront-development/checkout/payment description: 'Storefront guide: How to implement payment during checkout.' parameters: - name: x-publishable-api-key diff --git a/www/apps/api-reference/specs/store/paths/store_product-categories.yaml b/www/apps/api-reference/specs/store/paths/store_product-categories.yaml index 40e9611a81..9975bdd954 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-categories.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-categories.yaml @@ -8,7 +8,7 @@ get: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/categories/list + https://docs.medusajs.com/resources/storefront-development/products/categories/list description: 'Storefront guide: How to retrieve a list of product categories.' parameters: - name: x-publishable-api-key diff --git a/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml index fc558905d1..e58f2f308f 100644 --- a/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_product-categories_{id}.yaml @@ -7,7 +7,7 @@ get: x-authenticated: false externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/categories/retrieve + https://docs.medusajs.com/resources/storefront-development/products/categories/retrieve description: 'Storefront guide: How to retrieve a product category.' parameters: - name: id diff --git a/www/apps/api-reference/specs/store/paths/store_products.yaml b/www/apps/api-reference/specs/store/paths/store_products.yaml index 8095964653..8dfe1dbe1d 100644 --- a/www/apps/api-reference/specs/store/paths/store_products.yaml +++ b/www/apps/api-reference/specs/store/paths/store_products.yaml @@ -6,8 +6,7 @@ get: `id`. The products can also be sorted or paginated. x-authenticated: false externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/price + url: https://docs.medusajs.com/resources/storefront-development/products/price description: 'Storefront guide: How to retrieve a product variants'' prices.' parameters: - name: x-publishable-api-key @@ -165,7 +164,7 @@ get: description: Filter by a collection's ID to retrieve the products in it. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/collections/products + https://docs.medusajs.com/resources/storefront-development/products/collections/products description: 'Storefront guide: Retrieve a collection''s products.' items: type: string @@ -753,7 +752,7 @@ get: required if you're retrieving product variant prices with taxes. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/price/examples/tax-price + https://docs.medusajs.com/resources/storefront-development/products/price/examples/tax-price description: 'Storefront guide: How to show product variants'' prices with taxes.' - name: province in: query diff --git a/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml b/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml index 0c9e7b537b..9bf83afeb5 100644 --- a/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml +++ b/www/apps/api-reference/specs/store/paths/store_products_{id}.yaml @@ -6,8 +6,7 @@ get: select the fields that should be returned. x-authenticated: false externalDocs: - url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/price + url: https://docs.medusajs.com/resources/storefront-development/products/price description: 'Storefront guide: How to retrieve a product variants'' prices.' parameters: - name: id @@ -56,7 +55,7 @@ get: required if you're retrieving product variant prices with taxes. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/products/price/examples/tax-price + https://docs.medusajs.com/resources/storefront-development/products/price/examples/tax-price description: 'Storefront guide: How to show product variants'' prices with taxes.' - name: country_code in: query diff --git a/www/apps/api-reference/specs/store/paths/store_regions.yaml b/www/apps/api-reference/specs/store/paths/store_regions.yaml index af075265f7..a50953bea3 100644 --- a/www/apps/api-reference/specs/store/paths/store_regions.yaml +++ b/www/apps/api-reference/specs/store/paths/store_regions.yaml @@ -6,7 +6,7 @@ get: `id`. The regions can also be sorted or paginated. x-authenticated: false externalDocs: - url: https://docs.medusajs.com/v2/resources/storefront-development/regions/list + url: https://docs.medusajs.com/resources/storefront-development/regions/list description: 'Storefront guide: How to retrieve a list of regions.' parameters: - name: x-publishable-api-key diff --git a/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml b/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml index ff26d18ce6..7fdff06a7f 100644 --- a/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml +++ b/www/apps/api-reference/specs/store/paths/store_shipping-options.yaml @@ -9,7 +9,7 @@ get: The shipping options also be sorted or paginated. externalDocs: url: >- - https://docs.medusajs.com/v2/resources/storefront-development/checkout/shipping + https://docs.medusajs.com/resources/storefront-development/checkout/shipping description: 'Storefront guide: How to implement shipping during checkout.' x-authenticated: false parameters: diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts b/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts index 04ad9557a7..0e096296da 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_draft-orders.ts @@ -288,7 +288,7 @@ * type: object * description: The shipping method's data, useful for fulfillment providers. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property * amount: * oneOf: * - type: string diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts b/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts index 67ff983c4a..4db0e702bf 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_promotions.ts @@ -46,7 +46,7 @@ * type: string * description: The promotion's type. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/promotion/concepts#what-is-a-promotion + * url: https://docs.medusajs.com/resources/commerce-modules/promotion/concepts#what-is-a-promotion * enum: * - standard * - buyget diff --git a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts index 1cab92e98d..c36c99196e 100644 --- a/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts +++ b/www/utils/generated/oas-output/operations/admin/post_admin_promotions_[id].ts @@ -49,7 +49,7 @@ * type: string * description: The promotion's type. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/promotion/concepts#what-is-a-promotion + * url: https://docs.medusajs.com/resources/commerce-modules/promotion/concepts#what-is-a-promotion * enum: * - standard * - buyget diff --git a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider].ts b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider].ts index 5e2e49e8f0..ee9ceb5da8 100644 --- a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider].ts +++ b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider].ts @@ -9,7 +9,7 @@ * When used with a third-party provider, such as Google, the request returns a `location` property. You redirect to the * specified URL in your frontend to continue authentication with the third-party service. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#types-of-authentication-flows + * url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#types-of-authentication-flows * description: Learn about different authentication flows. * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_callback.ts b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_callback.ts index 9779385b07..0dc1a2c2e7 100644 --- a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_callback.ts +++ b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_callback.ts @@ -10,7 +10,7 @@ * You can decode the JWT token using libraries like [react-jwt](https://www.npmjs.com/package/react-jwt) in the frontend. If the decoded data doesn't * have an `actor_id` property, then you must create a user, typically using the Accept Invite route passing the token in the request's Authorization header. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow + * url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow * description: Learn about third-party authentication flow. * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_register.ts b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_register.ts index 389674af41..a3f23fa533 100644 --- a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_register.ts +++ b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_register.ts @@ -4,7 +4,7 @@ * summary: Retrieve Registration JWT Token * description: This API route retrieves a registration JWT token of a user that hasn't been registered yet. The token is used in the header of requests that create a user, such as the Accept Invite API route. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#1-basic-authentication-flow + * url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#1-basic-authentication-flow * description: Learn about the basic authentication flow. * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts index 75d1d009bf..412ab9ce18 100644 --- a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts +++ b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_reset-password.ts @@ -12,7 +12,7 @@ * * Use the generated token to update the user's password using the [Reset Password API route](https://docs.medusajs.com/api/admin#auth_postactor_typeauth_providerupdate). * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#generate-reset-password-token-route + * url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#generate-reset-password-token-route * description: Learn more about this API route. * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_update.ts b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_update.ts index f2fef22345..bfa6716595 100644 --- a/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_update.ts +++ b/www/utils/generated/oas-output/operations/admin/post_auth_[actor_type]_[auth_provider]_update.ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Reset Password * description: Reset an admin user's password using a reset-password token generated with the [Generate Reset Password Token API route](https://docs.medusajs.com/api/admin#auth_postactor_typeauth_providerresetpassword). You pass the token as a bearer token in the request's Authorization header. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#reset-password-route + * url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#reset-password-route * description: Learn more about this API route. * x-authenticated: true * parameters: diff --git a/www/utils/generated/oas-output/operations/admin/post_auth_token_refresh.ts b/www/utils/generated/oas-output/operations/admin/post_auth_token_refresh.ts index bda5830118..bfa989fe18 100644 --- a/www/utils/generated/oas-output/operations/admin/post_auth_token_refresh.ts +++ b/www/utils/generated/oas-output/operations/admin/post_auth_token_refresh.ts @@ -4,7 +4,7 @@ * summary: Refresh Authentication Token * description: Refresh the authentication token of a user. This is useful after authenticating a user with a third-party service to ensure the token holds the new user's details, or when you don't want users to re-login every day. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow + * url: https://docs.medusajs.com/resources/commerce-modules/auth/authentication-route#2-third-party-service-authenticate-flow * description: Learn about third-party authentication flow. * x-authenticated: true * x-codeSamples: diff --git a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts index 16ab7e2e24..f9252739f0 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Remove Line Item * description: Remove a line item from a cart. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#remove-line-item-from-cart + * url: https://docs.medusajs.com/resources/storefront-development/cart/manage-items#remove-line-item-from-cart * description: "Storefront guide: How to remove line item from cart." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts index d0cb841ef3..49892c2595 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts @@ -5,7 +5,7 @@ * description: Remove a list of promotions from a cart. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#remove-promotion-from-cart + * url: https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions#remove-promotion-from-cart * description: "Storefront guide: How to remove a promotion from cart." * parameters: * - name: id diff --git a/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts index 4d4b196948..adaddc29ad 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts @@ -6,7 +6,7 @@ * description: Remove an address of the logged-in customer. * x-authenticated: true * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#delete-customer-address + * url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#delete-customer-address * description: "Storefront guide: How to delete a customer's address." * parameters: * - name: address_id diff --git a/www/utils/generated/oas-output/operations/store/get_store_collections.ts b/www/utils/generated/oas-output/operations/store/get_store_collections.ts index ef7a42ba84..771571ebaa 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_collections.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_collections.ts @@ -5,7 +5,7 @@ * description: Retrieve a list of collections. The collections can be filtered by fields such as `handle`. The collections can also be sorted or paginated. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/collections/list + * url: https://docs.medusajs.com/resources/storefront-development/products/collections/list * description: "Storefront guide: How to retrieve a list of collections." * parameters: * - name: x-publishable-api-key diff --git a/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts index e32d2c4d0e..bfa4ae36f6 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts @@ -5,7 +5,7 @@ * description: Retrieve a collection by its ID. You can expand the collection's relations or select the fields that should be returned. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/collections/retrieve + * url: https://docs.medusajs.com/resources/storefront-development/products/collections/retrieve * description: "Storefront guide: How to retrieve a collection." * parameters: * - name: id diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts index 2226ac808e..37b1bc84bf 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts @@ -6,7 +6,7 @@ * description: Retrieve the logged-in customer. You can expand the customer's relations or select the fields that should be returned. * x-authenticated: true * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/retrieve + * url: https://docs.medusajs.com/resources/storefront-development/customers/retrieve * description: "Storefront guide: How to retrieve the logged-in customer." * parameters: * - name: x-publishable-api-key diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts index 8b62755c8c..7c9bff0141 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts @@ -6,7 +6,7 @@ * description: Retrieve the addresses of the logged-in customer. The addresses can be filtered by fields such as `country_code`. The addresses can also be sorted or paginated. * x-authenticated: true * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#list-customer-addresses + * url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#list-customer-addresses * description: "Storefront guide: How to retrieve the logged-in customer's addresses." * parameters: * - name: x-publishable-api-key diff --git a/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts b/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts index 05d05b7dc0..c363419257 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts @@ -5,7 +5,7 @@ * description: Retrieve a list of payment providers. You must provide the `region_id` query parameter to retrieve the payment providers enabled in that region. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + * url: https://docs.medusajs.com/resources/storefront-development/checkout/payment * description: "Storefront guide: How to implement payment during checkout." * parameters: * - name: x-publishable-api-key diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts b/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts index 5692832112..ecc1dcf6d4 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts @@ -5,7 +5,7 @@ * description: Retrieve a list of product categories. The product categories can be filtered by fields such as `id`. The product categories can also be sorted or paginated. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/categories/list + * url: https://docs.medusajs.com/resources/storefront-development/products/categories/list * description: "Storefront guide: How to retrieve a list of product categories." * parameters: * - name: x-publishable-api-key diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts index 2bd74d6fe3..67acd04395 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts @@ -5,7 +5,7 @@ * description: Retrieve a product category by its ID. You can expand the product category's relations or select the fields that should be returned. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/categories/retrieve + * url: https://docs.medusajs.com/resources/storefront-development/products/categories/retrieve * description: "Storefront guide: How to retrieve a product category." * parameters: * - name: id diff --git a/www/utils/generated/oas-output/operations/store/get_store_products.ts b/www/utils/generated/oas-output/operations/store/get_store_products.ts index 71e61f0cac..67dd66296d 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_products.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_products.ts @@ -5,7 +5,7 @@ * description: Retrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/price + * url: https://docs.medusajs.com/resources/storefront-development/products/price * description: "Storefront guide: How to retrieve a product variants' prices." * parameters: * - name: x-publishable-api-key @@ -143,7 +143,7 @@ * schema: * description: Filter by a collection's ID to retrieve the products in it. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/collections/products + * url: https://docs.medusajs.com/resources/storefront-development/products/collections/products * description: "Storefront guide: Retrieve a collection's products." * items: * type: string @@ -650,7 +650,7 @@ * title: region_id * description: The ID of the region the products are being viewed from. This is required if you're retrieving product variant prices with taxes. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/price/examples/tax-price + * url: https://docs.medusajs.com/resources/storefront-development/products/price/examples/tax-price * description: "Storefront guide: How to show product variants' prices with taxes." * - name: province * in: query diff --git a/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts index d524fdbb1d..bfcc0ea3f1 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts @@ -5,7 +5,7 @@ * description: Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/price + * url: https://docs.medusajs.com/resources/storefront-development/products/price * description: "Storefront guide: How to retrieve a product variants' prices." * parameters: * - name: id @@ -43,7 +43,7 @@ * title: region_id * description: The ID of the region the product is being viewed from. This is required if you're retrieving product variant prices with taxes. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/price/examples/tax-price + * url: https://docs.medusajs.com/resources/storefront-development/products/price/examples/tax-price * description: "Storefront guide: How to show product variants' prices with taxes." * - name: country_code * in: query diff --git a/www/utils/generated/oas-output/operations/store/get_store_regions.ts b/www/utils/generated/oas-output/operations/store/get_store_regions.ts index dd01a314cf..3454f0d9cc 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_regions.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_regions.ts @@ -5,7 +5,7 @@ * description: Retrieve a list of regions. The regions can be filtered by fields such as `id`. The regions can also be sorted or paginated. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/regions/list + * url: https://docs.medusajs.com/resources/storefront-development/regions/list * description: "Storefront guide: How to retrieve a list of regions." * parameters: * - name: x-publishable-api-key diff --git a/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts b/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts index 67b9356491..89355c7f08 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts @@ -7,7 +7,7 @@ * * The shipping options also be sorted or paginated. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/shipping + * url: https://docs.medusajs.com/resources/storefront-development/checkout/shipping * description: "Storefront guide: How to implement shipping during checkout." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider].ts b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider].ts index 2ce181b300..802d19717a 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider].ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider].ts @@ -9,7 +9,7 @@ * When used with a third-party provider, such as Google, the request returns a `location` property. You redirect to the * specified URL in your storefront to continue authentication with the third-party service. * externalDocs: - * url: https://docs.medusajs.com/v2/storefront-development/customers/login#1-using-a-jwt-token + * url: https://docs.medusajs.com/resources/storefront-development/customers/login#1-using-a-jwt-token * description: "Storefront development: How to login as a customer" * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_callback.ts b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_callback.ts index 2943ce1465..29a3621d1f 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_callback.ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_callback.ts @@ -9,7 +9,7 @@ * You can decode the JWT token using libraries like [react-jwt](https://www.npmjs.com/package/react-jwt) in the storefront. If the decoded data doesn't * have an `actor_id` property, then you must register the customer using the Create Customer API route passing the token in the request's Authorization header. * externalDocs: - * url: https://docs.medusajs.com/v2/storefront-development/customers/third-party-login + * url: https://docs.medusajs.com/resources/storefront-development/customers/third-party-login * description: "Storefront development: Implement third-party (social) login." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_register.ts b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_register.ts index e372dea003..15db16ed95 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_register.ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_register.ts @@ -4,7 +4,7 @@ * summary: Retrieve Registration JWT Token * description: This API route retrieves a registration JWT token of a customer that hasn't been registered yet. The token is used in the header of requests that create a customer. * externalDocs: - * url: https://docs.medusajs.com/v2/storefront-development/customers/register + * url: https://docs.medusajs.com/resources/storefront-development/customers/register * description: "Storefront development: How to register a customer" * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts index 2f381a3dcd..851f7dc93e 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_reset-password.ts @@ -12,7 +12,7 @@ * * Use the generated token to update the customer's password using the [Reset Password API route](https://docs.medusajs.com/api/store#auth_postactor_typeauth_providerupdate). * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password#1-request-reset-password-page + * url: https://docs.medusajs.com/resources/storefront-development/customers/reset-password#1-request-reset-password-page * description: "Storefront development: How to create the request reset password page." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_update.ts b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_update.ts index ab3b2496f2..3c7cc1faac 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_update.ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_[actor_type]_[auth_provider]_update.ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Reset Password * description: Reset a customer's password using a reset-password token generated with the [Generate Reset Password Token API route](https://docs.medusajs.com/api/store#auth_postactor_typeauth_providerresetpassword). You pass the token as a bearer token in the request's Authorization header. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password#2-reset-password-page + * url: https://docs.medusajs.com/resources/storefront-development/customers/reset-password#2-reset-password-page * description: "Storefront development: How to create the reset password page." * x-authenticated: true * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_auth_session.ts b/www/utils/generated/oas-output/operations/store/post_auth_session.ts index 0015d95832..fb53d2b4f9 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_session.ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_session.ts @@ -5,7 +5,7 @@ * description: Set the cookie session ID of a customer. The customer must be previously authenticated with the `/auth/customer/{provider}` API route first, * as the JWT token is required in the header of the request. * externalDocs: - * url: https://docs.medusajs.com/v2/storefront-development/customers/login#2-using-a-cookie-session + * url: https://docs.medusajs.com/resources/storefront-development/customers/login#2-using-a-cookie-session * description: "Storefront development: How to login as a customer" * x-authenticated: true * x-codeSamples: diff --git a/www/utils/generated/oas-output/operations/store/post_auth_token_refresh.ts b/www/utils/generated/oas-output/operations/store/post_auth_token_refresh.ts index 2da9c75463..ced897296a 100644 --- a/www/utils/generated/oas-output/operations/store/post_auth_token_refresh.ts +++ b/www/utils/generated/oas-output/operations/store/post_auth_token_refresh.ts @@ -4,7 +4,7 @@ * summary: Refresh Authentication Token * description: Refresh the authentication token of a customer. This is useful after authenticating a customer with a third-party service to ensure the token holds the new user's details, or when you don't want customers to re-login every day. * externalDocs: - * url: https://docs.medusajs.com/v2/storefront-development/customers/third-party-login + * url: https://docs.medusajs.com/resources/storefront-development/customers/third-party-login * description: "Storefront development: Implement third-party (social) login." * x-authenticated: true * x-codeSamples: diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts index f96663b5de..51089b0fd4 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts @@ -5,7 +5,7 @@ * description: Complete a cart and place an order. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/complete-cart + * url: https://docs.medusajs.com/resources/storefront-development/checkout/complete-cart * description: "Storefront guide: How to implement cart completion during checkout." * parameters: * - name: id @@ -123,7 +123,7 @@ * type: string * title: type * description: > - * The error's type. Can be a [MedusaError type](https://docs.medusajs.com/v2/advanced-development/api-routes/errors#medusaerror-types) or `payment_authorization_error` or + * The error's type. Can be a [MedusaError type](https://docs.medusajs.com/learn/fundamentals/api-routes/errors#medusaerror-types) or `payment_authorization_error` or * `payment_requires_more_error` for payment-related errors. * "400": * $ref: "#/components/responses/400_error" diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts index a181621f6e..a42671d32c 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Add Line Item * description: Add a product variant as a line item in the cart. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#add-product-variant-to-cart + * url: https://docs.medusajs.com/resources/storefront-development/cart/manage-items#add-product-variant-to-cart * description: "Storefront guide: How to add a product variant to the cart." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts index 52b6191843..9c75484d18 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Update Line Item * description: Update a line item's details in the cart. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-items#update-line-item-in-cart + * url: https://docs.medusajs.com/resources/storefront-development/cart/manage-items#update-line-item-in-cart * description: "Storefront guide: How to update a cart's line item." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts index ee3c80948a..cf4fcbeb3d 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts @@ -6,7 +6,7 @@ * description: Add a list of promotions to a cart. * x-authenticated: false * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/cart/manage-promotions#add-promotion-to-cart + * url: https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions#add-promotion-to-cart * description: "Storefront guide: How to add a promotion to cart." * parameters: * - name: id diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts index 1900e10303..2bc1b8f113 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Add Shipping Method * description: Add a shipping method to a cart. Use this API route when the customer chooses their preferred shipping option. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/shipping + * url: https://docs.medusajs.com/resources/storefront-development/checkout/shipping * description: "Storefront guide: How to implement shipping during checkout." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers.ts b/www/utils/generated/oas-output/operations/store/post_store_customers.ts index dab7276e4b..a582ec5e8c 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers.ts @@ -4,7 +4,7 @@ * summary: Register Customer * description: Register a customer. Use the `/auth/customer/emailpass/register` API route first to retrieve the registration token and pass it in the header of the request. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/register + * url: https://docs.medusajs.com/resources/storefront-development/customers/register * description: "Storefront guide: How to register a customer." * x-authenticated: true * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts index c69745c993..066518bf59 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts @@ -4,7 +4,7 @@ * summary: Update Customer * description: Update the logged-in customer's details. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/profile + * url: https://docs.medusajs.com/resources/storefront-development/customers/profile * description: "Storefront guide: How to edit a customer's profile." * x-authenticated: true * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts index f6e5b7bf4a..38797edc18 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Create Address * description: Create an address for the logged-in customer. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#add-customer-address + * url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#add-customer-address * description: "Storefront guide: How to create an address for the logged-in customer." * x-authenticated: true * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts index ca2c14b590..5332e0b159 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts @@ -5,7 +5,7 @@ * x-sidebar-summary: Update Address * description: Update the logged-in customer's address. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/customers/addresses#edit-an-address + * url: https://docs.medusajs.com/resources/storefront-development/customers/addresses#edit-an-address * description: "Storefront guide: How to update an address of the logged-in customer." * x-authenticated: true * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts b/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts index 42881f139e..888e2317c6 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts @@ -4,7 +4,7 @@ * summary: Create Payment Collection * description: Create a payment collection for a cart. This is used during checkout, where the payment collection holds the cart's payment sessions. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + * url: https://docs.medusajs.com/resources/storefront-development/checkout/payment * description: "Storefront guide: How to implement payment during checkout." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts b/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts index 1507f605c4..92206bd5ec 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts @@ -13,7 +13,7 @@ * * Make sure to configure the Manual System Payment Provider in your store's region. Learn more in the [Manage Region](https://docs.medusajs.com/user-guide/settings/regions#edit-region-details) user guide. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/checkout/payment + * url: https://docs.medusajs.com/resources/storefront-development/checkout/payment * description: "Storefront guide: How to implement payment during checkout." * x-authenticated: false * parameters: diff --git a/www/utils/generated/oas-output/schemas/AdminClaim.ts b/www/utils/generated/oas-output/schemas/AdminClaim.ts index e5d39bef74..958282f204 100644 --- a/www/utils/generated/oas-output/schemas/AdminClaim.ts +++ b/www/utils/generated/oas-output/schemas/AdminClaim.ts @@ -62,7 +62,7 @@ * type: array * description: The claim's transactions. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + * url: https://docs.medusajs.com/resources/commerce-modules/order/transactions * description: Learn more about transactions of orders and associated models. * items: * $ref: "#/components/schemas/BaseOrderTransaction" diff --git a/www/utils/generated/oas-output/schemas/AdminCreateFlatRateShippingOption.ts b/www/utils/generated/oas-output/schemas/AdminCreateFlatRateShippingOption.ts index 36c6fd2c3d..6e8a6995de 100644 --- a/www/utils/generated/oas-output/schemas/AdminCreateFlatRateShippingOption.ts +++ b/www/utils/generated/oas-output/schemas/AdminCreateFlatRateShippingOption.ts @@ -27,7 +27,7 @@ * type: object * description: The flat-rate shipping option's data, useful for the fulfillment provider handling its processing. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * price_type: * type: string * description: The shipping option's price type. If `flat`, the shipping option has a fixed price set in `prices`. Otherwise, the shipping option's price is calculated by the fulfillment provider. diff --git a/www/utils/generated/oas-output/schemas/AdminCreateFulfillment.ts b/www/utils/generated/oas-output/schemas/AdminCreateFulfillment.ts index 479330181e..beaa2d1be5 100644 --- a/www/utils/generated/oas-output/schemas/AdminCreateFulfillment.ts +++ b/www/utils/generated/oas-output/schemas/AdminCreateFulfillment.ts @@ -43,7 +43,7 @@ * type: object * description: Any data useful for the fulfillment provider to handle the fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * description: Learn more about the data property. * packed_at: * type: string diff --git a/www/utils/generated/oas-output/schemas/AdminCreateTaxRate.ts b/www/utils/generated/oas-output/schemas/AdminCreateTaxRate.ts index efbfaeb897..bd2f3d6cea 100644 --- a/www/utils/generated/oas-output/schemas/AdminCreateTaxRate.ts +++ b/www/utils/generated/oas-output/schemas/AdminCreateTaxRate.ts @@ -40,7 +40,7 @@ * title: is_combinable * description: Whether the tax rate should be combined with parent rates. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + * url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates * metadata: * type: object * description: The tax rate's metadata, used to store custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/AdminCreateTaxRegion.ts b/www/utils/generated/oas-output/schemas/AdminCreateTaxRegion.ts index 61b0cb4b78..7e98e48487 100644 --- a/www/utils/generated/oas-output/schemas/AdminCreateTaxRegion.ts +++ b/www/utils/generated/oas-output/schemas/AdminCreateTaxRegion.ts @@ -48,7 +48,7 @@ * type: boolean * description: Whether the tax rate should be combined with parent rates. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + * url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates * metadata: * type: object * description: The default tax rate's metadata, used to store custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts b/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts index 643a203f1e..fb6906f3c6 100644 --- a/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts +++ b/www/utils/generated/oas-output/schemas/AdminDraftOrderPreview.ts @@ -341,7 +341,7 @@ * type: object * description: The data relevant for the fulfillment provider to process this shipment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property * metadata: * type: object * description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/AdminExchange.ts b/www/utils/generated/oas-output/schemas/AdminExchange.ts index 7dc19c99ab..880b9210ff 100644 --- a/www/utils/generated/oas-output/schemas/AdminExchange.ts +++ b/www/utils/generated/oas-output/schemas/AdminExchange.ts @@ -58,7 +58,7 @@ * type: array * description: The exchange's transactions. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + * url: https://docs.medusajs.com/resources/commerce-modules/order/transactions * items: * $ref: "#/components/schemas/BaseOrderTransaction" * metadata: diff --git a/www/utils/generated/oas-output/schemas/AdminFulfillment.ts b/www/utils/generated/oas-output/schemas/AdminFulfillment.ts index 733ccccb9c..ab09e68cb4 100644 --- a/www/utils/generated/oas-output/schemas/AdminFulfillment.ts +++ b/www/utils/generated/oas-output/schemas/AdminFulfillment.ts @@ -72,7 +72,7 @@ * type: object * description: The fulfillment's data, useful for the third-party provider handling the fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * metadata: * type: object * description: The fulfillment's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/AdminOrderFulfillment.ts b/www/utils/generated/oas-output/schemas/AdminOrderFulfillment.ts index 890802b185..1513892a10 100644 --- a/www/utils/generated/oas-output/schemas/AdminOrderFulfillment.ts +++ b/www/utils/generated/oas-output/schemas/AdminOrderFulfillment.ts @@ -50,7 +50,7 @@ * type: object * description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * provider_id: * type: string * title: provider_id diff --git a/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts b/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts index 0829953531..24190425f7 100644 --- a/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts +++ b/www/utils/generated/oas-output/schemas/AdminOrderPreview.ts @@ -341,7 +341,7 @@ * type: object * description: The data relevant for the fulfillment provider to process this shipment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property * metadata: * type: object * description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/AdminOrderShippingMethod.ts b/www/utils/generated/oas-output/schemas/AdminOrderShippingMethod.ts index 8da283358c..1e0c1c582e 100644 --- a/www/utils/generated/oas-output/schemas/AdminOrderShippingMethod.ts +++ b/www/utils/generated/oas-output/schemas/AdminOrderShippingMethod.ts @@ -55,7 +55,7 @@ * type: object * description: The shipping method's data, useful for fulfillment provider handling its fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * metadata: * type: object * description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/AdminPayment.ts b/www/utils/generated/oas-output/schemas/AdminPayment.ts index 5393d998df..54baffc324 100644 --- a/www/utils/generated/oas-output/schemas/AdminPayment.ts +++ b/www/utils/generated/oas-output/schemas/AdminPayment.ts @@ -33,7 +33,7 @@ * type: object * description: The payment's data, useful for processing by the payment provider. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + * url: https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment * created_at: * type: string * format: date-time diff --git a/www/utils/generated/oas-output/schemas/AdminPaymentSession.ts b/www/utils/generated/oas-output/schemas/AdminPaymentSession.ts index 89e6f58e3e..ee3e7fe6b3 100644 --- a/www/utils/generated/oas-output/schemas/AdminPaymentSession.ts +++ b/www/utils/generated/oas-output/schemas/AdminPaymentSession.ts @@ -25,7 +25,7 @@ * type: object * description: The payment session's data, useful for the payment provider processing the payment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property * context: * type: object * description: The context around the payment, such as the customer's details. diff --git a/www/utils/generated/oas-output/schemas/AdminShippingOption.ts b/www/utils/generated/oas-output/schemas/AdminShippingOption.ts index 541d25502c..49ffb61dbc 100644 --- a/www/utils/generated/oas-output/schemas/AdminShippingOption.ts +++ b/www/utils/generated/oas-output/schemas/AdminShippingOption.ts @@ -76,7 +76,7 @@ * type: object * description: The shipping option's data, useful for the fulfillment provider handling fulfillments created from this option. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * metadata: * type: object * description: The shipping option's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/AdminTaxRate.ts b/www/utils/generated/oas-output/schemas/AdminTaxRate.ts index e3079c4c1a..a29d6a307f 100644 --- a/www/utils/generated/oas-output/schemas/AdminTaxRate.ts +++ b/www/utils/generated/oas-output/schemas/AdminTaxRate.ts @@ -51,7 +51,7 @@ * title: is_combinable * description: Whether the tax rate should be combined with parent rates. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + * url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates * is_default: * type: boolean * title: is_default diff --git a/www/utils/generated/oas-output/schemas/AdminUpdateTaxRate.ts b/www/utils/generated/oas-output/schemas/AdminUpdateTaxRate.ts index 03e7fef7f7..827a425c9d 100644 --- a/www/utils/generated/oas-output/schemas/AdminUpdateTaxRate.ts +++ b/www/utils/generated/oas-output/schemas/AdminUpdateTaxRate.ts @@ -30,7 +30,7 @@ * title: is_combinable * description: Whether the tax rate should be combined with parent rates. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates + * url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates * metadata: * type: object * description: The tax rate's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/BaseOrderFulfillment.ts b/www/utils/generated/oas-output/schemas/BaseOrderFulfillment.ts index 0a915621c9..8e5d8d271b 100644 --- a/www/utils/generated/oas-output/schemas/BaseOrderFulfillment.ts +++ b/www/utils/generated/oas-output/schemas/BaseOrderFulfillment.ts @@ -50,7 +50,7 @@ * type: object * description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * provider_id: * type: string * title: provider_id diff --git a/www/utils/generated/oas-output/schemas/BaseOrderShippingMethod.ts b/www/utils/generated/oas-output/schemas/BaseOrderShippingMethod.ts index 13549e83d9..f630bf4bb3 100644 --- a/www/utils/generated/oas-output/schemas/BaseOrderShippingMethod.ts +++ b/www/utils/generated/oas-output/schemas/BaseOrderShippingMethod.ts @@ -55,7 +55,7 @@ * type: object * description: The shipping method's data, useful for fulfillment provider handling its fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * metadata: * type: object * description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/BasePayment.ts b/www/utils/generated/oas-output/schemas/BasePayment.ts index d1acf7e1ec..eaabd0b845 100644 --- a/www/utils/generated/oas-output/schemas/BasePayment.ts +++ b/www/utils/generated/oas-output/schemas/BasePayment.ts @@ -33,7 +33,7 @@ * type: object * description: The payment's data, useful for processing by the payment provider. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment#whats-a-payment + * url: https://docs.medusajs.com/resources/commerce-modules/payment/payment#whats-a-payment * created_at: * type: string * format: date-time diff --git a/www/utils/generated/oas-output/schemas/OrderClaim.ts b/www/utils/generated/oas-output/schemas/OrderClaim.ts index 545e1fdc4d..8c96fb2d5d 100644 --- a/www/utils/generated/oas-output/schemas/OrderClaim.ts +++ b/www/utils/generated/oas-output/schemas/OrderClaim.ts @@ -58,7 +58,7 @@ * type: array * description: The claim's transactions. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + * url: https://docs.medusajs.com/resources/commerce-modules/order/transactions * description: Learn more about transactions of orders and associated models. * items: * $ref: "#/components/schemas/OrderTransaction" diff --git a/www/utils/generated/oas-output/schemas/OrderExchange.ts b/www/utils/generated/oas-output/schemas/OrderExchange.ts index 73b05f8c90..2cd442aa25 100644 --- a/www/utils/generated/oas-output/schemas/OrderExchange.ts +++ b/www/utils/generated/oas-output/schemas/OrderExchange.ts @@ -51,7 +51,7 @@ * type: array * description: The exchange's transactions. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/transactions + * url: https://docs.medusajs.com/resources/commerce-modules/order/transactions * items: * $ref: "#/components/schemas/OrderTransaction" * metadata: diff --git a/www/utils/generated/oas-output/schemas/OrderShippingMethod.ts b/www/utils/generated/oas-output/schemas/OrderShippingMethod.ts index 68219656f1..8ee97796dc 100644 --- a/www/utils/generated/oas-output/schemas/OrderShippingMethod.ts +++ b/www/utils/generated/oas-output/schemas/OrderShippingMethod.ts @@ -52,7 +52,7 @@ * type: object * description: The shipping method's data, useful for the fulfillment provider handling the fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/order/concepts#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/order/concepts#data-property * metadata: * type: object * description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts b/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts index b206e613bd..d488b45dfc 100644 --- a/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts +++ b/www/utils/generated/oas-output/schemas/StoreCartShippingMethod.ts @@ -44,7 +44,7 @@ * type: object * description: The shipping method's data, useful for fulfillment handling by third-party services. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/cart/concepts#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/cart/concepts#data-property * metadata: * type: object * description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/StoreCartShippingOption.ts b/www/utils/generated/oas-output/schemas/StoreCartShippingOption.ts index cdfda52004..fdc2b9fbd9 100644 --- a/www/utils/generated/oas-output/schemas/StoreCartShippingOption.ts +++ b/www/utils/generated/oas-output/schemas/StoreCartShippingOption.ts @@ -93,7 +93,7 @@ * type: object * description: The shipping option's data, useful for the provider handling fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * prices: * type: array * description: The shipping option's prices. diff --git a/www/utils/generated/oas-output/schemas/StoreInitializePaymentSession.ts b/www/utils/generated/oas-output/schemas/StoreInitializePaymentSession.ts index 5609907281..7edc311de8 100644 --- a/www/utils/generated/oas-output/schemas/StoreInitializePaymentSession.ts +++ b/www/utils/generated/oas-output/schemas/StoreInitializePaymentSession.ts @@ -14,7 +14,7 @@ * type: object * description: Any data necessary for the payment provider to process the payment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property * description: Learn more about the payment session's data property * x-schemaName: StoreInitializePaymentSession * diff --git a/www/utils/generated/oas-output/schemas/StoreOrderFulfillment.ts b/www/utils/generated/oas-output/schemas/StoreOrderFulfillment.ts index 1d392b1331..039f4ec518 100644 --- a/www/utils/generated/oas-output/schemas/StoreOrderFulfillment.ts +++ b/www/utils/generated/oas-output/schemas/StoreOrderFulfillment.ts @@ -50,7 +50,7 @@ * type: object * description: Data useful for the fulfillment provider handling it. This is taken from the associated shipping option. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * provider_id: * type: string * title: provider_id diff --git a/www/utils/generated/oas-output/schemas/StoreOrderShippingMethod.ts b/www/utils/generated/oas-output/schemas/StoreOrderShippingMethod.ts index 3b5f8e34f9..8b452dcf40 100644 --- a/www/utils/generated/oas-output/schemas/StoreOrderShippingMethod.ts +++ b/www/utils/generated/oas-output/schemas/StoreOrderShippingMethod.ts @@ -55,7 +55,7 @@ * type: object * description: The shipping method's data, useful for fulfillment provider handling its fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * metadata: * type: object * description: The shipping method's metadata, can hold custom key-value pairs. diff --git a/www/utils/generated/oas-output/schemas/StorePaymentSession.ts b/www/utils/generated/oas-output/schemas/StorePaymentSession.ts index d92517147c..55aff19c53 100644 --- a/www/utils/generated/oas-output/schemas/StorePaymentSession.ts +++ b/www/utils/generated/oas-output/schemas/StorePaymentSession.ts @@ -25,7 +25,7 @@ * type: object * description: The payment session's data, useful for the payment provider processing the payment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property * context: * type: object * description: The context around the payment, such as the customer's details. diff --git a/www/utils/generated/oas-output/schemas/StoreProductVariant.ts b/www/utils/generated/oas-output/schemas/StoreProductVariant.ts index 09d2d690e2..f44319cd56 100644 --- a/www/utils/generated/oas-output/schemas/StoreProductVariant.ts +++ b/www/utils/generated/oas-output/schemas/StoreProductVariant.ts @@ -101,14 +101,14 @@ * title: manage_inventory * description: Whether Medusa manages the variant's inventory. If disabled, the variant is always considered in stock. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + * url: https://docs.medusajs.com/resources/storefront-development/products/inventory * description: "Storefront guide: How to retrieve a product variant's inventory details." * inventory_quantity: * type: number * title: inventory_quantity * description: The variant's inventory quantity. This property is only available if you pass `+variants.inventory_quantity` in the `fields` query parameter. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/storefront-development/products/inventory + * url: https://docs.medusajs.com/resources/storefront-development/products/inventory * description: "Storefront guide: How to retrieve a product variant's inventory details." * variant_rank: * type: number diff --git a/www/utils/generated/oas-output/schemas/StoreShippingOption.ts b/www/utils/generated/oas-output/schemas/StoreShippingOption.ts index c6afa112ac..f1c0abb1c6 100644 --- a/www/utils/generated/oas-output/schemas/StoreShippingOption.ts +++ b/www/utils/generated/oas-output/schemas/StoreShippingOption.ts @@ -65,7 +65,7 @@ * type: object * description: The shipping option's data, useful for the provider handling fulfillment. * externalDocs: - * url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property + * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property * metadata: * type: object * description: The shipping option's metadata, can hold custom key-value pairs.