---
name: buy-marketing-api
description: "Buy Marketing API skill. Use when working with Buy Marketing for merchandised_product. Covers 1 endpoint."
version: 1.0.0
generator: lapsh
---

# Buy Marketing API
API version: v1_beta.2.0

## Auth
OAuth2

## Base URL
https://api.ebay.com/buy/marketing/v1_beta

## Setup
1. Configure auth: OAuth2
2. GET /merchandised_product -- this method returns an array of products based on the category and metric specified. this includes details of the product, such as the ebay product id (epid), title, and user reviews and ratings for the product. you can use the epid returned by this method in the browse api search method to retrieve items for this product. restrictions  to test  getmerchandisedproducts in sandbox, you must use category id 9355 and the response will be mock data.     for a list of supported sites and other restrictions, see api restrictions.
3. Explore available endpoints below

## Endpoints
1 endpoint across 1 group. See references/api-spec.lap for full details.

### Merchandised_product
| Method | Path | Description |
|--------|------|-------------|
| GET | /merchandised_product | This method returns an array of products based on the category and metric specified. This includes details of the product, such as the eBay product ID (EPID), title, and user reviews and ratings for the product. You can use the epid returned by this method in the Browse API search method to retrieve items for this product. Restrictions  To test  getMerchandisedProducts in Sandbox, you must use category ID 9355 and the response will be mock data.     For a list of supported sites and other restrictions, see API Restrictions. |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all merchandised_product?" -> GET /merchandised_product
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Paginated endpoints accept limit/offset or cursor parameters
- Error responses include status codes and descriptions in the spec

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
