Register product
title: Register a product¶
Register a new product in the calling issuer's catalog.
Alcance (scope): products:write · Características: —
Parámetros¶
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
name |
string | Sí | |
unit_price |
string | Sí | Decimal string, e.g. '199.00' |
clave_prod_serv |
string | Sí | SAT c_ClaveProdServ code |
clave_unidad |
string | Sí | SAT c_ClaveUnidad code |
description |
string | No | |
issuer |
string | Sí | Id of the issuer the call acts for, from list_issuers. |
Esquema de entrada (JSON Schema)¶
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"unit_price": {
"type": "string",
"description": "Decimal string, e.g. '199.00'"
},
"clave_prod_serv": {
"type": "string",
"description": "SAT c_ClaveProdServ code"
},
"clave_unidad": {
"type": "string",
"description": "SAT c_ClaveUnidad code"
},
"description": {
"type": "string"
},
"issuer": {
"type": "string",
"format": "uuid",
"description": "Id of the issuer the call acts for, from list_issuers."
}
},
"required": [
"name",
"unit_price",
"clave_prod_serv",
"clave_unidad",
"issuer"
]
}