Merchandising Seller Tools Working with Images Working with Translations Working with Variations Working with Inventory
Working With Resources
Each resource type contains a number of fields; those with the visibility level of "public" are available through both the public and private entry points, those with the visibility level "private" are only available through the private entry point.
In addition, you can control which fields are returned using the standard parameter
(Note: only the fields you explicitly request will be returned. This applies to all fields including IDs.)
Each resource has one or more associations that can be included using the standard includes parameter:
Multiple associations can be separated with commas:
In addition, associations can specify limit/offset parameters. The following example loads only the first image (limit 1, offset 0:)
You can also specify which fields of an association are returned:
Finally, associations can be nested up to three levels deep, using slashes:
Scopes define a subset of resources according to a condition. For instance, the "active" scope of listings specifies that the "state" field of each listing must be "active" (these are listings that are still for sale on Etsy and are not sold our or expired.)
Scopes are typically appended to the resource name in a URL:
Scopes can also be used when including associations, and can be combined with limit/offset parameters:
For reference, here's the complete Association inclusion syntax. Elements in
[square brackets] are optional.