This commit is contained in:
2025-01-13 05:10:55 +03:00
parent 4d7e5ded4d
commit d6dc39ef61
2 changed files with 20 additions and 0 deletions

View File

@@ -53,3 +53,9 @@ def attach_crpt(order_product_id, crpt):
data = {'orderProductId': order_product_id, 'crpt': crpt}
response = client.method('POST', method, data=data)
return response
def need_crpt_by_order_id(order_id):
method = f'{router}/needCrptByOrder?orderId={order_id}'
response = client.method('GET', method)
return response