Medusa Store
Build storefront and customer commerce flows through the Medusa v2 Store API.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| Publishable API Key | api_key | available | — |
| Publishable API Key + Customer JWT | api_key | available | — |
Call a tool
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 catalog
Available tools
59 callable operations
Remove Gift Card from CartMEDUSA_STORE_DELETE_CARTS_ID_GIFT_CARDSRemove a Gift Card from a cart.Connection
Remove a Gift Card from a cart.
Authentication
Connected account requiredTags
Remove Line Item from CartMEDUSA_STORE_DELETE_CARTS_ID_LINE_ITEMS_LINE_IDRemove a line item from a cart.Connection
Remove a line item from a cart.
Authentication
Connected account requiredTags
Remove Promotions from CartMEDUSA_STORE_DELETE_CARTS_ID_PROMOTIONSRemove a list of promotions from a cart.Connection
Remove a list of promotions from a cart.
Authentication
Connected account requiredTags
Remove Customer's AddressMEDUSA_STORE_DELETE_CUSTOMERS_ME_ADDRESSES_ADDRESS_IDRemove an address of the logged-in customer.Connection
Remove an address of the logged-in customer.
Authentication
Connected account requiredTags
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.Connection
Retrieve a cart by its ID. You can expand the cart's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
Retrieve a list of collections. The collections can be filtered by fields such as `handle`. The collections can also be sorted or paginated.
Authentication
Connected account requiredTags
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.Connection
Retrieve a collection by its ID. You can expand the collection's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
Retrieve a list of currencies. The currencies can be filtered by fields such as `code`. The currencies can also be sorted or paginated.
Authentication
Connected account requiredTags
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.Connection
Retrieve a currency by its code. You can expand the currency's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
Retrieve the logged-in customer. You can expand the customer's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Retrieve an address of the logged-in customer. You can expand the address's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Retrieve the list of supported locales. You can use this list to allow customers to select their preferred locale in your storefront.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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).Connection
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).
Authentication
Connected account requiredTags
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.Connection
Retrieve a list of payment providers. You must provide the `region_id` query parameter to retrieve the payment providers enabled in that region.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Retrieve a product category by its ID. You can expand the product category's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Retrieve a product option by its ID. You can expand the product option's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Retrieve a product tag by its ID. You can expand the product tag's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Retrieve a product type by its ID. You can expand the product type's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Retrieve a list of regions. The regions can be filtered by fields such as `id`. The regions can also be sorted or paginated.
Authentication
Connected account requiredTags
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.Connection
Retrieve a region by its ID. You can expand the region's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
List Return ReasonsMEDUSA_STORE_GET_RETURN_REASONSRetrieve a list of return reasons. The return reasons can be sorted or paginated.Connection
Retrieve a list of return reasons. The return reasons can be sorted or paginated.
Authentication
Connected account requiredTags
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.Connection
Retrieve a return reason by its ID. You can expand the return reason's relations or select the fields that should be returned.
Authentication
Connected account requiredTags
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).Connection
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).
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
Create CartMEDUSA_STORE_POST_CARTSCreate a cart.Connection
Create a cart.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
Complete CartMEDUSA_STORE_POST_CARTS_ID_COMPLETEComplete a cart and place an order.Connection
Complete a cart and place an order.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
Add Gift Card to CartMEDUSA_STORE_POST_CARTS_ID_GIFT_CARDSAdd a Gift Card to a cartConnection
Add a Gift Card to a cart
Authentication
Connected account requiredTags
Add Line Item to CartMEDUSA_STORE_POST_CARTS_ID_LINE_ITEMSAdd a product variant as a line item in the cart.Connection
Add a product variant as a line item in the cart.
Authentication
Connected account requiredTags
Update a Line Item in a CartMEDUSA_STORE_POST_CARTS_ID_LINE_ITEMS_LINE_IDUpdate a line item's details in the cart.Connection
Update a line item's details in the cart.
Authentication
Connected account requiredTags
Add Promotions to CartMEDUSA_STORE_POST_CARTS_ID_PROMOTIONSAdd a list of promotions to a cart.Connection
Add a list of promotions to a cart.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
Add Store Credit to CartMEDUSA_STORE_POST_CARTS_ID_STORE_CREDITSAdd a Store Credit to a cartConnection
Add a Store Credit to a cart
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
Update CustomerMEDUSA_STORE_POST_CUSTOMERS_MEUpdate the logged-in customer's details.Connection
Update the logged-in customer's details.
Authentication
Connected account requiredTags
Create Address for Logged-In CustomerMEDUSA_STORE_POST_CUSTOMERS_ME_ADDRESSESCreate an address for the logged-in customer.Connection
Create an address for the logged-in customer.
Authentication
Connected account requiredTags
Update Customer's AddressMEDUSA_STORE_POST_CUSTOMERS_ME_ADDRESSES_ADDRESS_IDUpdate the logged-in customer's address.Connection
Update the logged-in customer's address.
Authentication
Connected account requiredTags
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).Connection
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).
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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).Connection
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).
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
Create a payment collection for a cart. This is used during checkout, where the payment collection holds the cart's payment sessions.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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).Connection
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).
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags
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.Connection
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.
Authentication
Connected account requiredTags