diff --git a/packages/core/js-sdk/src/admin/order.ts b/packages/core/js-sdk/src/admin/order.ts index 233efd6051..e37140e59a 100644 --- a/packages/core/js-sdk/src/admin/order.ts +++ b/packages/core/js-sdk/src/admin/order.ts @@ -676,7 +676,8 @@ export class Order { } /** - * This method starts an order export process to retrieve a CSV of exported orders. + * This method starts an order export process to retrieve a CSV of exported orders. It sends + * a request to the [Export Orders](https://docs.medusajs.com/api/admin#orders_postordersexport) API route. * * You'll receive in the response the transaction ID of the workflow generating the CSV file. * To check the status of the execution, send a `GET` request to @@ -685,13 +686,15 @@ export class Order { * Once the execution finishes successfully, a notification is created for the export. * You can retrieve the notifications using the `/admin/notification` API route to * retrieve the file's download URL. + * + * @since 2.12.3 * * @param query - Filters to specify which orders to export. * @param headers - Headers to pass in the request. * @returns The export's details. * * @example - * sdk.admin.order.export({}) + * sdk.admin.order.export() * .then(({ transaction_id }) => { * console.log(transaction_id) * }) diff --git a/packages/core/js-sdk/src/admin/price-list.ts b/packages/core/js-sdk/src/admin/price-list.ts index b605979457..7ff1138985 100644 --- a/packages/core/js-sdk/src/admin/price-list.ts +++ b/packages/core/js-sdk/src/admin/price-list.ts @@ -283,6 +283,8 @@ export class PriceList { * This method retrieves the prices of a price list. It sends a request to the * [Get Prices](https://docs.medusajs.com/v2/api/admin#price-lists_getpricelistsidprices) * API route. + * + * @since 2.12.3 * * @param id - The price list's ID. * @param query - Configure the fields to retrieve in the price list.