Files
medusa-store/packages/medusa-js
Rares StefanandPhilip Korsholm 12d304307a feat(medusa-js, medusa-react, medusa): Prepare API for admin implementations (#3110)
********What********
Add `joinSalesChannels util to stock locations

Add the following endpoints to medusa-react
- inventory items
    - mutations
        - update
        - delete
        - update location level
        - delete location level
        - create location level
    - queries
        - list inventory items
        - get inventory item
        - list location levels
- Stock locations
    - mutations
        - create stock location
        - update stock location
        - delete stock location
    - queries
        - list stock locations
        - get stock locatoin
- Variants
    - queries
        - get inventory
- Reservations
    - mutations
        - create reservation
        - update reservation
        - delete reservation
    - queries
        - list reservations
        - get reservation
- sales channels 
  - mutations
    - associate location with sc
    - remove location association

**Why**
- Update clients to reflect new api endpoints in the core with inventory modules

Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
2023-02-16 08:49:48 +00:00
..
2023-02-14 17:30:40 +01:00
2023-02-14 17:30:40 +01:00

Medusa JS Client

Version

The Medusa JS Client provides easy access to the Medusa API from a client written in Typescript.

Documentation

You can learn more about how to install and use this client in our documentation.

To learn more about the API endpoints that this client allows you to access check out our API reference.