Re: Transaction.Listing association returns blank object

17 views
Skip to first unread message

Justin Kerr Sheckler

unread,
Jul 25, 2011, 2:53:00 PM7/25/11
to etsy-...@googlegroups.com
Hi Kevin,

I checked, and that listing is sold out (it's not displaying
correctly, unfortunately.) We'll take a look at the display issues.

Reminder: the Transations.Listing association is misleading-- the
original listing may be renewed, edited, etc., and may no longer
accurately reflect that thing that was purchased. The Transaction
resource is a snapshot of the listing at the time it was purchased.

Justin Kerr Sheckler
Developer API Lead
Etsy.com
jus...@etsy.com


On Sun, Jul 24, 2011 at 3:44 PM, kevinyc <kev...@gmail.com> wrote:
> The docs say that the Listing association in Transactions is public
> but when I make a call using findAllShopTransaction, the Listing
> field, and any of its associations, comes back as empty objects.
>
> Example Call:
> http://openapi.etsy.com/v2/shops/haileyjeanscloset/transactions?fields=title,transaction_id&includes=Listing(MainImage)&limit=1&offset=0
>
> Response:
> {
>  "count": 8,
>  "results": [
>    {
>      "transaction_id": 54352981,
>      "title": "Crochet Newborn Hooded Cocoon",
>      "Listing": {
>        "MainImage": {}
>      }
>    }
>  ],
>  "params": {
>    "shop_id": "haileyjeanscloset",
>    "limit": "1",
>    "offset": "0"
>  },
>  "type": "Transaction"
> }
>
> --
> You received this message because you are subscribed to the Google Groups "Etsy API V2" group.
> To post to this group, send email to etsy-...@googlegroups.com.
> To unsubscribe from this group, send email to etsy-api-v2...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/etsy-api-v2?hl=en.
>
>

kevinyc

unread,
Jul 25, 2011, 3:17:26 PM7/25/11
to Etsy API V2
Hey Justin,

I realized after I submitted the post that I've mixed up my fields and
associations which was why it was returning blank. I don't think there
is actually any issues with it. My mistake.

Kevin

On Jul 25, 11:53 am, Justin Kerr Sheckler <jus...@etsy.com> wrote:
> Hi Kevin,
>
> I checked, and that listing is sold out (it's not displaying
> correctly, unfortunately.)  We'll take a look at the display issues.
>
> Reminder: the Transations.Listing association is misleading-- the
> original listing may be renewed, edited, etc., and may no longer
> accurately reflect that thing that was purchased.  The Transaction
> resource is a snapshot of the listing at the time it was purchased.
>
> Justin Kerr Sheckler
> Developer API Lead
> Etsy.com
> jus...@etsy.com
>
>
>
>
>
>
>
> On Sun, Jul 24, 2011 at 3:44 PM, kevinyc <kevi...@gmail.com> wrote:
> > The docs say that the Listing association in Transactions is public
> > but when I make a call using findAllShopTransaction, the Listing
> > field, and any of its associations, comes back as empty objects.
>
> > Example Call:
> >http://openapi.etsy.com/v2/shops/haileyjeanscloset/transactions?field...
Reply all
Reply to author
Forward
0 new messages