Autenticación Autorización Filtros Hardware Cashier Companies Documents Entities ExternalApps Fiscal Funds Notifications Products Shared Users

products resource

GET http://api.multinexo.com/v1/companies/{company_id}/products

Attributes

name
create, read, update StringFilter Sortable
saleable
create, read, update SaleableFilter Sortable
description
create, read, update
sku
create, read, update StringFilter Sortable
internal_code
create, read, update StringFilter Sortable
supplier_code
create, read, update StringFilter Sortable
conduct
create, read, update in [variant_parent, variant_common, compound, common] EnumFilter Sortable
product_type
create, read, update in [service, product] EnumFilter Sortable
duration
create, read, update integer
stock_type
create, read, update in [disabled, negative, positive] EnumFilter Sortable
replacement_cost
create, read, update numeric
stock
create, read numeric
stock_alert
create, read, update numeric
stock_alert_percent
create, read, update NumberFilter Sortable
stock_desired
create, read, update numeric
cost_with_tax
create, read, update
photo_url
read
category_id
create, read, update EnumFilter Sortable
high
create, read, update
width
create, read, update
length
create, read, update
weight
create, read, update
weight_element
create, read, update
units_per_package
create, read, update
units_per_box
create, read, update
deleted
create, read, update DeletedFilter Sortable
updated_at
create, read, update
allow_fractions
create, read, update
price
read
client_price_with_tax
read
subdist_price
read
prevent_price
read

Relationships

author
has one of type: author
category
has one of type: category
currency
has one of type: currency
compound_children
has one of type: compound_children
compound_parents
has one of type: compound_parents
futureprices
has one of type: futureprices
inventories
has one of type: inventories
measures
has one of type: measures
photos
has one of type: photos
pricelist_products
has one of type: pricelist_products
publications
has one of type: publications
suppliers
has one of type: suppliers
tax
has one of type: tax
variants_children
has one of type: variants_children
variant_parent
has one of type: variant_parent

Filter example

http://api.multinexo.com/v1/companies/{company_id}/products?filter[name]=someValue

JSON Resource Example

  {
    data: {
      type: products,
      id: 165,
      attributes: {
        name: someValue,
        saleable: someValue,
        description: someValue,
        sku: someValue,
        internal_code: someValue,
        supplier_code: someValue,
        conduct: someValue,
        product_type: someValue,
        duration: someValue,
        stock_type: someValue,
        replacement_cost: someValue,
        stock: someValue,
        stock_alert: someValue,
        stock_alert_percent: someValue,
        stock_desired: someValue,
        cost_with_tax: someValue,
        photo_url: someValue,
        category_id: someValue,
        high: someValue,
        width: someValue,
        length: someValue,
        weight: someValue,
        weight_element: someValue,
        units_per_package: someValue,
        units_per_box: someValue,
        deleted: someValue,
        updated_at: someValue,
        allow_fractions: someValue,
        price: someValue,
        client_price_with_tax: someValue,
        subdist_price: someValue,
        prevent_price: someValue
        },
      relationships: { 
         author:{
          id: 402,
          type: author
        },
      
         category:{
          id: 656,
          type: category
        },
      
         currency:{
          id: 740,
          type: currency
        },
      
         compound_children:{
          id: 726,
          type: compound_children
        },
      
         compound_parents:{
          id: 392,
          type: compound_parents
        },
      
         futureprices:{
          id: 478,
          type: futureprices
        },
      
         inventories:{
          id: 347,
          type: inventories
        },
      
         measures:{
          id: 984,
          type: measures
        },
      
         photos:{
          id: 183,
          type: photos
        },
      
         pricelist_products:{
          id: 125,
          type: pricelist_products
        },
      
         publications:{
          id: 442,
          type: publications
        },
      
         suppliers:{
          id: 385,
          type: suppliers
        },
      
         tax:{
          id: 425,
          type: tax
        },
      
         variants_children:{
          id: 431,
          type: variants_children
        },
      
         variant_parent:{
          id: 694,
          type: variant_parent
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/companies/{company_id}/products/{resource_id}

POST http://api.multinexo.com/v1/companies/{company_id}/products/

Special relationships

Si es un producto en particular, entonces.

pricelist_products hasMany

futureprices hasMany

Si el atributo conduct es variant_parent, entonces.

variants_children hasMany

Si el atributo conduct es variant_common, entonces.

variants_parents hasMany

compound_parents hasMany

Si el atributo conduct es compound, entonces.

compound_children hasMany

Si el atributo conduct es common, entonces.

compound_parents hasMany