Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Sun, 24 Oct 2021 05:46:51 GMT [server] => Apache/2.4.29 (Ubuntu) [set-cookie] => PHPSESSID=ifu3v1eqqml0o09j1r7qfojoit; path=/ [expires] => Thu, 19 Nov 1981 08:52:00 GMT [cache-control] => no-store, no-cache, must-revalidate [pragma] => no-cache [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 [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 ( [0] => WP_Http_Cookie Object ( [name] => PHPSESSID [value] => ifu3v1eqqml0o09j1r7qfojoit [expires] => [path] => / [domain] => myalftraining.com [host_only] => 1 ) ) [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: Sun, 24 Oct 2021 05:46:51 GMT Server: Apache/2.4.29 (Ubuntu) Set-Cookie: PHPSESSID=ifu3v1eqqml0o09j1r7qfojoit; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache 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 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] => Sun, 24 Oct 2021 05:46:51 GMT ) [server] => Array ( [0] => Apache/2.4.29 (Ubuntu) ) [set-cookie] => Array ( [0] => PHPSESSID=ifu3v1eqqml0o09j1r7qfojoit; path=/ ) [expires] => Array ( [0] => Thu, 19 Nov 1981 08:52:00 GMT ) [cache-control] => Array ( [0] => no-store, no-cache, must-revalidate ) [pragma] => Array ( [0] => no-cache ) [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 ) [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 ( [PHPSESSID] => Requests_Cookie Object ( [name] => PHPSESSID [value] => ifu3v1eqqml0o09j1r7qfojoit [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [path] => / [domain] => myalftraining.com ) ) [flags] => Array ( [creation] => 1635054412 [last-access] => 1635054412 [persistent] => [host-only] => 1 ) [reference_time] => 1635054412 ) ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )