add products
This commit is contained in:
@@ -63,6 +63,37 @@
|
||||
"CRM"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/products/{id}": {
|
||||
"get": {
|
||||
"operationId": "CRM_GetProduct",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/crmProductRsp"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/runtimeError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"CRM"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
@@ -190,6 +221,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"crmProductRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"product": {
|
||||
"$ref": "#/definitions/crmProduct"
|
||||
}
|
||||
}
|
||||
},
|
||||
"crmProperty": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user