Frontend orders/number #13

Merged
bilal.catic merged 53 commits from frontend-orders/number into master 2018-08-29 13:06:02 +02:00
Showing only changes of commit 906725f5c5 - Show all commits

View File

@@ -37,6 +37,10 @@ class Wiass_REST_Delivery_Process_API {
'callback' => array(__CLASS__, 'get_customer_acceptance'),
) );
/*
Used for some fast test and check
register_rest_route( self::$namespace, 'gravity-form-entry/(?P<entry_id>\d+)', array(
'methods' => 'GET',
'callback' => array(__CLASS__, 'get_form_entry'),
@@ -48,6 +52,8 @@ class Wiass_REST_Delivery_Process_API {
'callback' => array(__CLASS__, 'update_entry'),
) );
*/
register_rest_route( self::$namespace, 'customer-acceptance/(?P<entry_id>\d+)', array(
'methods' => 'POST',