Refresh product from back office
This commit is contained in:
@@ -536,6 +536,14 @@ def get_product_update_office():
|
||||
return jsonify(result)
|
||||
|
||||
|
||||
@api.route('/office/rebuild-template', methods=['POST'])
|
||||
def product_rebuild_office():
|
||||
# Call the dashboard service
|
||||
data = request.get_json()
|
||||
result = OfficeTemplatesService.office_template_rebuild(data)
|
||||
return jsonify(result)
|
||||
|
||||
|
||||
@api.route('/office/products-templates', methods=['GET'])
|
||||
def get_product_templates():
|
||||
# Call the dashboard service
|
||||
|
||||
Reference in New Issue
Block a user