11 lines
		
	
	
		
			315 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			315 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from sipro.api.client import get_client
 | 
						|
 | 
						|
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}'
 | 
						|
    response = client.method('GET', method)
 | 
						|
    return response
 |