TypeScript types derived from the OpenAPI Spec (OAS) to be used in API clients for Shopper.
npm install @shopper/types
# or
yarn add @shopper/typesimport type { Product, Order, Customer } from '@shopper/types'
const product: Product = {
id: 1,
name: 'My Product',
slug: 'my-product',
// ...
}ProductProductVariantCategoryBrandCollectionOrderOrderItemCustomerAddressInventoryDiscountReviewChannelCurrencyPaymentMethodAttributeAttributeValueMedia
ProductTypeCollectionTypeCollectionConditionAddressTypeGenderTypeWeightLengthVolume
EntityDateEntityPriceShippingFieldsSEOFields