{"id":115867,"plugin_id":"plugin_asdk_app_6aeb3527d6a08191847ee52dc00d517b","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:14:57.068Z","digest":"c7a6190ccb78c7a3ed703913882baec91664127329c3189f114a5b081fe11080","against":null,"payload":{"description":"Manage an Easync account through the Easync User API. Create eBay listings using product IDs from Amazon, AliExpress, or Walmart. Track listing batches, review and publish drafts, view order details, and update order notes. Use when the user asks to list products on eBay, check the status of a listing batch, approve or reject drafts, look up orders, or update order notes.","included_files":[],"name":"Easync User API","skill_md_contents":"---\nname: Easync User API\ndescription: Manage an Easync account through the Easync User API. Create eBay listings using product IDs from Amazon, AliExpress, or Walmart. Track listing batches, review and publish drafts, view order details, and update order notes. Use when the user asks to list products on eBay, check the status of a listing batch, approve or reject drafts, look up orders, or update order notes.\n---\n\n# Easync User API\n\neasync lists products from source marketplaces (Amazon, AliExpress, Walmart) on the seller's\neBay (or Shopify/WooCommerce) stores, reprices them and fulfils orders. This API gives access\nto one easync account.\n\n- Base URL: `https://my.easync.io/api/v1`\n- Auth header: `Authorization: Bearer <token>`. The token starts with `es_` and is created by\nthe user in easync: Account → Preferences → API & MCP. Read it from an environment variable\n(e.g. `EASYNC_API_TOKEN`); never print it or store it in files.\n- Full reference (all fields and schemas): `https://my.easync.io/openapi/easync-user-api-v1.yaml`.\n- MCP: if the `easync` MCP server is connected (`https://my.easync.io/api/mcp`, with the same\ntoken in the `Authorization` header or through the OAuth sign-in that clients such as ChatGPT\nand Claude start automatically), prefer its tools - they map 1:1 to the endpoints below\n(`list_stores`, `create_listings`, `get_listing_batch`, `list_listing_batch_items`,\n`approve_listing_items`, `approve_listing_batch`, `reject_listing_items`, `list_orders`,\n`search_orders`, `get_order`, `update_order_notes`, ...) and follow the same rules.\n- Start with `GET /me` to see which scopes the token has. A missing scope returns\n`403 insufficient_scope`; the user must create a new token with that scope (scopes cannot be\nadded to an existing token).\n\n## Conventions\n\n- JSON responses: `{\"data\": ...}`, lists add `nextCursor` (pass it as `cursor`; `null` = last page).\n- Errors: `{\"error\": {\"code\": \"...\", \"message\": \"...\"}}`.\n- Prices are decimals in the given currency (`{\"amount\": 8.49, \"currency\": \"USD\"}`); dates are ISO 8601 UTC.\n- Rate limit: 120 requests/minute per token. On `429` wait `Retry-After` seconds.\n\n## Creating listings (scopes `listings:read`, `listings:write`)\n\n1. `GET /stores` - pick the store. Check `active`, `activeListings`, `plan` (account listings\n\n   limit/usage) and `ebaySellingLimits` (remaining eBay quantity/amount). Do not submit to a\n    store with `active: false`.\n2. `POST /stores/{storeId}/listing-requests`:\n   ```json\n    {\"source\": \"amazon_us\", \"mode\": \"draft\", \"productIds\": [\"B09KLZNXRH\"], \"addVariants\": false, \"name\": \"optional batch name\"}\n   ```\n   - `source`: `amazon_us|uk|de|fr|it|es|ca|au` (ASINs, 10 chars), `aliexpress_us|uk`,\n   `walmart_us` (numeric IDs). Send IDs, never URLs.\n   - `mode`: `publish` = easync publishes automatically after parsing (items with problems\n   stay as drafts); `draft` = everything stops as a draft for review.\n   - Up to 500 IDs per request, 5000 accepted IDs per account per UTC day.\n   - Response `202`: `batchId`, `accepted`, `acceptedProductIds`, `skipped[{productId, reason}]`.\n   `200` with `batchId: null` means every ID was skipped.\n3. Track: `GET /listing-batches/{batchId}` returns `counts` by status. Poll every few minutes;\n\n   parsing takes minutes. Done when `processing` and `publishing` are 0.\n4. Review: `GET /listing-batches/{batchId}/items?status=draft` - each item has `title`,\n\n   `price`, `profit`, `quantity`, `errors[]`.\n5. Act on drafts:\n   - `POST /listing-batches/{batchId}/approve` - publish all ready drafts of the batch;\n   - `POST /listing-requests/approve` `{\"ids\": [...]}` - publish selected items (max 500);\n   - `POST /listing-requests/reject` `{\"ids\": [...]}` - discard selected drafts.\n    The response lists `approved`/`rejected` IDs and `skipped[{id, reason}]`.\n\nItem statuses: `processing` (parsing / pricing / about to auto-publish), `draft` (waits for\napprove or reject; `errors` explain a failed publish attempt), `publishing`, `published`\n(`target.productId` = eBay item ID), `failed` (product could not be parsed, nothing to approve),\n`rejected`.\n\nSkip reasons on submit: `invalid_product_id`, `duplicate_in_request`, `already_listed` (an\nactive listing of this product exists in this store, or in another eBay store of the account),\n`already_in_progress` (submitted to this store within 7 days and not finished). Skipped IDs do\nnot count towards the daily limit. Do not resubmit them; `failed` and `rejected` products may\nbe submitted again later.\n\nSkip reasons on approve: `not_ready` (price or variation data missing - fix in the app or\nreject), `not_draft`, `already_publishing`, `already_published`, `already_rejected`, `failed`,\n`store_disabled`, `plan_limit_reached`, `not_found`.\n\n### Rules\n\n- Confirm with the user before `mode: publish`, `approve` or `reject` on more than a handful of\nitems: these create or discard real eBay listings.\n- Pace submissions per store (e.g. a fixed number per day) instead of sending everything at\nonce; new eBay accounts have low selling limits and listings above them fail at publish time.\n- Errors `plan_limit_reached` (403), `store_inactive` / `store_disabled` (400) need user action\nin easync; report them instead of retrying. `daily_limit_reached` (429) resets at 00:00 UTC.\n\n## Orders (scopes `orders:read`, `orders.source:read`, `orders.notes:write`)\n\n- `GET /orders?store=&status=&autoOrderState=&soldAfter=&soldBefore=&limit=&cursor=` - newest first.\n- `GET /orders/search?ebayOrderId=23-15210-10870` or `?sourceOrderId=113-7921422-2976214`.\n- `GET /orders/{id}`, `GET /orders/{id}/source-orders` (needs `orders.source:read`).\n- `PUT /orders/{id}/notes` `{\"text\": \"...\", \"mode\": \"append\"}` (`append` default, or `replace`;\ntext up to 2000 chars, notes up to 10000).\n\n## Example\n\n```bash\ncurl -s -X POST -H \"Authorization: Bearer $EASYNC_API_TOKEN\" -H \"Content-Type: application/json\" \\\n  -d '{\"source\":\"amazon_us\",\"mode\":\"draft\",\"productIds\":[\"B09KLZNXRH\",\"B0FXBH3HN5\"]}' \\\n  https://my.easync.io/api/v1/stores/<storeId>/listing-requests\n```\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}