/** * @oas [get] /variants/{variant_id} * operationId: GetVariantsVariant * summary: Get a Product Variant * description: "Retrieves a Product Variant by id" * parameters: * - (path) variant_id=* {string} The id of the Product Variant. * - (query) cart_id {string} The id of the Cart to set prices based on. * - (query) region_id {string} The id of the Region to set prices based on. * - 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. * x-codeSamples: * - lang: Shell * label: cURL * source: | * curl --location --request GET 'https://medusa-url.com/store/variants/{id}' * tags: * - Product Variant * responses: * 200: * description: OK * content: * application/json: * schema: * properties: * variant: * allOf: * - $ref: "#/components/schemas/product_variant" * - $ref: "#/components/schemas/product_variant_prices_fields" * "400": * $ref: "#/components/responses/400_error" * "404": * $ref: "#/components/responses/not_found_error" * "409": * $ref: "#/components/responses/invalid_state_error" * "422": * $ref: "#/components/responses/invalid_request_error" * "500": * $ref: "#/components/responses/500_error" */ declare const _default: (req: any, res: any) => Promise; export default _default;