---
title: "coupons.merchant-manage-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/coupons.merchant-manage-request"
updated: null
---

# coupons.merchant-manage-request@1 · OpenVibe.Services

HTML: [coupons.merchant-manage-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/coupons.merchant-manage-request)

# CouponsMerchantManageRequest `coupons.merchant-manage-request@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: coupons
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/coupons/merchant-manage-request.v1.json`](/docs/contracts/coupons.merchant-manage-request.json)

coupons.merchant-manage-request@1: bodies of coupons.merchant.manage on OpenVibe.Coupons (staff or a service). POST /api/v1/merchants: { domains, name?, slug?, homepage\_url?, description?, status? } (at least one domain rule; a rule on a public suffix is refused; homepage\_url must be https; status pending, else active). POST /api/v1/merchants/:id/domains: one domain rule { host, include\_subdomains?, path\_prefix? } (a rule another merchant holds is 409). POST /api/v1/merchants/:id/status: { status: active | disabled }.

## Fields

This schema has no named fields.

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: create

~~~~
{
  "name": "Example Shoes",
  "homepage_url": "https://shoes.example.com/",
  "domains": [
    {
      "host": "shoes.example.com"
    }
  ]
}
~~~~

Valid: disable

~~~~
{
  "status": "disabled"
}
~~~~

Rejected: bad

~~~~
{
  "status": "paused",
  "domains": []
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('coupons.merchant-manage-request@1', value);   // { valid, errors: [{ path, message }] }
~~~~
