Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Sat, 28 May 2022 16:27:15 GMT [server] => Apache/2.4.29 (Ubuntu) [x-robots-tag] => noindex [link] => ; rel="https://api.w.org/" [x-content-type-options] => nosniff [access-control-expose-headers] => X-WP-Total, X-WP-TotalPages, Link [access-control-allow-headers] => Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type [x-litespeed-tag] => 73c_HTTP.401 [content-length] => 123 [content-type] => application/json; charset=UTF-8 ) ) [body] => {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create resources.","data":{"status":401}} [response] => Array ( [code] => 401 [message] => Unauthorized ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create resources.","data":{"status":401}} [raw] => HTTP/1.1 401 Unauthorized Date: Sat, 28 May 2022 16:27:15 GMT Server: Apache/2.4.29 (Ubuntu) X-Robots-Tag: noindex Link: ; rel="https://api.w.org/" X-Content-Type-Options: nosniff Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages, Link Access-Control-Allow-Headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type X-LiteSpeed-Tag: 73c_HTTP.401 Content-Length: 123 Connection: close Content-Type: application/json; charset=UTF-8 {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create resources.","data":{"status":401}} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Sat, 28 May 2022 16:27:15 GMT ) [server] => Array ( [0] => Apache/2.4.29 (Ubuntu) ) [x-robots-tag] => Array ( [0] => noindex ) [link] => Array ( [0] => ; rel="https://api.w.org/" ) [x-content-type-options] => Array ( [0] => nosniff ) [access-control-expose-headers] => Array ( [0] => X-WP-Total, X-WP-TotalPages, Link ) [access-control-allow-headers] => Array ( [0] => Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type ) [x-litespeed-tag] => Array ( [0] => 73c_HTTP.401 ) [content-length] => Array ( [0] => 123 ) [content-type] => Array ( [0] => application/json; charset=UTF-8 ) ) ) [status_code] => 401 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://myalftraining.com/wp-json/wc/v3/orders [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )