{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/x-www-form-urlencoded", "Authorization": "Token token=\"igReqgpz6Y9DGU4FFhwSkKnJ\"" }, "request_query_parameters": { }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Content-Type": "application/json; charset=utf-8", "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS", "X-Requested-With": "", "Vary": "X-Requested-With, X-Flash-Messages", "ETag": "W/\"66a238fd3ae548835be1e293b3f05cd9\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "b42d9eaf-b00a-4cae-9e64-64f82613936e", "X-Runtime": "0.007278", "Expires": "0", "Content-Length": "76" }, "request_method": "PATCH", "request_path": "/api/storefront/authentication_tokens", "request_body": null, "request_content_type": "application/x-www-form-urlencoded", "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"token\": \"igReqgpz6Y9DGU4FFhwSkKnJ\",\n \"expires_at\": \"2019-08-28T21:49:33.839Z\"\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/storefront/authentication_tokens\" -d '' -X PATCH \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\" \\\n\t-H \"Authorization: Token token=\\\"igReqgpz6Y9DGU4FFhwSkKnJ\\\"\"" } ], "resource": "Authentication", "description": "Refreshing an authentication token", "route": "/api/storefront/authentication_tokens", "explanation": " Refreshing an authentication token extends its expiration so that it\n can continue to be used.\n", "http_method": "PATCH" }