Anybody come accross this
Just trying to do a fulfilment tracking update with the new location_id parameter below
{"fulfillment":{"location_id":18717016137,"tracking_company":"DHL Parcel UK","tracking_number":"30981200397928","tracking_url":"https://www.ukmail.com/manage-my-delivery/manage-my-delivery/?ConsignmentNumber=30981200397928","not...}}
and get a 200 OK
but the response looks like a web page >
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Shopify » Please log in</title>
<meta name="referrer" content="never" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="icon" sizes="192x192" href="//cdn.shopify.com/s/assets/touch-icons/touch-icon-192x192-840b11274adbc510a1db23976759bd31ceee84ddbb36478d494a3a2cf19b5ae6.png" />
<link rel="shortcut icon" type="image/x-icon" href="//cdn.shopify.com/s/assets/favicon-4425e7970f1327bc362265f54e8c9c6a4e96385b3987760637977078e28ffe92.png" />
<link rel="apple-touch-startup-image" href="//cdn.shopify.com/s/assets/touch-icons/mobile-startup-564eed49b6c483b80796f529e05b4bf1d54e9cd9beeb0bb89b10d3c6a2282ea6.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="//cdn.shopify.com/s/assets/touch-icons/icon-114x114-precomposed-79d1c57f01b233f016319dc4048d90524e9ce252c058a306ef9db2216ab26911.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="//cdn.shopify.com/s/assets/touch-icons/icon-72x72-precomposed-584c35aa679456ab4e2f1cd971191498d7fecf7321b4ded8bae5c5a2c51176e3.png" />
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="//cdn.shopify.com/s/assets/touch-icons/icon-57x57-precomposed-49c0927bd56de30bc28439aed87097b7c8e41f2bb4f00661f01a00729c2a1b77.png" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, user-scalable=0" />
<link rel="stylesheet" media="screen" href="//cdn.shopify.com/s/assets/dialog-fresh-13a5e6a7702df45fec34a11b80f23056174e6d57a0c6021a76975bd62994d6ba.css" crossorigin="anonymous" data-turbolinks-track="true" integrity="sha256-E6Xmp3At9F/sNKEbgPIwVhdObVegxgIadpdb1imU1ro=" />
</head>
<body class="page-auth-login fresh-ui">
<div id="container">
<noscript class="no-js">In order to use the Shopify admin you need to enable Javascript.
<a href="http://www.enable-javascript.com/" target="_blank">Learn how to enable Javascript</a>.
</noscript>
<main role="main" id="dialog-alternate">
<div class="login-form">
<h1 class="dialog-heading">spaghettibooks</h1>
<h2 class="dialog-subheading">Log in to manage your store</h2>
<form action="/admin/auth/login" accept-charset="UTF-8" method="post">
It looks like you're sending your request with cookies. You will want to ensure that absolutely no cookies are included in your request, or Shopify presents a login screen.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog