Skip to content

Commit 28c6fc7

Browse files
committed
docs: Added add and change product image docs
1 parent 9688dbc commit 28c6fc7

File tree

1 file changed

+119
-0
lines changed

1 file changed

+119
-0
lines changed

src/swagger.json

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11913,6 +11913,7 @@
1191311913
"deprecated": false
1191411914
}
1191511915
},
11916+
1191611917
"/send-catalog-link": {
1191711918
"post": {
1191811919
"tags": ["Catalog"],
@@ -12028,10 +12029,128 @@
1202812029
},
1202912030
"deprecated": false
1203012031
}
12032+
},
12033+
"/change-product-image": {
12034+
"post": {
12035+
"tags": ["Catalog"],
12036+
"summary": "Change a product image",
12037+
"description": "Change a image product on whatsapp business account.",
12038+
"operationId": "ChangeProductImage",
12039+
"parameters": [],
12040+
"requestBody": {
12041+
"description": "",
12042+
"content": {
12043+
"application/json": {
12044+
"schema": {
12045+
"$ref": "#/components/schemas/ChangeProductImageRequest"
12046+
},
12047+
"example": {
12048+
"id": "5798635556858xxx",
12049+
"base64": "data:image/png;base64,.........."
12050+
}
12051+
}
12052+
},
12053+
"required": true
12054+
},
12055+
"responses": {
12056+
"200": {
12057+
"description": "OK",
12058+
"headers": {},
12059+
"content": {}
12060+
},
12061+
"400": {
12062+
"description": "Bad Request",
12063+
"headers": {},
12064+
"content": {}
12065+
},
12066+
"401": {
12067+
"description": "Unauthorized",
12068+
"headers": {},
12069+
"content": {}
12070+
}
12071+
},
12072+
"deprecated": false
12073+
}
12074+
},
12075+
"/add-product-image": {
12076+
"post": {
12077+
"tags": ["Catalog"],
12078+
"summary": "Add a product image",
12079+
"description": "Add a image product on whatsapp business account.",
12080+
"operationId": "AddProductImage",
12081+
"parameters": [],
12082+
"requestBody": {
12083+
"description": "",
12084+
"content": {
12085+
"application/json": {
12086+
"schema": {
12087+
"$ref": "#/components/schemas/AddProductImageRequest"
12088+
},
12089+
"example": {
12090+
"id": "5798635556858xxx",
12091+
"base64": "data:image/png;base64,.........."
12092+
}
12093+
}
12094+
},
12095+
"required": true
12096+
},
12097+
"responses": {
12098+
"200": {
12099+
"description": "OK",
12100+
"headers": {},
12101+
"content": {}
12102+
},
12103+
"400": {
12104+
"description": "Bad Request",
12105+
"headers": {},
12106+
"content": {}
12107+
},
12108+
"401": {
12109+
"description": "Unauthorized",
12110+
"headers": {},
12111+
"content": {}
12112+
}
12113+
},
12114+
"deprecated": false
12115+
}
1203112116
}
1203212117
},
1203312118
"components": {
1203412119
"schemas": {
12120+
"AddProductImageRequest": {
12121+
"title": "AddProductImageRequest",
12122+
"required": ["id", "base64"],
12123+
"type": "object",
12124+
"properties": {
12125+
"id": {
12126+
"type": "string"
12127+
},
12128+
"base64": {
12129+
"type": "string"
12130+
}
12131+
},
12132+
"example": {
12133+
"id": "5798635556858xxx",
12134+
"base64": "data:image/png;base64,.........."
12135+
}
12136+
},
12137+
"ChangeProductImageRequest": {
12138+
"title": "ChangeProductImageRequest",
12139+
"required": ["id", "base64"],
12140+
"type": "object",
12141+
"properties": {
12142+
"id": {
12143+
"type": "string"
12144+
},
12145+
"base64": {
12146+
"type": "string"
12147+
}
12148+
},
12149+
"example": {
12150+
"id": "5798635556858xxx",
12151+
"base64": "data:image/png;base64,.........."
12152+
}
12153+
},
1203512154
"resultadocomsucessodacriaçãodotoken": {
1203612155
"title": "resultadocomsucessodacriaçãodotoken",
1203712156
"required": ["status", "session", "token", "full"],

0 commit comments

Comments
 (0)