shopify-api-js icon indicating copy to clipboard operation
shopify-api-js copied to clipboard

Missing Cart type

Open davidkhierl opened this issue 3 years ago • 0 comments

Issue summary

Missing Cart type from rest-resource

Expected behavior

Should be included

Actual behavior

Not included on the rest-resource

Steps to reproduce the problem

  1. import { Cart } from '@shopify/shopify-api/dist/rest-resources/2022-07'

Reduced test case

The best way to get your bug fixed is to provide a reduced test case.


Checklist

  • [ ] I have described this issue in a way that is actionable (if possible)

davidkhierl avatar Aug 02 '22 17:08 davidkhierl

If this is the Cart you are referring to, it is part of the Storefront API, which only has a GraphQL interface.

The Rest Resources provided are for the Admin API.

mkevinosullivan avatar Sep 23 '22 19:09 mkevinosullivan