Connect the store
Tells Manova where the shop is (siteUrl) and where to send order lookups (apiUrl, on the same domain; Manova calls {apiUrl}/order). The shop's domain is added to the assistant's allowed domains. Connecting a different shop with the same key deletes the previous shop's products.
Guide: https://docs.manova.ir/store/product-sync
storeAuthorizationBearer <mnv_...>The store connection key from the assistant's «فروشگاه» section: mnv_<store>_<secret>.
application/json- body
siteUrl*stringurilength <= 255apiUrl*stringurilength <= 500currency?|length <= 12pluginVersion?|length <= 20wcVersion?|length <= 20wpVersion?|length <= 20application/json- response
publicKey*stringbotName*stringactive*booleanwidgetUrl*stringordersEnabled*booleanpanelUrl*stringproducts*integerinStock*integerlastSyncAt*string|nullcurl -X POST 'https://manova.ir/api/v1/external/store/connect' \ -H 'Content-Type: application/json' \ -d '{ "siteUrl": "http://example.com", "apiUrl": "http://example.com"}'{ "publicKey": "string", "botName": "string", "active": true, "widgetUrl": "string", "ordersEnabled": true, "panelUrl": "string", "products": 0, "inStock": 0, "lastSyncAt": "string"}Get the store connection GET
The connection as Manova sees it: the assistant's widget key, whether it is active, product counts and the last full sync. A good check that the key works.
Start or finish a full sync POST
`start` begins a full sync under your `syncId`; send the products with the same `syncId`, then `finish`, which removes every product the sync did not send. A newer `start` replaces the running sync; calls with the older `syncId` then get `409`.