---
updatedAt: 2026-04-10T21:20:23.000Z
---

# Policies & Locations

# Policies & Locations

***

## Seller Programs

Before you can create policies, your account must be enrolled in `SELLING_POLICY_MANAGEMENT`.

| Method | Path                              | Description                | API Reference                                      |
| ------ | --------------------------------- | -------------------------- | -------------------------------------------------- |
| GET    | `/api/v1/policies/sellerPrograms` | Check enrollment status    | [ref](https://docs.ecartapi.com/reference/get_all_sellerprograms_policies_ebay_v1) |
| POST   | `/api/v1/policies/sellerPrograms` | Enroll in a seller program | [ref](https://docs.ecartapi.com/reference/create_sellerprogram_policies_ebay_v1)   |

```json
POST /api/v1/policies/sellerPrograms
{
  "policy": {
    "programType": "SELLING_POLICY_MANAGEMENT"
  }
}
```

***

## Fulfillment Policies

Defines shipping methods, handling time, and service options. Required when publishing any offer.

| Method | Path                                                       | Description                     | API Reference                                                  |
| ------ | ---------------------------------------------------------- | ------------------------------- | -------------------------------------------------------------- |
| GET    | `/api/v1/policies/fulfillments/{marketplaceId}`            | List all fulfillment policies   | [ref](https://docs.ecartapi.com/reference/get_single_fulfillment_policies_ebay_v1)             |
| GET    | `/api/v1/policies/fulfillments/{marketplaceId}/{policyId}` | Get a single fulfillment policy | [ref](https://docs.ecartapi.com/reference/get_single_marketplace_fulfillment_policies_ebay_v1) |
| POST   | `/api/v1/policies/fulfillments/{marketplaceId}`            | Create a fulfillment policy     | [ref](https://docs.ecartapi.com/reference/create_fulfillment_policies_ebay_v1)                 |

***

## Payment Policies

| Method | Path                                                   | Description                 | API Reference                                              |
| ------ | ------------------------------------------------------ | --------------------------- | ---------------------------------------------------------- |
| GET    | `/api/v1/policies/payments/{marketplaceId}`            | List all payment policies   | [ref](https://docs.ecartapi.com/reference/get_single_payment_policies_ebay_v1)             |
| GET    | `/api/v1/policies/payments/{marketplaceId}/{policyId}` | Get a single payment policy | [ref](https://docs.ecartapi.com/reference/get_single_marketplace_payment_policies_ebay_v1) |
| POST   | `/api/v1/policies/payments/{marketplaceId}`            | Create a payment policy     | [ref](https://docs.ecartapi.com/reference/create_payment_policies_ebay_v1)                 |

***

## Returns Policies

| Method | Path                                                  | Description                 | API Reference                                        |
| ------ | ----------------------------------------------------- | --------------------------- | ---------------------------------------------------- |
| GET    | `/api/v1/policies/returns/{marketplaceId}`            | List all returns policies   | [ref](https://docs.ecartapi.com/reference/get_single_return_policies_ebay_v1)        |
| GET    | `/api/v1/policies/returns/{marketplaceId}/{policyId}` | Get a single returns policy | [ref](https://docs.ecartapi.com/reference/get_single_policy_return_policies_ebay_v1) |
| POST   | `/api/v1/policies/returns/{marketplaceId}`            | Create a returns policy     | [ref](https://docs.ecartapi.com/reference/create_return_policies_ebay_v1)            |

> **Policies are per marketplace.** A fulfillment policy created for `EBAY_US` cannot be used when publishing an offer on `EBAY_GB`. Create a separate set of policies for each marketplace you operate in.

***

## Locations

Locations define where inventory is stored and shipped from. At least one location is required to publish any offer.

| Method | Path                                      | Description           | API Reference                          |
| ------ | ----------------------------------------- | --------------------- | -------------------------------------- |
| GET    | `/api/v2/locations`                       | List all locations    | [ref](https://docs.ecartapi.com/reference/get_all_locations_ebay_v2)   |
| GET    | `/api/v2/locations/{merchantLocationKey}` | Get a single location | [ref](https://docs.ecartapi.com/reference/get_single_location_ebay_v2) |
| POST   | `/api/v2/locations`                       | Create a location     | [ref](https://docs.ecartapi.com/reference/create_location_ebay_v2)     |
| DELETE | `/api/v2/locations/{merchantLocationKey}` | Delete a location     | [ref](https://docs.ecartapi.com/reference/delete_location_ebay_v2)     |

The `merchantLocationKey` you assign at creation becomes the location's **permanent ID**. Choose a descriptive, unique value (e.g., `WAREHOUSE-US-01`).

**Minimal create payload:**

```json
POST /api/v2/locations
{
  "location": {
    "merchantLocationKey": "WAREHOUSE-US-01",
    "location": {
      "address": {
        "addressLine1": "123 Main St",
        "city": "Los Angeles",
        "stateOrProvince": "CA",
        "postalCode": "90001",
        "country": "US"
      }
    },
    "locationTypes": ["WAREHOUSE"],
    "name": "Main Warehouse"
  }
}
```

***

## Categories

Use categories to assign the correct eBay category when creating products or offers. The `marketplaceId` parameter is **required** for all category endpoints.

| Method | Path                                                           | Description                           | API Reference                                   |
| ------ | -------------------------------------------------------------- | ------------------------------------- | ----------------------------------------------- |
| GET    | `/api/v2/categories?marketplaceId=EBAY_US`                     | Get the full category tree            | [ref](https://docs.ecartapi.com/reference/get_all_categories_ebay_v2)           |
| GET    | `/api/v2/categories/{id}?marketplaceId=EBAY_US`                | Get a category subtree                | [ref](https://docs.ecartapi.com/reference/get_single_category_ebay_v2)          |
| GET    | `/api/v2/categories/{id}/aspects?marketplaceId=EBAY_US`        | Get category aspects (item specifics) | [ref](https://docs.ecartapi.com/reference/get_all_categories_aspects_ebay_v2)   |
| GET    | `/api/v2/categories/{id}/aspects/{name}?marketplaceId=EBAY_US` | Get a single aspect                   | [ref](https://docs.ecartapi.com/reference/get_single_categories_aspect_ebay_v2) |

### Category Aspects (Item Specifics)

Aspects are the required or recommended item specifics for each category (e.g., Brand, Color, Material). Some aspects are **mandatory** — products without required aspects may fail to publish.

Filter to only required aspects:

```
GET /api/v2/categories/{categoryId}/aspects?marketplaceId=EBAY_US&required=true
```