# Update the catalog entry

> Changes the editable fields of your catalog entry, such as the description and contacts.

Source: https://docs.tappay.mn/reference/catalog/update/

Changes the fields of your catalog entry that you may edit, such as the description, contacts and order switch. Send `null` to clear a field.

`PATCH /api/v1/catalog` Since 2026-09-27

### Authentication

Secret key (Bearer)

### Headers

| Name | Type | Required | Values | Description |
| - | - | - | - | - |
| `TapPay-Version` | string | no | | |
| `TapPay-Timestamp` | string | no | | |
| `TapPay-Nonce` | string | no | | |
| `TapPay-Signature` | string | no | | |

### Request body

| Name | Type | Required | Values | Description |
| - | - | - | - | - |
| `description` | string \| null | no | | |
| `contact_phone` | string \| null | no | | |
| `contact_email` | string \| null | no | | |
| `cover_url` | string \| null | no | | |
| `loyalty_info` | string \| null | no | | |
| `extra_category_ids` | array\<string> | no | | |
| `order_enabled` | boolean | no | | |
| `booking_enabled` | boolean | no | | |
| `paused` | boolean | no | | |

### Response 200

| Name | Type | Required | Values | Description |
| - | - | - | - | - |
| `success` | boolean | yes | `true` | |
| `data` | object | yes | | |
| `data.merchant_id` | string (uuid) | yes | | |
| `data.merchant_code` | string | yes | | |
| `data.status` | string | yes | `ACTIVE`, `PAUSED`, `INACTIVE` | |
| `data.missing` | array\<string> | yes | | |
| `data.name` | string \| null | yes | | |
| `data.merchant_name` | string \| null | yes | | |
| `data.brand_name` | string \| null | yes | | |
| `data.category_ids` | array\<string> | yes | | |
| `data.extra_category_ids` | array\<string> | yes | | |
| `data.description` | string \| null | yes | | |
| `data.contact_phone` | string \| null | yes | | |
| `data.registered_phone` | string \| null | yes | | |
| `data.contact_email` | string \| null | yes | | |
| `data.cover_url` | string \| null | yes | | |
| `data.logo_url` | string \| null | yes | | |
| `data.loyalty_info` | string \| null | yes | | |
| `data.catalog_paused` | boolean | yes | | |
| `data.order_enabled` | boolean | yes | | |
| `data.booking_enabled` | boolean | yes | | |
| `data.opt_out` | object \| null | yes | | |
| `data.opt_out.at` | string | yes | | |
| `data.opt_out.source` | string | yes | `MERCHANT`, `PARTNER`, `NODE` | |
| `data.blocked` | object \| null | yes | | |
| `data.blocked.at` | string | yes | | |
| `data.blocked.reason` | string \| null | yes | | |
| `data.owner_partner_id` | string \| null | yes | | |
| `data.version` | integer | yes | | |
| `data.synced_at` | string \| null | yes | | |
| `data.updated_at` | string \| null | yes | | |
| `data.locations` | array\<object> | yes | | |
| `data.locations[].location_id` | string (uuid) | yes | | |
| `data.locations[].name` | string | yes | | |
| `data.locations[].address` | string \| null | yes | | |
| `data.locations[].district` | string \| null | yes | | |
| `data.locations[].khoroo` | string \| null | yes | | |
| `data.locations[].location` | object \| null | yes | | |
| `data.locations[].location.lat` | number | yes | | |
| `data.locations[].location.lng` | number | yes | | |
| `data.locations[].is_head` | boolean | yes | | |
| `data.locations[].status` | string | yes | | |
| `data.locations[].visible` | boolean | yes | | |
| `data.locations[].hours` | unknown | no | | |
| `data.locations[].accepting_orders` | boolean | yes | | |
| `data.locations[].busy_until` | string \| null | yes | | |
| `data.locations[].prep_minutes` | integer \| null | yes | | |
| `data.locations[].order_terminal_id` | string \| null | yes | | |
| `data.locations[].order_handler` | string | yes | `NODE_COMMERCE`, `NODE_POS`, `MERCHANT_SYSTEM`, `MERCHANT_PORTAL` | |
| `data.locations[].fulfillment_modes` | array\<string> | yes | | |
| `data.offering_counts` | object | yes | | |

### Errors

| Code | Status | Message |
| - | - | - |
| [`AUTH-001`](https://docs.tappay.mn/errors.md#AUTH-001) | 401 | The API key is missing, invalid or revoked. |
| [`EVT-206`](https://docs.tappay.mn/errors.md#EVT-206) | 401 | Production keys are not accepted in the sandbox. Use a sandbox key (sk_test\_/pk_test\_). |
| [`EVT-207`](https://docs.tappay.mn/errors.md#EVT-207) | 401 | Sandbox keys are not accepted in production. Use a production key (sk_live\_/pk_live\_). |
| [`AUTH-018`](https://docs.tappay.mn/errors.md#AUTH-018) | 403 | The request came from an IP address that is not on the key's allowlist. |
| [`AUTH-058`](https://docs.tappay.mn/errors.md#AUTH-058) | 403 | The API key does not have the scope this operation requires. |
| [`SIG-002`](https://docs.tappay.mn/errors.md#SIG-002) | 401 | The request timestamp is outside the allowed time window. |
| [`SIG-003`](https://docs.tappay.mn/errors.md#SIG-003) | 401 | The request signature is missing or does not match. |
| [`SIG-005`](https://docs.tappay.mn/errors.md#SIG-005) | 409 | This request nonce was already used. |
| [`VAL-014`](https://docs.tappay.mn/errors.md#VAL-014) | 400 | The TapPay-Version header is not a known API version. |
| [`BIZ-004`](https://docs.tappay.mn/errors.md#BIZ-004) | 403 | The terminal is not active. |
| [`BIZ-005`](https://docs.tappay.mn/errors.md#BIZ-005) | 403 | The merchant account is not in a state that allows this request. |
| [`CAT-005`](https://docs.tappay.mn/errors.md#CAT-005) | 422 | A catalog field or offering is not valid. |
| [`CAT-008`](https://docs.tappay.mn/errors.md#CAT-008) | 404 | The catalog entry, location or offering was not found. |
| [`CAT-007`](https://docs.tappay.mn/errors.md#CAT-007) | 409 | The catalog entry was hidden by TapPay and cannot be resumed. |

Try it in the playground: https://docs.tappay.mn/reference/catalog/update/

```bash title="curl"
curl -sS -X PATCH "https://api.tappay.mn/api/v1/catalog" \
  -H "Authorization: Bearer sk_test_YOUR_SECRET_KEY" \
  -H "TapPay-Version: 2026-09-27" \
  -H "Content-Type: application/json" \
  -d '{"description":"Coffee and pastries","order_enabled":true}'
```

```js title="Node.js"
import { TapPay } from '@tappay-mn/node';

const tappay = new TapPay({ apiKey: 'sk_test_YOUR_SECRET_KEY' });
const result = await tappay.catalog.update({ body: { description: 'Coffee and pastries', order_enabled: true } });
console.log(JSON.stringify(result));
```

```php title="PHP"
<?php
require 'vendor/autoload.php';

use TapPay\TapPay;

$tappay = new TapPay(['apiKey' => 'sk_test_YOUR_SECRET_KEY']);
$result = $tappay->catalog->update(['body' => ['description' => 'Coffee and pastries', 'order_enabled' => true]]);
echo json_encode($result);
```

```python title="Python"
import json
import tappay

client = tappay.TapPay("sk_test_YOUR_SECRET_KEY")
result = client.catalog.update({"body": {"description": "Coffee and pastries", "order_enabled": True}})
print(json.dumps(result))
```

```json title="Response"
{
  "success": true,
  "data": {
    "merchant_id": "YOUR_MERCHANT_ID",
    "merchant_code": "M-SANDBOX-01",
    "status": "ACTIVE",
    "missing": [],
    "name": "Sandbox Cafe",
    "merchant_name": "Sandbox Cafe LLC",
    "brand_name": "Sandbox Cafe",
    "category_ids": [
      "FOOD_CAFE"
    ],
    "extra_category_ids": [],
    "description": "Coffee and pastries",
    "contact_phone": null,
    "registered_phone": "+97699000000",
    "contact_email": "shop@example.com",
    "cover_url": null,
    "logo_url": null,
    "loyalty_info": null,
    "catalog_paused": false,
    "order_enabled": true,
    "booking_enabled": false,
    "opt_out": null,
    "blocked": null,
    "owner_partner_id": null,
    "version": 4,
    "synced_at": "2026-10-03T08:15:00.000Z",
    "updated_at": "2026-10-03T08:15:00.000Z",
    "locations": [
      {
        "location_id": "0192f8a4-1b2c-7d3e-8f40-5a6b7c8d9f01",
        "name": "Main branch",
        "address": "Peace Avenue 1, Ulaanbaatar",
        "district": null,
        "khoroo": null,
        "location": {
          "lat": 47.9186,
          "lng": 106.9177
        },
        "is_head": true,
        "status": "ACTIVE",
        "visible": true,
        "hours": {
          "weekly": [
            {
              "day": 1,
              "open": "09:00",
              "close": "21:00"
            }
          ],
          "exceptions": [],
          "closures": []
        },
        "accepting_orders": true,
        "busy_until": null,
        "prep_minutes": 15,
        "order_terminal_id": "YOUR_TERMINAL_ID",
        "order_handler": "MERCHANT_SYSTEM",
        "fulfillment_modes": [
          "PICKUP"
        ]
      }
    ],
    "offering_counts": {
      "MERCHANT_SYSTEM": 2
    }
  }
}
```
