Jpepper
Jpepper

Reputation: 437

Unable to update shopify product via API using XML

I am using shopify API with a private api key for my demo partner store. I am unable to update a product. I get 200 response but nothing has changed. I am using Fiddler for this.

Here is my URL.

https://brown-davis8963.myshopify.com/admin/products/110503384.xml

with Headers

Authorization: Basic <REDACTED>
Content-Type: text/xml

Request Body

<product>
  <id type="integer">110503384</id>
  <title>Football</title>
</product>

Upvotes: 1

Views: 291

Answers (1)

csaunders
csaunders

Reputation: 1742

I believe your content type needs to be application/xml

Upvotes: 2

Related Questions