Open Connector
所有 Tools

Medusa Store logoMedusa Store

Build storefront and customer commerce flows through the Medusa v2 Store API.

medusa-storevcatalog-v159 个 Tools

认证方式

方式底层类型状态说明
Publishable API Keyapi_keyavailable
Publishable API Key + Customer JWTapi_keyavailable

调用示例

import { createClient } from "@open-connector/sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "MEDUSA_STORE_DELETE_CARTS_ID_GIFT_CARDS",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("MEDUSA_STORE_DELETE_CARTS_ID_GIFT_CARDS", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute MEDUSA_STORE_DELETE_CARTS_ID_GIFT_CARDS --data '{ }'

Tool 目录

可用 Tools

59 个可调用操作

Remove Gift Card from CartMEDUSA_STORE_DELETE_CARTS_ID_GIFT_CARDSRemove a Gift Card from a cart.

Remove a Gift Card from a cart.

认证

需要 Connected Account

Tags

Carts
Remove Line Item from CartMEDUSA_STORE_DELETE_CARTS_ID_LINE_ITEMS_LINE_IDRemove a line item from a cart.

Remove a line item from a cart.

认证

需要 Connected Account

Tags

Carts
Remove Promotions from CartMEDUSA_STORE_DELETE_CARTS_ID_PROMOTIONSRemove a list of promotions from a cart.

Remove a list of promotions from a cart.

认证

需要 Connected Account

Tags

Carts
Remove Customer's AddressMEDUSA_STORE_DELETE_CUSTOMERS_ME_ADDRESSES_ADDRESS_IDRemove an address of the logged-in customer.

Remove an address of the logged-in customer.

认证

需要 Connected Account

Tags

Customers
Get a CartMEDUSA_STORE_GET_CARTS_IDRetrieve a cart by its ID. You can expand the cart's relations or select the fields that should be returned.

Retrieve a cart by its ID. You can expand the cart's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Carts
List CollectionsMEDUSA_STORE_GET_COLLECTIONSRetrieve a list of collections. The collections can be filtered by fields such as `handle`. The collections can also be sorted or paginated.

Retrieve a list of collections. The collections can be filtered by fields such as `handle`. The collections can also be sorted or paginated.

认证

需要 Connected Account

Tags

Collections
Get a CollectionMEDUSA_STORE_GET_COLLECTIONS_IDRetrieve a collection by its ID. You can expand the collection's relations or select the fields that should be returned.

Retrieve a collection by its ID. You can expand the collection's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Collections
List CurrenciesMEDUSA_STORE_GET_CURRENCIESRetrieve a list of currencies. The currencies can be filtered by fields such as `code`. The currencies can also be sorted or paginated.

Retrieve a list of currencies. The currencies can be filtered by fields such as `code`. The currencies can also be sorted or paginated.

认证

需要 Connected Account

Tags

Currencies
Get a CurrencyMEDUSA_STORE_GET_CURRENCIES_CODERetrieve a currency by its code. You can expand the currency's relations or select the fields that should be returned.

Retrieve a currency by its code. You can expand the currency's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Currencies
Get Logged-in CustomerMEDUSA_STORE_GET_CUSTOMERS_MERetrieve the logged-in customer. You can expand the customer's relations or select the fields that should be returned.

Retrieve the logged-in customer. You can expand the customer's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Customers
List Customer's AddressesMEDUSA_STORE_GET_CUSTOMERS_ME_ADDRESSESRetrieve 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.

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.

认证

需要 Connected Account

Tags

Customers
Get Customer's AddressMEDUSA_STORE_GET_CUSTOMERS_ME_ADDRESSES_ADDRESS_IDRetrieve an address of the logged-in customer. You can expand the address's relations or select the fields that should be returned.

Retrieve an address of the logged-in customer. You can expand the address's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Customers
Get a Gift CardMEDUSA_STORE_GET_GIFT_CARDS_IDORCODERetrieve a gift card by its ID or code. You can expand the gift card's relations or select the fields that should be returned.

Retrieve a gift card by its ID or code. You can expand the gift card's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Gift Cards
List LocalesMEDUSA_STORE_GET_LOCALESRetrieve the list of supported locales. You can use this list to allow customers to select their preferred locale in your storefront.

Retrieve the list of supported locales. You can use this list to allow customers to select their preferred locale in your storefront.

认证

需要 Connected Account

Tags

Locales
List Logged-in Customer's OrdersMEDUSA_STORE_GET_ORDERSRetrieve the orders of the logged-in customer. The orders can be filtered by fields such as `id`. The orders can also be sorted or paginated.

Retrieve the orders of the logged-in customer. The orders can be filtered by fields such as `id`. The orders can also be sorted or paginated.

认证

需要 Connected Account

Tags

Orders
Get an OrderMEDUSA_STORE_GET_ORDERS_IDRetrieve an order by its ID. You can expand the order's relations or select the fields that should be returned. This API route doesn't require customer authentication, so that guest customers can view their order confirmation page after placing an order. To restrict access to this API route, refer to the [Restrict Order Retrieval guide](https://docs.medusajs.com/resources/commerce-modules/order/secure-order-retrieval).

Retrieve an order by its ID. You can expand the order's relations or select the fields that should be returned. This API route doesn't require customer authentication, so that guest customers can view their order confirmation page after placing an order. To restrict access to this API route, refer to the [Restrict Order Retrieval guide](https://docs.medusajs.com/resources/commerce-modules/order/secure-order-retrieval).

认证

需要 Connected Account

Tags

Orders
List Payment ProvidersMEDUSA_STORE_GET_PAYMENT_PROVIDERSRetrieve a list of payment providers. You must provide the `region_id` query parameter to retrieve the payment providers enabled in that region.

Retrieve a list of payment providers. You must provide the `region_id` query parameter to retrieve the payment providers enabled in that region.

认证

需要 Connected Account

Tags

Payment Providers
List Product CategoriesMEDUSA_STORE_GET_PRODUCT_CATEGORIESRetrieve 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.

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.

认证

需要 Connected Account

Tags

Product Categories
Get a Product CategoryMEDUSA_STORE_GET_PRODUCT_CATEGORIES_IDRetrieve a product category by its ID. You can expand the product category's relations or select the fields that should be returned.

Retrieve a product category by its ID. You can expand the product category's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Product Categories
List Product OptionsMEDUSA_STORE_GET_PRODUCT_OPTIONSRetrieve a list of product options. The product options can be filtered by fields such as `id`. The product options can also be sorted or paginated.

Retrieve a list of product options. The product options can be filtered by fields such as `id`. The product options can also be sorted or paginated.

认证

需要 Connected Account

Tags

Product Options
Get a Product OptionMEDUSA_STORE_GET_PRODUCT_OPTIONS_IDRetrieve a product option by its ID. You can expand the product option's relations or select the fields that should be returned.

Retrieve a product option by its ID. You can expand the product option's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Product Options
List Product TagsMEDUSA_STORE_GET_PRODUCT_TAGSRetrieve a list of product tags. The product tags can be filtered by fields such as `id`. The product tags can also be sorted or paginated.

Retrieve a list of product tags. The product tags can be filtered by fields such as `id`. The product tags can also be sorted or paginated.

认证

需要 Connected Account

Tags

Product Tags
Get a Product TagMEDUSA_STORE_GET_PRODUCT_TAGS_IDRetrieve a product tag by its ID. You can expand the product tag's relations or select the fields that should be returned.

Retrieve a product tag by its ID. You can expand the product tag's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Product Tags
List Product TypesMEDUSA_STORE_GET_PRODUCT_TYPESRetrieve a list of product types. The product types can be filtered by fields such as `id`. The product types can also be sorted or paginated.

Retrieve a list of product types. The product types can be filtered by fields such as `id`. The product types can also be sorted or paginated.

认证

需要 Connected Account

Tags

Product Types
Get a Product TypeMEDUSA_STORE_GET_PRODUCT_TYPES_IDRetrieve a product type by its ID. You can expand the product type's relations or select the fields that should be returned.

Retrieve a product type by its ID. You can expand the product type's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Product Types
List Product VariantsMEDUSA_STORE_GET_PRODUCT_VARIANTSRetrieve a list of product variants. The product variants can be filtered by fields such as `id`. The product variants can also be sorted or paginated.

Retrieve a list of product variants. The product variants can be filtered by fields such as `id`. The product variants can also be sorted or paginated.

认证

需要 Connected Account

Tags

Product Variants
List ProductsMEDUSA_STORE_GET_PRODUCTSRetrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated. You can retrieve the content of the products translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. With localization, the products' content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section.

Retrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated. You can retrieve the content of the products translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. With localization, the products' content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section.

认证

需要 Connected Account

Tags

Products
Get a ProductMEDUSA_STORE_GET_PRODUCTS_IDRetrieve a product by its ID. You can expand the product's relations or select the fields that should be returned. You can retrieve the content of the product translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. With localization, the product's content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section.

Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned. You can retrieve the content of the product translated to a specific locale either by passing the `locale` query parameter or by setting the `x-medusa-locale` header to the desired locale code in BCP 47 format. If you don't pass a locale, and your store has a default locale, the default locale will be used. With localization, the product's content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the [Localization](#localization) section.

认证

需要 Connected Account

Tags

Products
List RegionsMEDUSA_STORE_GET_REGIONSRetrieve a list of regions. The regions can be filtered by fields such as `id`. The regions can also be sorted or paginated.

Retrieve a list of regions. The regions can be filtered by fields such as `id`. The regions can also be sorted or paginated.

认证

需要 Connected Account

Tags

Regions
Get a RegionMEDUSA_STORE_GET_REGIONS_IDRetrieve a region by its ID. You can expand the region's relations or select the fields that should be returned.

Retrieve a region by its ID. You can expand the region's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Regions
List Return ReasonsMEDUSA_STORE_GET_RETURN_REASONSRetrieve a list of return reasons. The return reasons can be sorted or paginated.

Retrieve a list of return reasons. The return reasons can be sorted or paginated.

认证

需要 Connected Account

Tags

Return Reasons
Get a Return ReasonMEDUSA_STORE_GET_RETURN_REASONS_IDRetrieve a return reason by its ID. You can expand the return reason's relations or select the fields that should be returned.

Retrieve a return reason by its ID. You can expand the return reason's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Return Reasons
List Shipping Options for CartMEDUSA_STORE_GET_SHIPPING_OPTIONSRetrieve a list of shipping options for a cart. The cart's ID is set in the required `cart_id` query parameter. The shipping options also be sorted or paginated. For a shipping option whose `price_type` is `calculated`, the returned `amount` isn't reliable, as its price is computed on the fly by the fulfillment provider. To retrieve its price, use the [Calculate Shipping Option Price API route](https://docs.medusajs.com/api/store#shipping-options_postshippingoptionsidcalculate).

Retrieve a list of shipping options for a cart. The cart's ID is set in the required `cart_id` query parameter. The shipping options also be sorted or paginated. For a shipping option whose `price_type` is `calculated`, the returned `amount` isn't reliable, as its price is computed on the fly by the fulfillment provider. To retrieve its price, use the [Calculate Shipping Option Price API route](https://docs.medusajs.com/api/store#shipping-options_postshippingoptionsidcalculate).

认证

需要 Connected Account

Tags

Shipping Options
List Customer's Store Credit AccountsMEDUSA_STORE_GET_STORE_CREDIT_ACCOUNTSRetrieve the logged-in customer's store credit accounts. The store credit accounts can be filtered by fields such as `id`. The store credit accounts can also be sorted or paginated.

Retrieve the logged-in customer's store credit accounts. The store credit accounts can be filtered by fields such as `id`. The store credit accounts can also be sorted or paginated.

认证

需要 Connected Account

Tags

Store Credit Accounts
Get Customer's Store Credit AccountMEDUSA_STORE_GET_STORE_CREDIT_ACCOUNTS_IDRetrieve logged-in customer's store credit account by its ID. You can expand the store credit account's relations or select the fields that should be returned.

Retrieve logged-in customer's store credit account by its ID. You can expand the store credit account's relations or select the fields that should be returned.

认证

需要 Connected Account

Tags

Store Credit Accounts
Create CartMEDUSA_STORE_POST_CARTSCreate a cart.

Create a cart.

认证

需要 Connected Account

Tags

Carts
Update a CartMEDUSA_STORE_POST_CARTS_IDUpdate a cart's details. This unsets the payment methods chosen before, and the customer would have to choose them again. Also, if the customer has chosen a shipping method whose option isn't valid for the cart's shipping address anymore, the shipping method will be unset. For example, if the shipping option is valid only in the US geo zone, and the shipping address's country code is `DE`, the shipping method will be unset.

Update a cart's details. This unsets the payment methods chosen before, and the customer would have to choose them again. Also, if the customer has chosen a shipping method whose option isn't valid for the cart's shipping address anymore, the shipping method will be unset. For example, if the shipping option is valid only in the US geo zone, and the shipping address's country code is `DE`, the shipping method will be unset.

认证

需要 Connected Account

Tags

Carts
Complete CartMEDUSA_STORE_POST_CARTS_ID_COMPLETEComplete a cart and place an order.

Complete a cart and place an order.

认证

需要 Connected Account

Tags

Carts
Change Cart's Customer to Logged-in CustomerMEDUSA_STORE_POST_CARTS_ID_CUSTOMERChange the cart's customer to the currently logged-in customer. This is useful when you create the cart for a guest customer, then they log in with their account.

Change the cart's customer to the currently logged-in customer. This is useful when you create the cart for a guest customer, then they log in with their account.

认证

需要 Connected Account

Tags

Carts
Add Gift Card to CartMEDUSA_STORE_POST_CARTS_ID_GIFT_CARDSAdd a Gift Card to a cart

Add a Gift Card to a cart

认证

需要 Connected Account

Tags

Carts
Add Line Item to CartMEDUSA_STORE_POST_CARTS_ID_LINE_ITEMSAdd a product variant as a line item in the cart.

Add a product variant as a line item in the cart.

认证

需要 Connected Account

Tags

Carts
Update a Line Item in a CartMEDUSA_STORE_POST_CARTS_ID_LINE_ITEMS_LINE_IDUpdate a line item's details in the cart.

Update a line item's details in the cart.

认证

需要 Connected Account

Tags

Carts
Add Promotions to CartMEDUSA_STORE_POST_CARTS_ID_PROMOTIONSAdd a list of promotions to a cart.

Add a list of promotions to a cart.

认证

需要 Connected Account

Tags

Carts
Add Shipping Method to CartMEDUSA_STORE_POST_CARTS_ID_SHIPPING_METHODSAdd a shipping method to a cart. Use this API route when the customer chooses their preferred shipping option. If the chosen shipping option's `price_type` is `calculated`, its price is computed by the associated fulfillment provider when it's added to the cart. If the provider fails to calculate the price, this route returns an error.

Add a shipping method to a cart. Use this API route when the customer chooses their preferred shipping option. If the chosen shipping option's `price_type` is `calculated`, its price is computed by the associated fulfillment provider when it's added to the cart. If the provider fails to calculate the price, this route returns an error.

认证

需要 Connected Account

Tags

Carts
Add Store Credit to CartMEDUSA_STORE_POST_CARTS_ID_STORE_CREDITSAdd a Store Credit to a cart

Add a Store Credit to a cart

认证

需要 Connected Account

Tags

Carts
Calculate Cart TaxesMEDUSA_STORE_POST_CARTS_ID_TAXESCalculate the cart's tax lines and amounts. Medusa recalculates a cart's tax lines automatically on cart changes when the cart's region has `automatic_taxes` enabled, so you typically don't need to use this route. Use this route to force a recalculation, such as when `automatic_taxes` is disabled, which also triggers a fresh calculation from your third-party tax provider, if you use one.

Calculate the cart's tax lines and amounts. Medusa recalculates a cart's tax lines automatically on cart changes when the cart's region has `automatic_taxes` enabled, so you typically don't need to use this route. Use this route to force a recalculation, such as when `automatic_taxes` is disabled, which also triggers a fresh calculation from your third-party tax provider, if you use one.

认证

需要 Connected Account

Tags

Carts
Register CustomerMEDUSA_STORE_POST_CUSTOMERSRegister 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.

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.

认证

需要 Connected Account

Tags

Customers
Update CustomerMEDUSA_STORE_POST_CUSTOMERS_MEUpdate the logged-in customer's details.

Update the logged-in customer's details.

认证

需要 Connected Account

Tags

Customers
Create Address for Logged-In CustomerMEDUSA_STORE_POST_CUSTOMERS_ME_ADDRESSESCreate an address for the logged-in customer.

Create an address for the logged-in customer.

认证

需要 Connected Account

Tags

Customers
Update Customer's AddressMEDUSA_STORE_POST_CUSTOMERS_ME_ADDRESSES_ADDRESS_IDUpdate the logged-in customer's address.

Update the logged-in customer's address.

认证

需要 Connected Account

Tags

Customers
Accept Order TransferMEDUSA_STORE_POST_ORDERS_ID_TRANSFER_ACCEPTAccept an order to be transfered to a customer's account, which was specified when the transfer request was created. The transfer is requested previously either by the customer using the [Request Order Transfer Store API route](https://docs.medusajs.com/api/store#orders_postordersidtransferrequest), or by the admin using the [Request Order Transfer Admin API route](https://docs.medusajs.com/api/admin#orders_postordersidtransferrequest).

Accept an order to be transfered to a customer's account, which was specified when the transfer request was created. The transfer is requested previously either by the customer using the [Request Order Transfer Store API route](https://docs.medusajs.com/api/store#orders_postordersidtransferrequest), or by the admin using the [Request Order Transfer Admin API route](https://docs.medusajs.com/api/admin#orders_postordersidtransferrequest).

认证

需要 Connected Account

Tags

Orders
Cancel Order TransferMEDUSA_STORE_POST_ORDERS_ID_TRANSFER_CANCELCancel an order transfer that the logged-in customer previously requested using the [Request Order Transfer](https://docs.medusajs.com/api/store#orders_postordersidtransferrequest) API route.

Cancel an order transfer that the logged-in customer previously requested using the [Request Order Transfer](https://docs.medusajs.com/api/store#orders_postordersidtransferrequest) API route.

认证

需要 Connected Account

Tags

Orders
Decline Order TransferMEDUSA_STORE_POST_ORDERS_ID_TRANSFER_DECLINEDecline an order transfer previously requested, typically by the admin user using the [Request Order Transfer Admin API route](https://docs.medusajs.com/api/admin#orders_postordersidtransferrequest).

Decline an order transfer previously requested, typically by the admin user using the [Request Order Transfer Admin API route](https://docs.medusajs.com/api/admin#orders_postordersidtransferrequest).

认证

需要 Connected Account

Tags

Orders
Request Order TransferMEDUSA_STORE_POST_ORDERS_ID_TRANSFER_REQUESTRequest an order to be transfered to the logged-in customer's account. The transfer is confirmed using the [Accept Order Transfer](https://docs.medusajs.com/api/store#orders_postordersidtransferaccept) API route.

Request an order to be transfered to the logged-in customer's account. The transfer is confirmed using the [Accept Order Transfer](https://docs.medusajs.com/api/store#orders_postordersidtransferaccept) API route.

认证

需要 Connected Account

Tags

Orders
Create Payment CollectionMEDUSA_STORE_POST_PAYMENT_COLLECTIONSCreate a payment collection for a cart. This is used during checkout, where the payment collection holds the cart's payment sessions.

Create a payment collection for a cart. This is used during checkout, where the payment collection holds the cart's payment sessions.

认证

需要 Connected Account

Tags

Payment Collections
Initialize Payment Session of a Payment CollectionMEDUSA_STORE_POST_PAYMENT_COLLECTIONS_ID_PAYMENT_SESSIONSInitialize and add a payment session to a payment collection. This is used during checkout, where you create a payment collection for the cart, then initialize a payment session for the payment provider that the customer chooses. It's highly recommended to have an amount greater than `0` in the payment collection, as some payment providers, such as Stripe, require a non-zero amount to create a payment session. Otherwise, an error will be thrown on the payment provider's side. 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.

Initialize and add a payment session to a payment collection. This is used during checkout, where you create a payment collection for the cart, then initialize a payment session for the payment provider that the customer chooses. It's highly recommended to have an amount greater than `0` in the payment collection, as some payment providers, such as Stripe, require a non-zero amount to create a payment session. Otherwise, an error will be thrown on the payment provider's side. 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.

认证

需要 Connected Account

Tags

Payment Collections
Create ReturnMEDUSA_STORE_POST_RETURNSCreate a return for an order's items. The admin receives the return and process it from their side. This API route doesn't require customer authentication, so that guest customers can request a return for their orders. To restrict access to this API route, refer to the [Restrict Return Creation guide](https://docs.medusajs.com/resources/commerce-modules/order/secure-return-creation).

Create a return for an order's items. The admin receives the return and process it from their side. This API route doesn't require customer authentication, so that guest customers can request a return for their orders. To restrict access to this API route, refer to the [Restrict Return Creation guide](https://docs.medusajs.com/resources/commerce-modules/order/secure-return-creation).

认证

需要 Connected Account

Tags

Returns
Calculate Shipping Option PriceMEDUSA_STORE_POST_SHIPPING_OPTIONS_ID_CALCULATECalculate the price of a shipping option in a cart. Use this API route for shipping options whose `price_type` is `calculated`, as their price isn't stored but computed on the fly by the associated fulfillment provider against the cart. If the fulfillment provider fails to calculate the price, this route returns an error.

Calculate the price of a shipping option in a cart. Use this API route for shipping options whose `price_type` is `calculated`, as their price isn't stored but computed on the fly by the associated fulfillment provider against the cart. If the fulfillment provider fails to calculate the price, this route returns an error.

认证

需要 Connected Account

Tags

Shipping Options
Claim a Store Credit AccountMEDUSA_STORE_POST_STORE_CREDIT_ACCOUNTS_CLAIMClaim a store credit account as the logged-in customer. The store credit account must not belong to another customer, and it must have amount available to claim. This is typically used to claim anonymous store credit accounts, such as those created for guest users or through gift cards.

Claim a store credit account as the logged-in customer. The store credit account must not belong to another customer, and it must have amount available to claim. This is typically used to claim anonymous store credit accounts, such as those created for guest users or through gift cards.

认证

需要 Connected Account

Tags

Store Credit Accounts

Provider 资源