chore: add missing since tag for js sdk (#14325)
This commit is contained in:
1 parent
b8c2b9607b
commit
bee86bf1d5
2 files changed
+7
-2
No files matched your search
@@ -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
|
||||
@@ -686,12 +687,14 @@ export class Order {
|
||||
* 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)
|
||||
* })
|
||||
|
||||
@@ -284,6 +284,8 @@ export class PriceList {
|
||||
* [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.
|
||||
* @param headers - Headers to pass in the request
|
||||
|
||||
Reference in new issue
Block a user