|
11913 | 11913 | "deprecated": false
|
11914 | 11914 | }
|
11915 | 11915 | },
|
| 11916 | + |
11916 | 11917 | "/send-catalog-link": {
|
11917 | 11918 | "post": {
|
11918 | 11919 | "tags": ["Catalog"],
|
@@ -12028,10 +12029,128 @@
|
12028 | 12029 | },
|
12029 | 12030 | "deprecated": false
|
12030 | 12031 | }
|
| 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 | + } |
12031 | 12116 | }
|
12032 | 12117 | },
|
12033 | 12118 | "components": {
|
12034 | 12119 | "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 | + }, |
12035 | 12154 | "resultadocomsucessodacriaçãodotoken": {
|
12036 | 12155 | "title": "resultadocomsucessodacriaçãodotoken",
|
12037 | 12156 | "required": ["status", "session", "token", "full"],
|
|
0 commit comments