# Medusa ## Docs - Getting Started [Introduction](https://medusa.apifox.cn/doc-3064473.md): - Getting Started [Authentication](https://medusa.apifox.cn/doc-3064475.md): - Getting Started [HTTP Compression](https://medusa.apifox.cn/doc-3064620.md): - Getting Started [Publishable API Key](https://medusa.apifox.cn/doc-3064476.md): - Getting Started [Expanding Fields](https://medusa.apifox.cn/doc-3064621.md): - Getting Started [Selecting Fields](https://medusa.apifox.cn/doc-3064626.md): - Getting Started [Query Parameter Types](https://medusa.apifox.cn/doc-3064627.md): - Getting Started [Pagination](https://medusa.apifox.cn/doc-3064628.md): ## API Docs - Auth [Check if Email Exists](https://medusa.apifox.cn/api-114551662.md): Check if there's a customer already registered with the provided email. - Auth [Customer Login (JWT)](https://medusa.apifox.cn/api-128493891.md): After a successful login, a JWT token is returned, which can be used to send authenticated requests. - Auth [Customer Login (JWT)](https://medusa.apifox.cn/api-114551663.md): After a successful login, a JWT token is returned for subsequent authorization. - Auth [Customer Log out](https://medusa.apifox.cn/api-114551664.md): Delete the current session for the logged in customer. - Auth [Get Current Customer](https://medusa.apifox.cn/api-114551665.md): Retrieve the currently logged in Customer's details. - Auth [Customer Login](https://medusa.apifox.cn/api-114551666.md): Log a customer in and includes the Cookie session in the response header. The cookie session can be used in subsequent requests to authenticate the customer. When using Medusa's JS or Medusa React clients, the cookie is automatically attached to subsequent requests. - Carts [Create Payment Sessions](https://medusa.apifox.cn/api-114551705.md): Create Payment Sessions for each of the available Payment Providers in the Cart's Region. If there's only one payment session created, it will be selected by default. The creation of the payment session uses the payment provider and may require sending requests to third-party services. - Carts [Update a Payment Session](https://medusa.apifox.cn/api-114551714.md): Update a Payment Session with additional data. This can be useful depending on the payment provider used. All payment sessions are updated and cart totals are recalculated afterwards. - Carts [Delete a Payment Session](https://medusa.apifox.cn/api-114551715.md): Delete a Payment Session in a Cart. May be useful if a payment has failed. The totals will be recalculated. - Carts [Create a Cart](https://medusa.apifox.cn/api-114551702.md): Create a Cart. Although optional, specifying the cart's region and sales channel can affect the cart's pricing and - Carts [Get a Cart](https://medusa.apifox.cn/api-114551703.md): Retrieve a Cart's details. This includes recalculating its totals. - Carts [Update a Cart](https://medusa.apifox.cn/api-114551704.md): Update a Cart's details. If the cart has payment sessions and the region was not changed, the payment sessions are updated. The cart's totals are also recalculated. - Carts [Remove Discount](https://medusa.apifox.cn/api-114551713.md): Remove a Discount from a Cart. This only removes the application of the discount, and not completely deletes it. The totals will be re-calculated and the payment sessions will be refreshed after the removal. - Carts [Add a Line Item](https://medusa.apifox.cn/api-114551709.md): Generates a Line Item with a given Product Variant and adds it to the Cart - Carts [Update a Line Item](https://medusa.apifox.cn/api-114551707.md): Update a line item's quantity. - Carts [Delete a Line Item](https://medusa.apifox.cn/api-114551708.md): Delete a Line Item from a Cart. The payment sessions will be updated and the totals will be recalculated. - Carts [Select a Payment Session](https://medusa.apifox.cn/api-114551710.md): Select the Payment Session that will be used to complete the cart. This is typically used when the customer chooses their preferred payment method during checkout. The totals of the cart will be recalculated. - Carts [Refresh a Payment Session](https://medusa.apifox.cn/api-114551711.md): Refresh a Payment Session to ensure that it is in sync with the Cart. This is usually not necessary, but is provided for edge cases. - Carts [Add Shipping Method](https://medusa.apifox.cn/api-114551706.md): Add a Shipping Method to the Cart. The validation of the `data` field is handled by the fulfillment provider of the chosen shipping option. - Carts [Calculate Cart Taxes](https://medusa.apifox.cn/api-114551712.md): Calculate the taxes for a cart. This is useful if the `automatic_taxes` field of the cart's region is set to `false`. If the cart's region uses a tax provider other than Medusa's system provider, this may lead to sending requests to third-party services. - Carts [Complete a Cart](https://medusa.apifox.cn/api-114551716.md): Complete a cart and place an order or create a swap, based on the cart's type. This includes attempting to authorize the cart's payment. - Customers [Get Saved Payment Methods](https://medusa.apifox.cn/api-114551675.md): Retrieve the logged-in customer's saved payment methods. This API Route only works with payment providers created with the deprecated Payment Service interface. The payment methods are saved using the Payment Service's third-party service, and not on the Medusa backend. So, they're retrieved from the third-party service. - Customers [Request Password Reset](https://medusa.apifox.cn/api-114551674.md): Create a reset password token to be used in a subsequent Reset Password API Route. This emits the event `customer.password_reset`. If a notification provider is installed in the Medusa backend and is configured to handle this event, a notification to the customer, such as an email, may be sent with reset instructions. - Customers [Update a Shipping Address](https://medusa.apifox.cn/api-114551677.md): Update the logged-in customer's saved Shipping Address's details. - Customers [Delete an Address](https://medusa.apifox.cn/api-114551678.md): Delete an Address from the Customer's saved addresses. - Customers [Create a Customer](https://medusa.apifox.cn/api-114551679.md): Register a new customer. This will also automatically authenticate the customer and set their login session in the response Cookie header. The cookie session can be used in subsequent requests to authenticate the customer. When using Medusa's JS or Medusa React clients, the cookie is automatically attached to subsequent requests. - Customers [Get a Customer](https://medusa.apifox.cn/api-114551680.md): Retrieve the logged-in Customer's details. - Customers [Update Customer](https://medusa.apifox.cn/api-114551681.md): Update the logged-in customer's details. - Customers [Add a Shipping Address](https://medusa.apifox.cn/api-114551682.md): Add a Shipping Address to a Customer's saved addresses. - Customers [Reset Password](https://medusa.apifox.cn/api-114551676.md): Reset a Customer's password using a password token created by a previous request to the Request Password Reset API Route. If the password token expired, you must create a new one. - Customers [List Orders](https://medusa.apifox.cn/api-114551683.md): Retrieve a list of the logged-in Customer's Orders. The orders can be filtered by fields such as `status` or `fulfillment_status`. The orders can also be paginated. - Gift Cards [Get Gift Card by Code](https://medusa.apifox.cn/api-114551699.md): Retrieve a Gift Card's details by its associated unique code. - Orders [Claim Order](https://medusa.apifox.cn/api-114551669.md): Allow the logged-in customer to claim ownership of one or more orders. This generates a token that can be used later on to verify the claim using the Verify Order Claim API Route. This also emits the event `order-update-token.created`. So, if you have a notification provider installed that handles this event and sends the customer a notification, such as an email, the customer should receive instructions on how to finalize their claim ownership. - Orders [Verify Order Claim](https://medusa.apifox.cn/api-114551670.md): Verify the claim order token provided to the customer when they request ownership of an order. - Orders [Look Up an Order](https://medusa.apifox.cn/api-114551672.md): Look up an order using filters. If the filters don't narrow down the results to a single order, a 404 response is returned with no orders. - Orders [Get by Cart ID](https://medusa.apifox.cn/api-114551671.md): Retrieve an Order's details by the ID of the Cart that was used to create the Order. - Orders [Get an Order](https://medusa.apifox.cn/api-114551673.md): Retrieve an Order's details. - Order Edits [Retrieve an Order Edit](https://medusa.apifox.cn/api-114551723.md): Retrieve an Order Edit's details. - Order Edits [Decline an Order Edit](https://medusa.apifox.cn/api-114551724.md): Decline an Order Edit. The changes are not reflected on the original order. - Order Edits [Complete an Order Edit](https://medusa.apifox.cn/api-114551725.md): Complete an Order Edit and reflect its changes on the original order. Any additional payment required must be authorized first using the Payment Collection API Routes. - Payment Collections [Refresh a Payment Session](https://medusa.apifox.cn/api-114551717.md): Refresh a Payment Session's data to ensure that it is in sync with the Payment Collection. - Payment Collections [Authorize Payment Session](https://medusa.apifox.cn/api-114551718.md): Authorize a Payment Session of a Payment Collection. - Payment Collections [Get a PaymentCollection](https://medusa.apifox.cn/api-114551722.md): Retrieve a Payment Collection's details. - Payment Collections [Create a Payment Session](https://medusa.apifox.cn/api-114551719.md): Create a Payment Session for a payment provider in a Payment Collection. - Payment Collections [Manage Payment Sessions](https://medusa.apifox.cn/api-114551721.md): Create, update, or delete a list of payment sessions of a Payment Collections. If a payment session is not provided in the `sessions` array, it's deleted. - Payment Collections [Authorize Payment Sessions](https://medusa.apifox.cn/api-114551720.md): Authorize the Payment Sessions of a Payment Collection. - Products [Search Products](https://medusa.apifox.cn/api-114551690.md): Run a search query on products using the search service installed on the Medusa backend. The searching is handled through the search service, so the returned data's format depends on the search service you're using. - Products [Get a Product](https://medusa.apifox.cn/api-114551692.md): Retrieve a Product's details. For accurate and correct pricing of the product based on the customer's context, it's highly recommended to pass fields such as - Products [List Products](https://medusa.apifox.cn/api-114551691.md): Retrieves a list of products. The products can be filtered by fields such as `id` or `q`. The products can also be sorted or paginated. - Product Variants [Get Product Variants](https://medusa.apifox.cn/api-114551694.md): Retrieves a list of product variants. The product variants can be filtered by fields such as `id` or `title`. The product variants can also be paginated. - Product Variants [Get a Product Variant](https://medusa.apifox.cn/api-114551693.md): Retrieve a Product Variant's details. For accurate and correct pricing of the product variant based on the customer's context, it's highly recommended to pass fields such as - Product Categories [Get a Product Category](https://medusa.apifox.cn/api-114551667.md): Retrieve a Product Category's details. - Product Categories [List Product Categories](https://medusa.apifox.cn/api-114551668.md): Retrieve a list of product categories. The product categories can be filtered by fields such as `handle` or `q`. The product categories can also be paginated. This API Route can also be used to retrieve a product category by its handle. - Product Collections [List Collections](https://medusa.apifox.cn/api-114551684.md): Retrieve a list of product collections. The product collections can be filtered by fields such as `handle` or `created_at`. The product collections can also be paginated. - Product Collections [Get a Collection](https://medusa.apifox.cn/api-114551685.md): Retrieve a Product Collection's details. - Product Tags [List Product Tags](https://medusa.apifox.cn/api-114551688.md): Retrieve a list of product tags. The product tags can be filtered by fields such as `id` or `q`. The product tags can also be sorted or paginated. - Product Types [List Product Types](https://medusa.apifox.cn/api-114551689.md): Retrieve a list of product types. The product types can be filtered by fields such as `value` or `q`. The product types can also be sorted or paginated. - Regions [Get a Region](https://medusa.apifox.cn/api-114551697.md): Retrieve a Region's details. - Regions [List Regions](https://medusa.apifox.cn/api-114551698.md): Retrieve a list of regions. The regions can be filtered by fields such as `created_at`. The regions can also be paginated. This API Route is useful to show the customer all available regions to choose from. - Returns [Create Return](https://medusa.apifox.cn/api-114551726.md): Create a Return for an Order. If a return shipping method is specified, the return is automatically fulfilled. - Return Reasons [List Return Reasons](https://medusa.apifox.cn/api-114551687.md): Retrieve a list of Return Reasons. This is useful when implementing a Create Return flow in the storefront. - Return Reasons [Get a Return Reason](https://medusa.apifox.cn/api-114551686.md): Retrieve a Return Reason's details. - Shipping Options [List for Cart](https://medusa.apifox.cn/api-114551695.md): Retrieve a list of Shipping Options available for a cart. - Shipping Options [Get Shipping Options](https://medusa.apifox.cn/api-114551696.md): Retrieve a list of Shipping Options. - Swaps [Create a Swap](https://medusa.apifox.cn/api-114551700.md): Create a Swap for an Order. This will also create a return and associate it with the swap. If a return shipping option is specified, the return will automatically be fulfilled. - Swaps [Get by Cart ID](https://medusa.apifox.cn/api-114551701.md): Retrieve a Swap's details by the ID of its cart. - Auth [Get Current User](https://medusa.apifox.cn/api-114553492.md): Get the currently logged in user's details. - Auth [User Logout](https://medusa.apifox.cn/api-114553494.md): Delete the current session for the logged in user. This will only work if you're using Cookie session for authentication. If the API token is still passed in the header, the user is still authorized to perform admin functionalities in other endpoints. - Auth [User Login](https://medusa.apifox.cn/api-114553493.md): Log a User in and includes the Cookie session in the response header. The cookie session can be used in subsequent requests to authorize the user to perform admin functionalities. When using Medusa's JS or Medusa React clients, the cookie is automatically attached to subsequent requests. - Auth [User Login (JWT)](https://medusa.apifox.cn/api-114553495.md): After a successful login, a JWT token is returned for subsequent authorization. - Apps Oauth [Generate Token for App](https://medusa.apifox.cn/api-114553491.md): Use an app's Oauth provider to generate and store a new token for authentication. - Apps Oauth [List Applications](https://medusa.apifox.cn/api-114553490.md): Retrieve a list of applications registered in the Medusa backend. - Batch Jobs [Cancel a Batch Job](https://medusa.apifox.cn/api-114553499.md): Mark a batch job as canceled. When a batch job is canceled, the processing of the batch job doesn’t automatically stop. - Batch Jobs [Get a Batch Job](https://medusa.apifox.cn/api-114553498.md): Retrieve the details of a batch job. - Batch Jobs [Confirm a Batch Job](https://medusa.apifox.cn/api-114553500.md): When a batch job is created, it is not executed automatically if `dry_run` is set to `true`. This endpoint confirms that the batch job should be executed. - Batch Jobs [List Batch Jobs](https://medusa.apifox.cn/api-114553496.md): Retrieve a list of Batch Jobs. The batch jobs can be filtered by fields such as `type` or `confirmed_at`. The batch jobs can also be sorted or paginated. - Batch Jobs [Create a Batch Job](https://medusa.apifox.cn/api-114553497.md): Create a Batch Job to be executed asynchronously in the Medusa backend. If `dry_run` is set to `true`, the batch job will not be executed until the it is confirmed, which can be done using the Confirm Batch Job endpoint. - Currencies [List Currency](https://medusa.apifox.cn/api-114553489.md): Retrieve a list of currencies. The currencies can be filtered by fields such as `code`. The currencies can also be sorted or paginated. - Currencies [Update a Currency](https://medusa.apifox.cn/api-114553488.md): Update a Currency's details. - Customers [Create a Customer](https://medusa.apifox.cn/api-114553688.md): Allow admins to create a customer. - Customers [List Customers](https://medusa.apifox.cn/api-114553687.md): Retrieve a list of Customers. The customers can be filtered by fields such as `q` or `groups`. The customers can also be paginated. - Customers [Update a Customer](https://medusa.apifox.cn/api-114553690.md): Update a Customer's details. - Customers [Get a Customer](https://medusa.apifox.cn/api-114553689.md): Retrieve the details of a customer. - Customer Groups [Remove Customers from Group](https://medusa.apifox.cn/api-114553502.md): Remove a list of customers from a customer group. This doesn't delete the customer, only the association between the customer and the customer group. - Customer Groups [Add Customers to Group](https://medusa.apifox.cn/api-114553501.md): Add a list of customers to a customer group. - Customer Groups [List Customers](https://medusa.apifox.cn/api-114553508.md): Retrieve a list of customers in a customer group. The customers can be filtered by the `q` field. The customers can also be paginated. - Customer Groups [Create a Customer Group](https://medusa.apifox.cn/api-114553504.md): Creates a Customer Group. - Customer Groups [List Customer Groups](https://medusa.apifox.cn/api-114553503.md): Retrieve a list of customer groups. The customer groups can be filtered by fields such as `name` or `id. The customer groups can also be sorted or paginated. - Customer Groups [Get a Customer Group](https://medusa.apifox.cn/api-114553505.md): Retrieve a Customer Group by its ID. You can expand the customer group's relations or select the fields that should be returned. - Customer Groups [Delete a Customer Group](https://medusa.apifox.cn/api-114553507.md): Delete a customer group. This doesn't delete the customers associated with the customer group. - Customer Groups [Update a Customer Group](https://medusa.apifox.cn/api-114553506.md): Update a Customer Group's details. - Discounts [Create a Condition](https://medusa.apifox.cn/api-114553718.md): Create a Discount Condition. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided, based on the type of discount condition. For example, if the discount condition's type is `products`, the `products` field should be provided in the request body. - Discounts [Create a Discount](https://medusa.apifox.cn/api-114553713.md): Create a Discount with a given set of rules that defines how the Discount is applied. - Discounts [List Discounts](https://medusa.apifox.cn/api-114553712.md): Retrieve a list of Discounts. The discounts can be filtered by fields such as `rule` or `is_dynamic`. The discounts can also be paginated. - Discounts [Get a Condition](https://medusa.apifox.cn/api-114553720.md): Retrieve a Discount Condition's details. - Discounts [Update a Condition](https://medusa.apifox.cn/api-114553721.md): Update a Discount Condition. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided, based on the type of discount condition. For example, if the discount condition's type is `products`, the `products` field should be provided in the request body. - Discounts [Delete a Condition](https://medusa.apifox.cn/api-114553722.md): Deletes a Discount Condition. This does not delete resources associated to the discount condition. - Discounts [Create a Dynamic Code](https://medusa.apifox.cn/api-114553719.md): Create a dynamic unique code that can map to a parent Discount. This is useful if you want to automatically generate codes with the same rules and conditions. - Discounts [Remove Batch Resources](https://medusa.apifox.cn/api-114553724.md): Remove a batch of resources from a discount condition. This will only remove the association between the resource and the discount condition, but not the resource itself. - Discounts [Add Batch Resources](https://medusa.apifox.cn/api-114553723.md): Add a batch of resources to a discount condition. The type of resource depends on the type of discount condition. For example, if the discount condition's type is `products`, the resources being added should be products. - Discounts [Get Discount by Code](https://medusa.apifox.cn/api-114553714.md): Retrieve a Discount's details by its discount code - Discounts [Delete a Dynamic Code](https://medusa.apifox.cn/api-114553725.md): Delete a dynamic code from a Discount. - Discounts [Add Region to Discount](https://medusa.apifox.cn/api-114553726.md): Add a Region to the list of Regions a Discount can be used in. - Discounts [Remove Region](https://medusa.apifox.cn/api-114553727.md): Remove a Region from the list of Regions that a Discount can be used in. This does not delete a region, only the association between it and the discount. - Discounts [Delete a Discount](https://medusa.apifox.cn/api-114553715.md): Delete a Discount. Deleting the discount will make it unavailable for customers to use. - Discounts [Update a Discount](https://medusa.apifox.cn/api-114553717.md): Update a Discount with a given set of rules that define how the Discount is applied. - Discounts [Get a Discount](https://medusa.apifox.cn/api-114553716.md): Retrieves a Discount - Draft Orders [Create a Line Item](https://medusa.apifox.cn/api-114553523.md): Create a Line Item in the Draft Order. - Draft Orders [Delete a Line Item](https://medusa.apifox.cn/api-114553522.md): Deletes a Line Item from a Draft Order. - Draft Orders [Update a Line Item](https://medusa.apifox.cn/api-114553521.md): Update a Line Item in a Draft Order - Draft Orders [Update a Draft Order](https://medusa.apifox.cn/api-114553519.md): Update a Draft Order's details. - Draft Orders [Delete a Draft Order](https://medusa.apifox.cn/api-114553520.md): Delete a Draft Order - Draft Orders [Get a Draft Order](https://medusa.apifox.cn/api-114553518.md): Retrieve a Draft Order's details. - Draft Orders [Create a Draft Order](https://medusa.apifox.cn/api-114553517.md): Create a Draft Order. A draft order is not transformed into an order until payment is captured. - Draft Orders [List Draft Orders](https://medusa.apifox.cn/api-114553516.md): Retrieve an list of Draft Orders. The draft orders can be filtered by fields such as `q`. The draft orders can also paginated. - Draft Orders [Mark Paid](https://medusa.apifox.cn/api-114553524.md): Capture the draft order's payment. This will also set the draft order's status to `completed` and create an Order from the draft order. The payment is captured through Medusa's system payment, which is manual payment that isn't integrated with any third-party payment provider. It is assumed that the payment capturing is handled manually by the admin. - Gift Cards [Create a Gift Card](https://medusa.apifox.cn/api-114553732.md): Create a Gift Card that can redeemed by its unique code. The Gift Card is only valid within 1 region. - Gift Cards [List Gift Cards](https://medusa.apifox.cn/api-114553731.md): Retrieve a list of Gift Cards. The gift cards can be filtered by fields such as `q`. The gift cards can also paginated. - Gift Cards [Delete a Gift Card](https://medusa.apifox.cn/api-114553728.md): Delete a Gift Card. Once deleted, it can't be used by customers. - Gift Cards [Get a Gift Card](https://medusa.apifox.cn/api-114553729.md): Retrieve a Gift Card's details. - Gift Cards [Update a Gift Card](https://medusa.apifox.cn/api-114553730.md): Update a Gift Card's details. - Inventory Items [Create an Inventory Item](https://medusa.apifox.cn/api-114553569.md): Create an Inventory Item for a product variant. - Inventory Items [List Inventory Items](https://medusa.apifox.cn/api-114553570.md): Retrieve a list of inventory items. The inventory items can be filtered by fields such as `q` or `location_id`. The inventory items can also be paginated. - Inventory Items [List Inventory Level](https://medusa.apifox.cn/api-114553567.md): Retrieve a list of inventory levels of an inventory item. The inventory levels can be filtered by fields such as `location_id`. The inventory levels can also be paginated. - Inventory Items [Create an Location Level](https://medusa.apifox.cn/api-114553568.md): Create an Location Level for a given Inventory Item. - Inventory Items [Update an Inventory Item](https://medusa.apifox.cn/api-114553563.md): Update an Inventory Item's details. - Inventory Items [Get an Inventory Item](https://medusa.apifox.cn/api-114553562.md): Retrieve an Inventory Item's details. - Inventory Items [Delete an Inventory Item](https://medusa.apifox.cn/api-114553564.md): Delete an Inventory Item. This does not delete the associated product variant. - Inventory Items [Update a Location Level](https://medusa.apifox.cn/api-114553565.md): Update a Location Level's details for a given Inventory Item. - Inventory Items [Delete a Location Level](https://medusa.apifox.cn/api-114553566.md): Delete a location level of an Inventory Item. - Invites [Lists Invites](https://medusa.apifox.cn/api-114553527.md): Retrieve a list of invites. - Invites [Create an Invite](https://medusa.apifox.cn/api-114553528.md): Create an Invite. This will generate a token associated with the invite and trigger an `invite.created` event. If you have a Notification Provider installed that handles this event, a notification should be sent to the email associated with the invite to allow them to accept the invite. - Invites [Delete an Invite](https://medusa.apifox.cn/api-114553525.md): Delete an Invite. Only invites that weren't accepted can be deleted. - Invites [Accept an Invite](https://medusa.apifox.cn/api-114553526.md): Accept an Invite. This will also delete the invite and create a new user that can log in and perform admin functionalities. The user will have the email associated with the invite, and the password provided in the request body. - Invites [Resend an Invite](https://medusa.apifox.cn/api-114553529.md): Resend an Invite. This renews the expiry date by 7 days and generates a new token for the invite. It also triggers the `invite.created` event, so if you have a Notification Provider installed that handles this event, a notification should be sent to the email associated with the invite to allow them to accept the invite. - Notes [List Notes](https://medusa.apifox.cn/api-114553530.md): Retrieve a list of notes. The notes can be filtered by fields such as `resource_id`. The notes can also be paginated. - Notes [Create a Note](https://medusa.apifox.cn/api-114553531.md): Create a Note which can be associated with any resource. - Notes [Get a Note](https://medusa.apifox.cn/api-114553533.md): Retrieve a note's details. - Notes [Delete a Note](https://medusa.apifox.cn/api-114553532.md): Delete a Note. - Notes [Update a Note](https://medusa.apifox.cn/api-114553534.md): Update a Note's details.' - Notifications [Resend Notification](https://medusa.apifox.cn/api-114553700.md): Resend a previously sent notifications, with the same data but optionally to a different address. - Notifications [List Notifications](https://medusa.apifox.cn/api-114553699.md): Retrieve a list of notifications. The notifications can be filtered by fields such as `event_name` or `resource_type`. The notifications can also be paginated. - Orders [Create a Reservation](https://medusa.apifox.cn/api-114553535.md): Create a Reservation for a line item at a specified location, optionally for a partial quantity. - Orders [Cancel Claim's Fulfillment](https://medusa.apifox.cn/api-114553540.md): Cancel a claim's fulfillment and change its status. - Orders [Ship a Claim's Fulfillment](https://medusa.apifox.cn/api-114553542.md): Mark a claim's fulfillment as shipped. This changes the claim's fulfillment status to either `shipped` or `partially_shipped`, depending on whether all the items were shipped. - Orders [Cancel Swap's Fulfilmment](https://medusa.apifox.cn/api-114553559.md): Cancel a swap's fulfillment and change its status. - Orders [Get Order Reservations](https://medusa.apifox.cn/api-114553561.md): Retrieve the list of reservations of an Order - Orders [Add a Shipping Method](https://medusa.apifox.cn/api-114553556.md): Adds a Shipping Method to an Order. If another Shipping Method exists with the same Shipping Profile, the previous Shipping Method will be replaced. - Orders [Create a Refund](https://medusa.apifox.cn/api-114553543.md): Refund an amount for an order. The amount must be less than or equal the `refundable_amount` of the order. - Orders [Get an Order](https://medusa.apifox.cn/api-114553546.md): Retrieve an Order's details. - Orders [Update an Order](https://medusa.apifox.cn/api-114553547.md): Update and order's details. - Orders [Create a Fulfillment](https://medusa.apifox.cn/api-114553539.md): Create a Fulfillment of an Order using the fulfillment provider. - Orders [Cancel a Swap](https://medusa.apifox.cn/api-114553555.md): Cancel a Swap and change its status. - Orders [List Orders](https://medusa.apifox.cn/api-114553560.md): Retrieve a list of Orders. The orders can be filtered by fields such as `status` or `display_id`. The order can also be paginated. - Orders [Create a Swap](https://medusa.apifox.cn/api-114553557.md): Create a Swap. This includes creating a return that is associated with the swap. - Orders [Complete an Order](https://medusa.apifox.cn/api-114553544.md): Complete an Order and change its status. A canceled order can't be completed. - Orders [Create a Swap Fulfillment](https://medusa.apifox.cn/api-114553558.md): Create a Fulfillment for a Swap. - Orders [Cancel a Claim](https://medusa.apifox.cn/api-114553550.md): Cancel a Claim and change its status. A claim can't be canceled if it has a refund, if its fulfillments haven't been canceled, of if its associated return hasn't been canceled. - Orders [Process a Swap Payment](https://medusa.apifox.cn/api-114553552.md): Process a swap's payment either by refunding or issuing a payment. This depends on the `difference_due` of the swap. If `difference_due` is negative, the amount is refunded. If `difference_due` is positive, the amount is captured. - Orders [Ship a Fulfillment](https://medusa.apifox.cn/api-114553554.md): Mark a fulfillment as shipped. This changes the order's fulfillment status to either `shipped` or `partially_shipped`, depending on whether all the items were shipped. - Orders [Capture an Order's Payments](https://medusa.apifox.cn/api-114553551.md): Capture all the Payments associated with an Order. The payment of canceled orders can't be captured. - Orders [Archive Order](https://medusa.apifox.cn/api-114553548.md): Archive an order and change its status. - Orders [Update a Claim](https://medusa.apifox.cn/api-114553537.md): Update a Claim's details. - Orders [Request a Return](https://medusa.apifox.cn/api-114553553.md): Request and create a Return for items in an order. If the return shipping method is specified, it will be automatically fulfilled. - Orders [Create a Claim Fulfillment](https://medusa.apifox.cn/api-114553538.md): Create a Fulfillment for a Claim. - Orders [Ship a Swap's Fulfillment](https://medusa.apifox.cn/api-114553545.md): RMark a swap's fulfillment as shipped. This changes the swap's fulfillment status to either `shipped` or `partially_shipped`, depending on whether all the items were shipped. - Orders [Cancel a Fulfilmment](https://medusa.apifox.cn/api-114553541.md): Cancel an order's fulfillment and change its status. - Orders [Create a Claim](https://medusa.apifox.cn/api-114553536.md): Create a Claim for an order. If a return shipping method is specified, a return will also be created and associated with the claim. If the claim's type is `refund`, the refund is processed as well. - Orders [Cancel an Order](https://medusa.apifox.cn/api-114553549.md): Cancel an order and change its status. This will also cancel any associated Fulfillments and Payments, and it may fail if the Payment or Fulfillment Provider is unable to cancel the Payment/Fulfillment. - Order Edits [Delete a Line Item Change](https://medusa.apifox.cn/api-114553574.md): Delete a line item change that indicates the addition, deletion, or update of a line item in the original order. - Order Edits [Add a Line Item](https://medusa.apifox.cn/api-114553582.md): Create a line item change in the order edit that indicates adding an item in the original order. The item will not be added to the original order until the order edit is confirmed. - Order Edits [Upsert Line Item Change](https://medusa.apifox.cn/api-114553580.md): Create or update a line item change in the order edit that indicates addition, deletion, or update of a line item into an original order. Line item changes are only reflected on the original order after the order edit is confirmed. - Order Edits [Delete Line Item](https://medusa.apifox.cn/api-114553581.md): Create a line item change in the order edit that indicates deleting an item in the original order. The item in the original order will not be deleted until the order edit is confirmed. - Order Edits [Cancel an Order Edit](https://medusa.apifox.cn/api-114553584.md): Cancel an OrderEdit. - Order Edits [Delete an Order Edit](https://medusa.apifox.cn/api-114553577.md): Delete an Order Edit. Only order edits that have the status `created` can be deleted. - Order Edits [Get an Order Edit](https://medusa.apifox.cn/api-114553578.md): Retrieve an Order Edit's details. - Order Edits [Update an Order Edit](https://medusa.apifox.cn/api-114553579.md): Updates an Order Edit's details. - Order Edits [Request Confirmation](https://medusa.apifox.cn/api-114553585.md): Request customer confirmation of an Order Edit. This would emit the event `order-edit.requested` which Notification Providers listen to and send a notification to the customer about the order edit. - Order Edits [Create an OrderEdit](https://medusa.apifox.cn/api-114553575.md): Create an Order Edit. - Order Edits [List Order Edits](https://medusa.apifox.cn/api-114553576.md): Retrieve a list of order edits. The order edits can be filtered by fields such as `q` or `order_id`. The order edits can also be paginated. - Order Edits [Confirm an OrderEdit](https://medusa.apifox.cn/api-114553583.md): Confirm an Order Edit. This will reflect the changes in the order edit on the associated order. - Payments [Capture a Payment](https://medusa.apifox.cn/api-114553573.md): Capture a Payment. - Payments [Get Payment details](https://medusa.apifox.cn/api-114553572.md): Retrieve a Payment's details. - Payments [Refund Payment](https://medusa.apifox.cn/api-114553571.md): Refund a payment. The payment must be captured first. - Payment Collections [Delete a Payment Collection](https://medusa.apifox.cn/api-114553738.md): Delete a Payment Collection. Only payment collections with the statuses `canceled` or `not_paid` can be deleted. - Payment Collections [Get a Payment Collection](https://medusa.apifox.cn/api-114553739.md): Retrieve a Payment Collection's details. - Payment Collections [Update Payment Collection](https://medusa.apifox.cn/api-114553740.md): Update a Payment Collection's details. - Payment Collections [Mark Authorized](https://medusa.apifox.cn/api-114553741.md): Set the status of a Payment Collection as `authorized`. This will also change the `authorized_amount` of the payment collection. - Product Collections [Add Products to Collection](https://medusa.apifox.cn/api-114553514.md): Add products to a product collection. - Product Collections [Remove Products from Collection](https://medusa.apifox.cn/api-114553515.md): Remove a list of products from a collection. This would not delete the product, only the association between the product and the collection. - Product Collections [Get a Collection](https://medusa.apifox.cn/api-114553511.md): Retrieve a Product Collection by its ID. The products associated with it are expanded and returned as well. - Product Collections [Update a Collection](https://medusa.apifox.cn/api-114553512.md): Update a Product Collection's details. - Product Collections [Delete a Collection](https://medusa.apifox.cn/api-114553513.md): Delete a Product Collection. This does not delete associated products. - Product Collections [List Collections](https://medusa.apifox.cn/api-114553509.md): Retrieve a list of Product Collection. The product collections can be filtered by fields such as `handle` or `title`. The collections can also be sorted or paginated. - Product Collections [Create a Collection](https://medusa.apifox.cn/api-114553510.md): Create a Product Collection. - Product Tags [List Product Tags](https://medusa.apifox.cn/api-114553615.md): Retrieve a list of product tags. The product tags can be filtered by fields such as `q` or `value`. The product tags can also be sorted or paginated. - Product Types [List Product Types](https://medusa.apifox.cn/api-114553616.md): Retrieve a list of product types. The product types can be filtered by fields such as `q` or `value`. The product types can also be sorted or paginated. - Product Variants [Get Variant's Inventory](https://medusa.apifox.cn/api-114553691.md): Retrieve the available inventory of a Product Variant. - Product Variants [List Product Variants](https://medusa.apifox.cn/api-114553693.md): Retrieve a list of Product Variants. The product variant can be filtered by fields such as `id` or `title`. The product variant can also be paginated. - Product Variants [Get a Product variant](https://medusa.apifox.cn/api-114553692.md): Retrieve a product variant's details. - Price Lists [Delete a Product's Prices](https://medusa.apifox.cn/api-114553605.md): Delete all the prices related to a specific product in a price list. - Price Lists [List Products](https://medusa.apifox.cn/api-114553614.md): Retrieve a price list's products. The products can be filtered by fields such as `q` or `status`. The products can also be sorted or paginated. - Price Lists [Delete a Variant's Prices](https://medusa.apifox.cn/api-114553606.md): Delete all the prices related to a specific variant in a price list - Price Lists [Get a Price List](https://medusa.apifox.cn/api-114553611.md): Retrieve a Price List's details. - Price Lists [Update a Price List](https://medusa.apifox.cn/api-114553610.md): Update a Price List's details. - Price Lists [Delete a Price List](https://medusa.apifox.cn/api-114553609.md): Delete a Price List and its associated prices. - Price Lists [Add or Update Prices](https://medusa.apifox.cn/api-114553613.md): Add or update a list of prices in a Price List - Price Lists [Delete Prices](https://medusa.apifox.cn/api-114553612.md): Delete a list of prices in a Price List - Price Lists [Create a Price List](https://medusa.apifox.cn/api-114553608.md): Create a Price List. - Price Lists [List Price Lists](https://medusa.apifox.cn/api-114553607.md): Retrieve a list of price lists. The price lists can be filtered by fields such as `q` or `status`. The price lists can also be sorted or paginated. - Products [List Product Types](https://medusa.apifox.cn/api-114553618.md): Retrieve a list of Product Types. - Products [List Tags Usage Number](https://medusa.apifox.cn/api-114553617.md): Retrieve a list of Product Tags with how many times each is used in products. - Products [List a Product's Variants](https://medusa.apifox.cn/api-114553628.md): Retrieve a list of Product Variants associated with a Product. The variants can be paginated. - Products [Create a Product Variant](https://medusa.apifox.cn/api-114553629.md): Create a Product Variant associated with a Product. Each product variant must have a unique combination of Product Option values. - Products [Update a Product Variant](https://medusa.apifox.cn/api-114553631.md): Update a Product Variant's details. - Products [Delete a Product Variant](https://medusa.apifox.cn/api-114553630.md): Delete a Product Variant. - Products [Add a Product Option](https://medusa.apifox.cn/api-114553627.md): Add a Product Option to a Product. - Products [Set Metadata](https://medusa.apifox.cn/api-114553621.md): Set the metadata of a Product. It can be any key-value pair, which allows adding custom data to a product. - Products [Delete a Product Option](https://medusa.apifox.cn/api-114553620.md): Delete a Product Option. If there are product variants that use this product option, they must be deleted before deleting the product option. - Products [Update a Product Option](https://medusa.apifox.cn/api-114553619.md): Update a Product Option's details. - Products [List Products](https://medusa.apifox.cn/api-114553625.md): Retrieve a list of products. The products can be filtered by fields such as `q` or `status`. The products can also be sorted or paginated. - Products [Create a Product](https://medusa.apifox.cn/api-114553626.md): Create a new Product. This endpoint can also be used to create a gift card if the `is_giftcard` field is set to `true`. - Products [Delete a Product](https://medusa.apifox.cn/api-114553622.md): Delete a Product and its associated product variants and options. - Products [Update a Product](https://medusa.apifox.cn/api-114553624.md): Update a Product's details. - Products [Get a Product](https://medusa.apifox.cn/api-114553623.md): Retrieve a Product's details. - Product Categories [Create a Product Category](https://medusa.apifox.cn/api-114553599.md): Create a Product Category. - Product Categories [List Product Categories](https://medusa.apifox.cn/api-114553598.md): Retrieve a list of product categories. The product categories can be filtered by fields such as `q` or `handle`. The product categories can also be paginated. - Product Categories [Update a Product Category](https://medusa.apifox.cn/api-114553603.md): Updates a Product Category. - Product Categories [Delete a Product Category](https://medusa.apifox.cn/api-114553604.md): Delete a Product Category. This does not delete associated products. - Product Categories [Get a Product Category](https://medusa.apifox.cn/api-114553602.md): Retrieve a Product Category's details. - Product Categories [Add Products to a Category](https://medusa.apifox.cn/api-114553600.md): Add a list of products to a product category. - Product Categories [Remove Products from Category](https://medusa.apifox.cn/api-114553601.md): Remove a list of products from a product category. - Publishable Api Keys [List Sales Channels](https://medusa.apifox.cn/api-114553640.md): List the sales channels associated with a publishable API key. The sales channels can be filtered by fields such as `q`. - Publishable Api Keys [Delete Publishable API Key](https://medusa.apifox.cn/api-114553638.md): Delete a Publishable API Key. Associated resources, such as sales channels, are not deleted. - Publishable Api Keys [Get a Publishable API Key](https://medusa.apifox.cn/api-114553637.md): Retrieve a publishable API key's details. - Publishable Api Keys [Revoke a Publishable API Key](https://medusa.apifox.cn/api-114553639.md): Revoke a Publishable API Key. Revoking the publishable API Key can't be undone, and the key can't be used in future requests. - Publishable Api Keys [Remove Sales Channels](https://medusa.apifox.cn/api-114553634.md): Remove a list of sales channels from a publishable API key. This doesn't delete the sales channels and only removes the association between them and the publishable API key. - Publishable Api Keys [Add Sales Channels](https://medusa.apifox.cn/api-114553633.md): Assign a list of sales channels to a publishable API key. - Publishable Api Keys [Update Publishable API Key](https://medusa.apifox.cn/api-114553632.md): Update a Publishable API Key's details. - Publishable Api Keys [List Publishable API keys](https://medusa.apifox.cn/api-114553635.md): Retrieve a list of publishable API keys. The publishable API keys can be filtered by fields such as `q`. The publishable API keys can also be paginated. - Publishable Api Keys [Create Publishable API Key](https://medusa.apifox.cn/api-114553636.md): Creates a Publishable API Key. - Reservations [Delete a Reservation](https://medusa.apifox.cn/api-114553643.md): Delete a Reservation. Associated resources, such as the line item, will not be deleted. - Reservations [Update a Reservation](https://medusa.apifox.cn/api-114553642.md): Update a Reservation's details.' - Reservations [Get a Reservation](https://medusa.apifox.cn/api-114553641.md): Retrieve a reservation's details.' - Reservations [Create a Reservation](https://medusa.apifox.cn/api-114553644.md): Create a Reservation which can be associated with any resource, such as an order's line item. - Reservations [List Reservations](https://medusa.apifox.cn/api-114553645.md): Retrieve a list of Reservations. The reservations can be filtered by fields such as `location_id` or `quantity`. The reservations can also be paginated. - Regions [List Fulfillment Options](https://medusa.apifox.cn/api-114553586.md): Retrieve a list of fulfillment options available in a Region. - Regions [Add Country](https://medusa.apifox.cn/api-114553587.md): Add a Country to the list of Countries in a Region - Regions [Remove Fulfillment Provider](https://medusa.apifox.cn/api-114553590.md): Remove a Fulfillment Provider from a Region. The fulfillment provider will still be available for usage in other regions. - Regions [Remove Payment Provider](https://medusa.apifox.cn/api-114553592.md): Remove a Payment Provider from a Region. The payment provider will still be available for usage in other regions. - Regions [Add Payment Provider](https://medusa.apifox.cn/api-114553591.md): Add a Payment Provider to the list of payment providers in a Region. - Regions [Delete a Region](https://medusa.apifox.cn/api-114553593.md): Delete a Region. Associated resources, such as providers or currencies are not deleted. Associated tax rates are deleted. - Regions [Update a Region](https://medusa.apifox.cn/api-114553595.md): Update a Region's details. - Regions [Get a Region](https://medusa.apifox.cn/api-114553594.md): Retrieve a Region's details. - Regions [List Regions](https://medusa.apifox.cn/api-114553597.md): Retrieve a list of Regions. The regions can be filtered by fields such as `created_at`. The regions can also be paginated - Regions [Create a Region](https://medusa.apifox.cn/api-114553596.md): Create a Region. - Regions [Add Fulfillment Provider](https://medusa.apifox.cn/api-114553588.md): Add a Fulfillment Provider to the list of fulfullment providers in a Region. - Regions [Remove Country](https://medusa.apifox.cn/api-114553589.md): Remove a Country from the list of Countries in a Region. The country will still be available in the system, and it can be used in other regions. - Return Reasons [Get a Return Reason](https://medusa.apifox.cn/api-114553646.md): Retrieve a Return Reason's details. - Return Reasons [Delete a Return Reason](https://medusa.apifox.cn/api-114553648.md): Delete a return reason. - Return Reasons [Update a Return Reason](https://medusa.apifox.cn/api-114553647.md): Update a Return Reason's details. - Return Reasons [List Return Reasons](https://medusa.apifox.cn/api-114553649.md): Retrieve a list of Return Reasons. - Return Reasons [Create a Return Reason](https://medusa.apifox.cn/api-114553650.md): Create a Return Reason. - Returns [Receive a Return](https://medusa.apifox.cn/api-114553735.md): Mark a Return as received. This also updates the status of associated order, claim, or swap accordingly. - Returns [List Returns](https://medusa.apifox.cn/api-114553734.md): Retrieve a list of Returns. The returns can be paginated. - Returns [Cancel a Return](https://medusa.apifox.cn/api-114553733.md): Registers a Return as canceled. The return can be associated with an order, claim, or swap. - Sales Channels [Remove Stock Location from Sales Channels.](https://medusa.apifox.cn/api-114553677.md): Remove a stock location from a Sales Channel. This only removes the association between the stock location and the sales channel. It does not delete the stock location. - Sales Channels [Associate a Stock Location](https://medusa.apifox.cn/api-114553678.md): Associate a stock location with a Sales Channel. - Sales Channels [Get a Sales Channel](https://medusa.apifox.cn/api-114553675.md): Retrieve a sales channel's details. - Sales Channels [Delete a Sales Channel](https://medusa.apifox.cn/api-114553674.md): Delete a sales channel. Associated products, stock locations, and other resources are not deleted. - Sales Channels [Update a Sales Channel](https://medusa.apifox.cn/api-114553676.md): Update a Sales Channel's details. - Sales Channels [Remove Products from Sales Channel](https://medusa.apifox.cn/api-114553673.md): Remove a list of products from a sales channel. This does not delete the product. It only removes the association between the product and the sales channel. - Sales Channels [Add Products to Sales Channel](https://medusa.apifox.cn/api-114553672.md): Add a list of products to a sales channel. - Sales Channels [Create a Sales Channel](https://medusa.apifox.cn/api-114553679.md): Create a Sales Channel. - Sales Channels [List Sales Channels](https://medusa.apifox.cn/api-114553680.md): Retrieve a list of sales channels. The sales channels can be filtered by fields such as `q` or `name`. The sales channels can also be sorted or paginated. - Shipping Options [Update Shipping Option](https://medusa.apifox.cn/api-114553671.md): Update a Shipping Option's details. - Shipping Options [Get a Shipping Option](https://medusa.apifox.cn/api-114553670.md): Retrieve a Shipping Option's details. - Shipping Options [Delete Shipping Option](https://medusa.apifox.cn/api-114553669.md): Delete a Shipping Option. Once deleted, it can't be used when creating orders or returns. - Shipping Options [List Shipping Options](https://medusa.apifox.cn/api-114553667.md): Retrieve a list of Shipping Options. The shipping options can be filtered by fields such as `region_id` or `is_return`. - Shipping Options [Create Shipping Option](https://medusa.apifox.cn/api-114553668.md): Create a Shipping Option. - Shipping Profiles [List Shipping Profiles](https://medusa.apifox.cn/api-114553654.md): Retrieve a list of Shipping Profiles. - Shipping Profiles [Create a Shipping Profile](https://medusa.apifox.cn/api-114553655.md): Create a Shipping Profile. - Shipping Profiles [Delete a Shipping Profile](https://medusa.apifox.cn/api-114553653.md): Delete a Shipping Profile. Associated shipping options are deleted as well. - Shipping Profiles [Update a Shipping Profile](https://medusa.apifox.cn/api-114553652.md): Update a Shipping Profile's details. - Shipping Profiles [Get a Shipping Profile](https://medusa.apifox.cn/api-114553651.md): Retrieve a Shipping Profile's details. - Stock Locations [List Stock Locations](https://medusa.apifox.cn/api-114553694.md): Retrieve a list of stock locations. The stock locations can be filtered by fields such as `name` or `created_at`. The stock locations can also be sorted or paginated. - Stock Locations [Create a Stock Location](https://medusa.apifox.cn/api-114553695.md): Create a Stock Location. - Stock Locations [Get a Stock Location](https://medusa.apifox.cn/api-114553697.md): Retrieve a Stock Location's details. - Stock Locations [Update a Stock Location](https://medusa.apifox.cn/api-114553698.md): Update a Stock Location's details. - Stock Locations [Delete a Stock Location](https://medusa.apifox.cn/api-114553696.md): Delete a Stock Location. - Store [List Payment Providers](https://medusa.apifox.cn/api-114553681.md): Retrieve a list of available Payment Providers in a store. - Store [Add a Currency Code](https://medusa.apifox.cn/api-114553683.md): Add a Currency Code to the available currencies in a store. This does not create new currencies, as currencies are defined within the Medusa backend. To create a currency, you can create a migration that inserts the currency into the database. - Store [Remove a Currency](https://medusa.apifox.cn/api-114553684.md): Remove a Currency Code from the available currencies in a store. This does not completely delete the currency and it can be added again later to the store. - Store [List Tax Providers](https://medusa.apifox.cn/api-114553682.md): Retrieve a list of available Tax Providers in a store. - Store [Update Store Details](https://medusa.apifox.cn/api-114553685.md): Update the Store's details. - Store [Get Store details](https://medusa.apifox.cn/api-114553686.md): Retrieve the Store's details. - Swaps [Get a Swap](https://medusa.apifox.cn/api-114553736.md): Retrieve a Swap's details. - Swaps [List Swaps](https://medusa.apifox.cn/api-114553737.md): Retrieve a list of Swaps. The swaps can be paginated. - Tax Rates [Add to Shipping Options](https://medusa.apifox.cn/api-114553701.md): Associates a Tax Rate with a list of Shipping Options. - Tax Rates [Remove Shipping Options from Rate](https://medusa.apifox.cn/api-114553702.md): Remove shipping options from a tax rate. This only removes the association between the shipping options and the tax rate. It does not delete the shipping options. - Tax Rates [Create a Tax Rate](https://medusa.apifox.cn/api-114553711.md): Create a Tax Rate. - Tax Rates [List Tax Rates](https://medusa.apifox.cn/api-114553710.md): Retrieve a list of Tax Rates. The tax rates can be filtered by fields such as `name` or `rate`. The tax rates can also be paginated. - Tax Rates [Add to Products](https://medusa.apifox.cn/api-114553708.md): Associates a Tax Rate with a list of Products. - Tax Rates [Remove Products from Rate](https://medusa.apifox.cn/api-114553709.md): Remove products from a tax rate. This only removes the association between the products and the tax rate. It does not delete the products. - Tax Rates [Delete a Tax Rate](https://medusa.apifox.cn/api-114553703.md): Delete a Tax Rate. Resources associated with the tax rate, such as products or product types, are not deleted. - Tax Rates [Get a Tax Rate](https://medusa.apifox.cn/api-114553704.md): Retrieve a Tax Rate's details. - Tax Rates [Update a Tax Rate](https://medusa.apifox.cn/api-114553705.md): Update a Tax Rate's details. - Tax Rates [Add to Product Types](https://medusa.apifox.cn/api-114553706.md): Associates a Tax Rate with a list of Product Types - Tax Rates [Remove Product Types from Rate](https://medusa.apifox.cn/api-114553707.md): Remove product types from a tax rate. This only removes the association between the product types and the tax rate. It does not delete the product types. - Uploads [Upload Files](https://medusa.apifox.cn/api-114553664.md): Upload at least one file to a public bucket or storage. The file upload is handled by the file service installed on the Medusa backend. - Uploads [Delete an Uploaded File](https://medusa.apifox.cn/api-114553665.md): Delete an uploaded file from storage. The file is deleted using the installed file service on the Medusa backend. - Uploads [Get a File's Download URL](https://medusa.apifox.cn/api-114553666.md): Create and retrieve a presigned or public download URL for a file. The URL creation is handled by the file service installed on the Medusa backend. - Uploads [Protected File Upload](https://medusa.apifox.cn/api-114553663.md): Upload at least one file to an ACL or a non-public bucket. The file upload is handled by the file service installed on the Medusa backend. - Users [Reset Password](https://medusa.apifox.cn/api-114553659.md): Reset the password of an admin User using their reset password token. A user must request to reset their password first before attempting to reset their password with this request. - Users [Request Password Reset](https://medusa.apifox.cn/api-114553656.md): Generate a password token for an admin user with a given email. - Users [Get a User](https://medusa.apifox.cn/api-114553660.md): Retrieve an admin user's details. - Users [Delete a User](https://medusa.apifox.cn/api-114553662.md): Delete a User. Once deleted, the user will not be able to authenticate or perform admin functionalities. - Users [Update a User](https://medusa.apifox.cn/api-114553661.md): Update an admin user's details. - Users [Create a User](https://medusa.apifox.cn/api-114553658.md): Create an admin User. The user has the same privileges as all admin users, and will be able to authenticate and perform admin functionalities right after creation. - Users [List Users](https://medusa.apifox.cn/api-114553657.md): Retrieve all admin users.