Duplicate collections when creating via Shopify API.

Shopify Partner
4 0 1


I'm creating collections via the rest-api and they appear twice.

I post to the URL:


I have the following headers:

content-type: application/json
X-Shopify-Access-Token: xxxxxxxxxx
Cache-Control: no-cache

This is the content:

{"custom_collection":{ "title":"Testcollection"}}
After sending the request to the rest-api the collection is added twice. Each has an unique ID.
What can cause this problem? I'm sending the request only once.
Any suggestions?
Best regards,
Chris Andries.
Replies 0 (0)