Socket
Socket
Sign inDemoInstall

@shopware-pwa/shopware-6-client

Package Overview
Dependencies
Maintainers
2
Versions
832
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-pwa/shopware-6-client

Rest API client for Shopware 6.


Version published
Weekly downloads
672
increased by30.99%
Maintainers
2
Weekly downloads
 
Created
Source

API client for Shopware 6

See compatibility with Shopware 6 in our docs

Installing

Using yarn:

$ yarn add @shopware-pwa/shopware-6-client

Usage example

A simple example of how to use API client to connect with your Shopware instance.

In main project file setup connection informations.

import { setup } from "@shopware-pwa/shopware-6-client";

setup({
  endpoint: "https://address-to-my-shopware-instance.com",
  accessToken: "myaccesstoken",
});

And then anywhere in your project, you can use API Client methods:

import { getCategories } from "@shopware-pwa/shopware-6-client"

// later in component

async mounted() {
  this.categories = await getCategories();
}

FAQs

Package last updated on 03 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc