---
title: "deals.product-resolve-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/deals.product-resolve-request"
updated: null
---

# deals.product-resolve-request@1 · OpenVibe.Services

HTML: [deals.product-resolve-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/deals.product-resolve-request)

# DealsProductResolveRequest `deals.product-resolve-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: deals
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/deals/product-resolve-request.v1.json`](/docs/contracts/deals.product-resolve-request.json)

deals.product-resolve-request@1: the body of POST /api/v1/products/resolve on OpenVibe.Deals (deals.product.resolve): product aliases (gtin 8-14 digits, mpn, sku, url, name) to find the product by; with create (default true) a product is made when none matches (name then required, 2-200 characters).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `name` | string |  |  |  |
| `brand` | string \| null |  |  |  |
| `gtin` | string |  |  | - `pattern ^[0-9]{8,14}$` |
| `mpn` | string |  |  |  |
| `sku` | string |  |  |  |
| `url` | string |  |  |  |
| `category` | string \| null |  |  |  |
| `description` | string \| null |  |  |  |
| `create` | boolean |  |  |  |

## Examples

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

 Valid: gtin

~~~~
{
  "name": "Example 4K Capture",
  "brand": "Example",
  "gtin": "0123456789012"
}
~~~~

Rejected: bad-gtin

~~~~
{
  "gtin": "12AB"
}
~~~~

## Validate

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