# Create Catalog Product

**POST** `/{catalog-id}/batch`

Product: [WhatsApp](https://devdocs.pinnacle.in/docs/whatsapp.md)  
Version: [3.0](https://devdocs.pinnacle.in/docs/whatsapp/3-0.md)

This API is used to add a product in the given catalog id.

## Request

URL: `https://partnersv1.pinbot.ai/v3/{catalog-id}/batch`

Authentication location: `header`

Authentication name: `apikey`

### Request schema


```json
{
  "type": "object",
  "properties": {
    "raw_example": {
      "type": "string"
    }
  }
}
```

### Request example


```json
{
  "raw_example": "{\n\"requests\": [\n{\n\"method\": \"CREATE\",\n\"retailer_id\": \"product-06600\",\n\"data\": {\n\"availability\": \"in stock\",\n\"brand\": \"Reebok11\",\n\"category\": \"t-shirts\",\n\"description\": \"product yttfytdcgfc description\",\n\"image_url\":\n\"https:\n1df66729296a4c/teshirt_resize.jpeg\",\n\"name\": \"product changed name\",\n\"price\": 19999000,\n\"currency\": \"USD\",\n\"shipping\": [\n{\n\"country\": \"IND\",\n\n\"region\": \"DELHI\",\n\"service\": \"service\",\n\"price_value\": \"10000\",\n\"price_currency\": \"INR\"\n}\n],\n\"condition\": \"new\",\n\"url\":\n\"https:\n1df66729296a4c/image_nataraj.jpeg\",\n\"retailer_product_group_id\": \"product_default_group7248848229855971\"\n},\n\"applinks\": {\n\"android\": [\n{\n\"app_name\": \"Electronic Example Android\",\n\"package\": \"com.electronic\",\n\"url\": \"example-android:\n}\n],\n\"ios\": [\n{\n\"app_name\": \"Electronic Example iOS\",\n\"app_store_id\": 2222,\n\"url\": \"example-ios:\n}\n]\n}\n}\n]\n}"
}
```

## Response schema


```json
{
  "type": "object",
  "properties": {
    "raw_example": {
      "type": "string"
    }
  }
}
```

## Response examples


```json
{
  "200": {
    "raw_example": "{\n\n\"handles\": [\n\"AcxFXtihGo0y7Nk1p9uPq-9bZ7LVMEKoHYEVB8SyvxD1yoIQ7ZbQ7-rVUMJi_QGM5u\nY-prZus0inurwa-Th3oG1Z\"\n]\n}"
  }
}
```

## Status codes


```json
[
  {
    "code": 200,
    "description": "The request was successful."
  },
  {
    "code": 400,
    "description": "Bad request or invalid parameters."
  },
  {
    "code": 401,
    "description": "API key is missing or invalid."
  },
  {
    "code": 403,
    "description": "The request is not authorized for this resource."
  },
  {
    "code": 404,
    "description": "The requested resource was not found."
  },
  {
    "code": 500,
    "description": "The server encountered an error."
  }
]
```
