{"repo":"7underlines/v-shopware-api-client","free":true,"listed":false,"github":"https://github.com/7underlines/v-shopware-api-client","clone":"git clone https://github.com/7underlines/v-shopware-api-client.git","description":"The reliable way to import/update/export a bazillion products of your Shopware 6 shop.","language":"V","stars":26,"topics":["v","ecommerce","shopware","shopware6","api-client","api","rest-api"],"license":"AGPL-3.0","category":"api-integrations-sdks","readme_excerpt":"V Shopware 6 admin API client This is a pure V module that can be used to communicate with Shopware 6. Important : Functions like sync upsert() will make several API calls. V comes with a version of mbedtls that will throw errors such as response does not start with HTTP/ if the API doesn't respond immediately. To work around this, always compile using -d use openssl . V OpenSSL Requires at least Shopware version 6.4. Shopware Admin API credentials can be generated in the shopware backend (Settings- System- Integrations). Shopware 6 Admin API Endpoint Reference Shopware 6 Developer Documentation I recommend to configure the api credentials via .env - take a look at my dotenv module. Features + built-in oauth token renewal + useful helper functions for file upload and search Why V + can handle big imports that may take several hours + parallel processing + errors during compile time Installation Install and use this module as a dependency via v.mod (recommended) Run \"v init\" to auto-generate your v.mod file. Then edit the dependencies in your v.mod file to look like this: And install with: To update your dependencies later just run \"v install\" again. Or via VPM: Or through Git: Running the examples Fill in your api credentials in the code placeholders an then run. Example This example gets products from the admin api and prints out their product ids. Module documentation Contents - date time - decode - encode - strip - Attributes - Category - ConfiguratorSetting - CustomField ","default_branch":null,"files":null,"tree":[],"storefront":"/r/7underlines","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/7underlines/v-shopware-api-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}