feat: list OE by order id (#2457)
**What** - allow passing `order_id` param to OE list endpoint
This commit is contained in:
@@ -11,6 +11,7 @@ import { IsOptional, IsString } from "class-validator"
|
||||
* x-authenticated: true
|
||||
* parameters:
|
||||
* - (query) q {string} Query used for searching order edit internal note.
|
||||
* - (query) order_id {string} List order edits by order id.
|
||||
* - (query) limit=20 {number} The number of items in the response
|
||||
* - (query) offset=0 {number} The offset of items in response
|
||||
* - (query) expand {string} Comma separated list of relations to include in the results.
|
||||
@@ -90,4 +91,8 @@ export class GetOrderEditsParams extends extendedFindParamsMixin({
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
q?: string
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
order_id?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user