Create Listing
Creates a new listing for a brand’s Treet shop. Product data can be pulled in directly from Shopify or manually entered. See productDataSourceType
below for more info.
Body
Item’s condition
NEW_WITH_TAGS
, NEW_WITHOUT_TAGS
, EXCELLENT
, GOOD
, MINOR_DEFECT
Specifies the type of product data source.
- For
SHOPIFY_SKU
orSHOPIFY_PRODUCT_VARIANT_ID
,productIdentifier
must be defined. - For
MANUAL_PRODUCT_OPTIONS
,productOptions
field must be defined.
SHOPIFY_SKU
, SHOPIFY_PRODUCT_VARIANT_ID
, MANUAL_PRODUCT_OPTIONS
Unique Treet shop identifier
Only enter this value to override the commerce platform for a shop.
For example, if the shop has more than one Shopify store, you will need to specify the domain of the Shopify store that you want to reference for this listing.
Treet listing description shown publicly to Treet resale customers.
Unique identifier for the item that can be used to retrieve details about the item later. If this is not passed in, the unique ID that Treet creates must be used instead.
A list of images for this listing
All information pertaining to a manually listed item for non-Shopify backed items. Title and category are required, and additional fields may be added that help identify the item.
*Required if productDataSourceType
is MANUAL_PRODUCT_OPTIONS
.
When listing is purchased, this will be pushed to the Shopify Order as Shopify Custom Attributes to sync to the fulfillment mechanism.
This object is limited to 3 properties and must be either a string or integer.
Depending on the productDataSourceType
, this is either the Shopify Product Variant ID or the Shopify SKU of the item.
*Required if productDataSourceType
is SHOPIFY_SKU
or SHOPIFY_PRODUCT_VARIANT_ID