curl --request POST \
--url https://api.treet-test.co/v1/listings \
--header 'Content-Type: application/json' \
--header 'X-Treet-Authentication-Key: <api-key>' \
--header 'X-Treet-Client-Id: <api-key>' \
--data '{
"shopId": "boyish",
"condition": "GOOD",
"productDataSourceType": "SHOPIFY_PRODUCT_VARIANT_ID",
"productIdentifier": "gid://shopify/ProductVariant/36730646298791",
"externalIdentifier": "SKU325-good",
"description": "This item was used for sample sales. It has a loose thread on the bottom.",
"metadata": {
"locationId": "123456",
"uniqueUnitIdentifier": "SKU325-good"
},
"commercePlatformDomain": "shop.example.com",
"images": [
{
"url": "https://example.com/image1.jpg"
},
{
"url": "https://example.com/image2.jpg"
}
]
}'