Nyehandel
  1. Product
Nyehandel
  • Introduction
  • Getting started
  • Webhooks
  • Filtering
  • API Reference
  • Order
    • Get order
      GET
    • Get orders
      GET
    • Create order
      POST
    • Deliver order
      POST
    • Get delivery notes
      GET
  • Shipping Method
    • Get Shipping methods
      GET
  • Product
    • Relation between products and variants
    • Get products
      GET
    • Update products batch
      PUT
    • Create products batch
      POST
    • Create product
      POST
    • Update product
      PUT
    • Create variant
      POST
    • Find product by sku or id
      GET
    • Delete product
      DELETE
  • Variant
    • Update variant batch
      PUT
    • Update variant
      PUT
    • Delete product variant
      DELETE
    • Find variant
      GET
  • Payment Method
    • Get Payment methods
      GET
  • Customer
    • Get Customer
    • Get Customers
    • Create Customer
  • Category
    • Create category
    • Update category
    • Get category
    • Delete category
    • Get categories
  • Currency
    • Get currencies
  • Headless
    • Pages
      • Get Page
      • Get Pages
    • Categories
      • Get Pages
      • Get Category
    • Startpage
    • System
  1. Product

Relation between products and variants

A product always has one or more variants.
The product contains the general data, that is shared by all the variants. Such as name, description, slug, relations to categories, brand, supplier, and so on.
The variant contains variant specific data, that might differ between variants. For instance if you have a product with 3 variants of different sizes, the sku will differ, perhaps the weight, prices, stock, gtin, and so on.
When receiving products via the API, all the available variants will be included in the response as well.
Modified at 2024-12-04 08:06:48
Previous
Get Shipping methods
Next
Get products
Built with