diff --git a/packages/medusa/src/api/routes/admin/users/delete-user.ts b/packages/medusa/src/api/routes/admin/users/delete-user.ts index 525451371c..7c17efbe11 100644 --- a/packages/medusa/src/api/routes/admin/users/delete-user.ts +++ b/packages/medusa/src/api/routes/admin/users/delete-user.ts @@ -29,7 +29,7 @@ import UserService from "../../../../services/user" * - api_token: [] * - cookie_auth: [] * tags: - * - Users + * - User * responses: * 200: * description: OK diff --git a/packages/medusa/src/api/routes/store/customers/list-orders.ts b/packages/medusa/src/api/routes/store/customers/list-orders.ts index 8165883d75..31409f8384 100644 --- a/packages/medusa/src/api/routes/store/customers/list-orders.ts +++ b/packages/medusa/src/api/routes/store/customers/list-orders.ts @@ -57,7 +57,16 @@ import { Type } from "class-transformer" * - (query) cart_id {string} to search for. * - (query) email {string} to search for. * - (query) region_id {string} to search for. - * - (query) currency_code {string} to search for. + * - in: query + * name: currency_code + * style: form + * explode: false + * description: The 3 character ISO currency code to set prices based on. + * schema: + * type: string + * externalDocs: + * url: https://en.wikipedia.org/wiki/ISO_4217#Active_codes + * description: See a list of codes. * - (query) tax_rate {string} to search for. * - in: query * name: created_at diff --git a/packages/medusa/src/api/routes/store/products/get-product.ts b/packages/medusa/src/api/routes/store/products/get-product.ts index e8b478094b..9fa95b7883 100644 --- a/packages/medusa/src/api/routes/store/products/get-product.ts +++ b/packages/medusa/src/api/routes/store/products/get-product.ts @@ -15,6 +15,18 @@ import { validator } from "../../../../utils/validator" * description: "Retrieves a Product." * parameters: * - (path) id=* {string} The id of the Product. + * - (query) cart_id {string} The ID of the customer's cart. + * - (query) region_id {string} The ID of the region the customer is using. This is helpful to ensure correct prices are retrieved for a region. + * - in: query + * name: currency_code + * style: form + * explode: false + * description: The 3 character ISO currency code to set prices based on. This is helpful to ensure correct prices are retrieved for a currency. + * schema: + * type: string + * externalDocs: + * url: https://en.wikipedia.org/wiki/ISO_4217#Active_codes + * description: See a list of codes. * x-codeSamples: * - lang: JavaScript * label: JS Client