ebanutsya
This commit is contained in:
		@@ -4,8 +4,8 @@ client = get_client()
 | 
			
		||||
router = '/orders'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def get_orders_by_supplier_product_id(supplier_product_id: str) -> list[dict]:
 | 
			
		||||
    method = f'{router}/getBySupplierProductId?supplierProductId={supplier_product_id}'
 | 
			
		||||
def get_orders_by_product_id(supplier_product_id: str) -> list[dict]:
 | 
			
		||||
    method = f'{router}/getByProductId?productId={supplier_product_id}'
 | 
			
		||||
    response = client.method('GET', method)
 | 
			
		||||
    return response
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user