# Merchant Endpoints {#merchant-endpoints}


Manage merchants for product and inventory management.


## Base Path {#base-path}


```
/api/merchant
```


## Endpoints {#endpoints}



### List Merchants {#list-merchants}


```
GET /api/merchant
Authorization: Bearer {token}
```


### Create Merchant {#create-merchant}


```
POST /api/merchant
Authorization: Bearer {token}
```

```json
{
  "name": "Online Store",
  "code": "STORE-001",
  "email": "store@example.com",
  "description": "Primary online storefront",
  "active": true,
  "currency": "USD",
  "contact": {
    "firstName": "Jane",
    "lastName": "Smith",
    "phone": "+1234567890"
  }
}
```


### Get Merchant {#get-merchant}


```
GET /api/merchant/:id
Authorization: Bearer {token}
```


### Update Merchant {#update-merchant}


```
PUT /api/merchant/:id
Authorization: Bearer {token}
```


### Delete Merchant {#delete-merchant}


```
DELETE /api/merchant/:id
Authorization: Bearer {token}
```


### Add Products to Merchant {#add-products-to-merchant}


```
POST /api/merchant/:id/products
Authorization: Bearer {token}
```


## Related Pages {#related-pages}


- [Product Endpoints](https://sourcey-gauzy.pages.dev/api/product-endpoints/index.md) — products API
- [Warehouse Endpoints](https://sourcey-gauzy.pages.dev/api/warehouse-endpoints/index.md) — warehouses
- [Products & Inventory](https://sourcey-gauzy.pages.dev/features/products-and-inventory/index.md) — feature guide
