Daniel,
Thanks for the response. I'd overlooked the fact that an update
required a PUT rather than a POST. Although, since I'm doing a batch
insert, according the the notes at
http://code.google.com/apis/gdata/batch.html I can POST a batch with
batch:type of update rather than insert. So I'll probably try that.
Daniel Danciu 단츄 다니엘 wrote:
Phil, when you say "posting products", do you really mean HTTP POST?
Updating items is done via an HTTP PUT request. POST always inserts...
Phil Meades wrote:
Hello,
I have got the whole process working end-to-end posting products using
a batch insert through the API except that each subsequent post creates
new repeated items rather than overwriting or updating the ones that
are already there.
Each time I run my script it extracts the same sample of 10 products
and I am using the unique product reference as the batch:id.
Any ideas?