Skip to content

About

Laravel Shopper Types definitions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

Repository files navigation

Shopper Logo

Shopper Types definitions

TypeScript types derived from the OpenAPI Spec (OAS) to be used in API clients for Shopper.

Install

npm install @shopper/types
# or
yarn add @shopper/types

Usage

import type { Product, Order, Customer } from '@shopper/types'

const product: Product = {
  id: 1,
  name: 'My Product',
  slug: 'my-product',
  // ...
}

Available Types

Models

  • Product
  • ProductVariant
  • Category
  • Brand
  • Collection
  • Order
  • OrderItem
  • Customer
  • Address
  • Inventory
  • Discount
  • Review
  • Channel
  • Currency
  • PaymentMethod
  • Attribute
  • AttributeValue
  • Media

Enums

  • ProductType
  • CollectionType
  • CollectionCondition
  • AddressType
  • GenderType
  • Weight
  • Length
  • Volume

Common Interfaces

  • Entity
  • DateEntity
  • Price
  • ShippingFields
  • SEOFields

About

Laravel Shopper Types definitions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages