Heyo, @lumpy I’m really excited about this feature, and I’m integrating it with my new website so that I can create, update and manage my listings on my own site, and have it sync to MorphMarket automatically via import 2.0 as a json object.
Is anyone else doing this? Does anyone else have a client for syncing with MorphMarket like this using json at a web endpoint, rather than manually uploading .csv
or .tsv
files? Mr. John L mentioned to there’s a way to set a web endpoint for syncing our ads, is it in the video? I’m more of a learn-by-reading-the-docs/spec person.
I’d love to get a community of MM third-party developers talking about this stuff and working to make cool new integrations with MorphMarket.
cough cough consider building a public API cough cough
Definitely interested in the experience of any other developers working with this feature. The schema documentation at https://www.morphmarket.com/help/selling-guide/#import2 under “full list of the supported fields” looks pretty complete, and not too huge to manage.
I’m going to start working on a client for this, probably today.
Just to confirm the json format should look something like this, based on the format of the sample import .tsv
google doc right?
[
{
"Category": "ball python",
"Title": "Firefly Ball Python",
"Maturity": "adult",
"Price": "1500",
"Serial": "MM-100",
"Quantity": "1",
"Sex": "male",
"Dob": "02-28-2008",
"Weight": "150",
"Length": "1.2",
"Length_Type": "total_length_m",
"Traits": "pastel pinstripe clown",
"Clutch": "2015-9",
"Photo_Urls": "https://example.com/some-test-photo.png",
"Video_Url": "https://youtube.com/watch?v=1234",
"Proven_Breeder": "yes",
"Desc": "Fantastic eater and very docile.",
"Is_Group": "TRUE",
"Availability": "available",
"Origin": "domestically produced",
"Prey_State": "live",
"Prey_Food": "rat",
"Min_Shipping": "50",
"Max_Shipping": "100",
"Is_Rep_Photo": "FALSE",
"Is_Negotiable": "TRUE",
"Is_For_Trade": "TRUE"
},
{
"Category": "",
"Title": "",
"Maturity": "",
"Price": "",
"Serial": "",
"Quantity": "",
"Sex": "",
"Dob": "",
"Weight": "",
"Length": "",
"Length_Type": "",
"Traits": "",
"Clutch": "",
"Photo_Urls": "",
"Video_Url": "",
"Proven_Breeder": "",
"Desc": "",
"Is_Group": "",
"Availability": "",
"Origin": "",
"Prey_State": "",
"Prey_Food": "",
"Min_Shipping": "",
"Max_Shipping": "",
"Is_Rep_Photo": "",
"Is_Negotiable": "",
"Is_For_Trade": ""
},
]
I think it would be great if MorphMarket would ingest/sync my listings daily from an endpoint I could define in my seller profile…I heard a rumor about something like that.
I have questions. If I pass number
values rather than string
values to object attributes like Price
and Min_Shipping
- as in 1500
rather than "1500"
will it handle the type coercion correctly? Do I strictly have to cast everything to strings or is this json object handled in a loosely typed way during processing? Like, price is listed as a text
field in the specification in the Seller Guide, so people can use the value "inquire"
as a price. But if I pass it a straight up number
value, in the javascript sense, will it handle it gracefully or throw an error?
Thanks so much!