Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Creation of users via api does not work

Dunina_Andrey
Visitor
1 0 0

When we send a request to create a user via postman, we get the following response

 

 

<html>

<body>
	<noscript>
		<a
			href="https://accounts.shopify.com/oauth/authorize?client_id=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&amp;destination_uuid=1f328f60-3168-4182-8512-5bf9fd558758&amp;nonce=407ad8ddc1ef1de4295cfcd1d6568bc6&amp;prompt=merge&amp;redirect_uri=https%3A%2F%2Fdev-distil.myshopify.com%2Fadmin%2Fauth%2Fidentity%2Fcallback&amp;response_type=code&amp;scope=email%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly%20openid%20profile%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fbanking.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshopify-chat.admin.graphql%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fflow.workflows.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization-identity.manage&amp;state=5c8b4b55e3af9af39222f3897b855597&amp;ui_locales=en&amp;ux=shop">Continue</a>
	</noscript>

	<script type="text/javascript" defer>
		window.location = "https:\/\/accounts.shopify.com\/oauth\/authorize?client_id=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c\u0026destination_uuid=1f328f60-3168-4182-8512-5bf9fd558758\u0026nonce=407ad8ddc1ef1de4295cfcd1d6568bc6\u0026prompt=merge\u0026redirect_uri=https%3A%2F%2Fdev-distil.myshopify.com%2Fadmin%2Fauth%2Fidentity%2Fcallback\u0026response_type=code\u0026scope=email%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly%20openid%20profile%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fbanking.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshopify-chat.admin.graphql%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fflow.workflows.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization-identity.manage\u0026state=5c8b4b55e3af9af39222f3897b855597\u0026ui_locales=en\u0026ux=shop";
	</script>
</body>

</html>

 

 

 Example request
https://dev-distil.myshopify.com/admin/api/2021-10/customers.json

Reply 1 (1)

csam
Shopify Staff (Retired)
267 40 51

Hi @Dunina_Andrey 

You'll want to clear all cookies from Postman, and retry your request. Once the cookies are cleared, it should behave normally.

Regards,

To learn more visit the Shopify Help Center or the Community Blog.