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

products resource

GET https://api.multinexo.comcompanies/{company_id}/products

Attributes

description
create, read, update
duration
create, read, update integer
stock_alert
create, read, update numeric
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
updated_at
create, read, update
allow_fractions
create, read, update
price
read
client_price_with_tax
read
subdist_price
read
prevent_price
read
name
create, read, update StringFilter Sortable
saleable
create, read, update SaleableFilter Sortable
sku
create, read, update StringFilter Sortable
internal_code
create, read, update StringFilter Sortable
supplier_code
create, read, update StringFilter Sortable
conduct
create, read, update enum (variant_parent, variant_common, compound, common) EnumFilter Sortable
product_type
create, read, update enum (service, product) EnumFilter Sortable
replacement_cost
create, read, update numeric
stock_type
create, read, update enum (disabled, negative, positive) EnumFilter Sortable
stock_alert_percent
create, read, update NumberFilter Sortable
stock
create, read numeric
deleted
create, read, update DeletedFilter Sortable

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

https://api.multinexo.comcompanies/{company_id}/products?filter[category_id]=someValue

JSON Resource Example

  {
    data: {
      type: products,
      id: 393,
      attributes: {
        description: someValue,
        duration: someValue,
        stock_alert: 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,
        updated_at: someValue,
        allow_fractions: someValue,
        price: someValue,
        client_price_with_tax: someValue,
        subdist_price: someValue,
        prevent_price: someValue,
        name: someValue,
        saleable: someValue,
        sku: someValue,
        internal_code: someValue,
        supplier_code: someValue,
        conduct: someValue,
        product_type: someValue,
        replacement_cost: someValue,
        stock_type: someValue,
        stock_alert_percent: someValue,
        stock: someValue,
        deleted: someValue
        },
      relationships: { 
         author:{
          id: 336,
          type: author
        },
      
         category:{
          id: 952,
          type: category
        },
      
         currency:{
          id: 245,
          type: currency
        },
      
         compound_children:{
          id: 698,
          type: compound_children
        },
      
         compound_parents:{
          id: 521,
          type: compound_parents
        },
      
         futureprices:{
          id: 774,
          type: futureprices
        },
      
         inventories:{
          id: 907,
          type: inventories
        },
      
         measures:{
          id: 966,
          type: measures
        },
      
         photos:{
          id: 353,
          type: photos
        },
      
         pricelist_products:{
          id: 414,
          type: pricelist_products
        },
      
         publications:{
          id: 656,
          type: publications
        },
      
         suppliers:{
          id: 604,
          type: suppliers
        },
      
         tax:{
          id: 633,
          type: tax
        },
      
         variants_children:{
          id: 888,
          type: variants_children
        },
      
         variant_parent:{
          id: 972,
          type: variant_parent
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET https://api.multinexo.comcompanies/{company_id}/products/{resource_id}

POST https://api.multinexo.comcompanies/{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