Skip to content

Instantly share code, notes, and snippets.

@drwasho
Created February 13, 2018 06:13
Show Gist options
  • Save drwasho/329b621be156b9cc368e139b9e9c0def to your computer and use it in GitHub Desktop.
Save drwasho/329b621be156b9cc368e139b9e9c0def to your computer and use it in GitHub Desktop.
{
"metadata": {
"contractType": "PHYSICAL_GOOD",
"format": "FIXED_PRICE",
"expiry": "2037-12-31T05:00:00.000Z",
"pricingCurrency": "USD"
},
"item": {
"title": "Vintage dress (physical; w/ options)",
"description": "This is a listing example.",
"processingTime": "3 days",
"price": 15000,
"tags": [
"vintage dress"
],
"images": [{
"filename": "front",
"tiny": "QmbjyAxYee4y3443kAMLcmRVwggZsRDKiyXnXus1qdJJWz",
"small": "QmVsoT9iabv6GZhxhvtjSpQMJA6QyMivGTs6MmHJr6TBm9",
"medium": "QmTJfeeapZwFM8EoZAuf16JsSJyxZtKaAR6hmWiMf4CTcF",
"large": "QmfTKL3Z67mWKTKf9XKSCj1ptmDRaZLr5yjPS4JrVDgo5h",
"original": "QmNexx7SaJCVCjyGGG3j2k7fenn3iVhtWdm9RvKvT7GTLq"
}, {
"filename": "cream",
"tiny": "QmU1cBgjyHpuzDYbEd4iDVuPzxgKM3CqhRhDJqkHWCKBXq",
"small": "QmP3BVFuga7N4XEX8iU2MFYC7pc6mfTRQRrpZbKiVy2Csr",
"medium": "QmQaSzaoHzp8raZLtPEFyCjTnwfXvDGKdXFM83STDVWG43",
"large": "QmNsFdsX2LNALG2WBxw6E6FTPZWgJcRAcLHnKdWczrCNf9",
"original": "QmTEUnCjuQPj1ggj5UL5vJujkgBiNYY4jkteugnogiCJny"
}, {
"filename": "black",
"tiny": "QmdA3Nmc8VnwSvt98Deo2RQztEiCsAkNLhron73bnBzARe",
"small": "QmcADxUo89ZsEAWiYsuUk7hrgjWDMKXL1CtoA9sTNrQFFP",
"medium": "QmZydpAJoLsJWbP5vmh59W6bW1kuiCV34yD62hq28AtP7b",
"large": "QmXixGseetihe6vZiWcTw9N1pieok1YtRoxwvyd5d7jz6s",
"original": "QmZsZ78FJwt281gfeUvGzDnsBW7WNjPWW3aJWDKskhpCRr"
}, {
"filename": "other_red",
"tiny": "QmbRFtxNWqACak1vvMJrrxUjzWjTJbMqi3vdUK5ZYvibgt",
"small": "QmRdYph9YrfpdzMsaDnuySj6U4AY9dZhmjd8Cv2e6SscUG",
"medium": "QmcD4pkp7SwCmN95pFnED2hz1LfsoYTPpynxeZbxCMoYPL",
"large": "QmbSQZNAL3pZspUYWm6WNBD1oEQ6i9EnWPEsnk1DfdKnAv",
"original": "QmZpgjK4jXmdqPg8Jt9YHGVmiuowVve3sbN2AZx7GXioDF"
}],
"categories": [
"👚 Apparel & Accessories"
],
"condition": "New",
"options": [{
"name": "Color",
"description": "Color of the dress.",
"variants": [{
"name": "Red",
"image": {
"filename": "front",
"tiny": "QmbjyAxYee4y3443kAMLcmRVwggZsRDKiyXnXus1qdJJWz",
"small": "QmVsoT9iabv6GZhxhvtjSpQMJA6QyMivGTs6MmHJr6TBm9",
"medium": "QmTJfeeapZwFM8EoZAuf16JsSJyxZtKaAR6hmWiMf4CTcF",
"large": "QmfTKL3Z67mWKTKf9XKSCj1ptmDRaZLr5yjPS4JrVDgo5h",
"original": "QmNexx7SaJCVCjyGGG3j2k7fenn3iVhtWdm9RvKvT7GTLq"
}
},
{
"name": "Cream",
"image": {
"filename": "cream",
"tiny": "QmU1cBgjyHpuzDYbEd4iDVuPzxgKM3CqhRhDJqkHWCKBXq",
"small": "QmP3BVFuga7N4XEX8iU2MFYC7pc6mfTRQRrpZbKiVy2Csr",
"medium": "QmQaSzaoHzp8raZLtPEFyCjTnwfXvDGKdXFM83STDVWG43",
"large": "QmNsFdsX2LNALG2WBxw6E6FTPZWgJcRAcLHnKdWczrCNf9",
"original": "QmTEUnCjuQPj1ggj5UL5vJujkgBiNYY4jkteugnogiCJny"
}
},
{
"name": "Black",
"image": {
"filename": "black",
"tiny": "QmdA3Nmc8VnwSvt98Deo2RQztEiCsAkNLhron73bnBzARe",
"small": "QmcADxUo89ZsEAWiYsuUk7hrgjWDMKXL1CtoA9sTNrQFFP",
"medium": "QmZydpAJoLsJWbP5vmh59W6bW1kuiCV34yD62hq28AtP7b",
"large": "QmXixGseetihe6vZiWcTw9N1pieok1YtRoxwvyd5d7jz6s",
"original": "QmZsZ78FJwt281gfeUvGzDnsBW7WNjPWW3aJWDKskhpCRr"
}
}
]
},
{
"name": "Sizes",
"description": "Size of the dress.",
"variants": [{
"name": "Small"
},
{
"name": "Medium"
},
{
"name": "Large"
},
{
"name": "Extra Large"
}
]
}
],
"skus": [{
"variantCombo": [0, 0],
"productID": "dress-red-small",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [0, 1],
"productID": "dress-red-medium",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [0, 2],
"productID": "dress-red-large",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [1, 0],
"productID": "dress-cream-small",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [1, 1],
"productID": "dress-cream-medium",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [1, 2],
"productID": "dress-cream-large",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [2, 0],
"productID": "dress-black-small",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [2, 1],
"productID": "dress-black-medium",
"surcharge": 0,
"quantity": 1000
}, {
"variantCombo": [2, 2],
"productID": "dress-black-large",
"surcharge": 0,
"quantity": 1000
}],
"nsfw": false
},
"shippingOptions": [{
"name": "Worldwide",
"type": "FIXED_PRICE",
"regions": [
"ALL"
],
"services": [{
"name": "Standard",
"price": 0,
"estimatedDelivery": "3 days"
},
{
"name": "Express",
"price": 1,
"estimatedDelivery": "3 days"
}
]
}],
"taxes": [],
"coupons": [],
"moderators": [],
"termsAndConditions": "Terms and conditions.",
"refundPolicy": "Refund policy."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment