A Listing represents the the actual publishing procedure in the Connect platform.
Static methods
staticlist(filters:Query):Collection<Listing>
Lists all listings that match the given filters. Supported filters are:
status
contract
product
created_date
marketplace
sourcing__agreement
sourcing__published
Returns:
A Collection of Listings.
Constructor
Variables
sourcing:ListingSourcing
Indicates whether the product is available in wholesale catalog. Object appears when product can be published.
Methods
put():Listing
Puts the listing in the Connect platform with the data changed in this
model.
You should reassign your listing with the object returned by this method, so the next time
you call put
on the object, the SDK knows the fields that already got updated in a
previous call, like this:
listing = listing.put();
Returns:
The Listing returned from the server, which should contain
the same data as this
Listing.