Autenticación Hardware Companies Documents Entities Fiscal Founds Products Shared Users

futureprices resource

GET http://api.multinexo.com/v1/futureprices

Attributes

replacement_cost
create, read, update
date_from
create, read, update datetimew3c
date_to
create, read, update datetimew3c
activated
create, read, update
company_id
create, read, update
fortype
create, read, update cost(default)|promotion
stock_end
create, read, update
sold_units
create, read, update
product_id
create
created_at
read datetimew3c
updated_at
read datetimew3c
deleted_at
read datetimew3c

Relationships

products
has many
pricelist_products
has many

JSON Resource Example

  {
    data: {
      type: futureprices,
      id: 228,
      attributes: {
        replacement_cost: someValue,
        date_from: 2018-08-28T16:31:47+00:00,
        date_to: 2018-08-28T16:31:47+00:00,
        activated: someValue,
        company_id: someValue,
        fortype: someValue,
        stock_end: someValue,
        sold_units: someValue,
        product_id: someValue,
        created_at: 2018-08-28T16:31:47+00:00,
        updated_at: 2018-08-28T16:31:47+00:00,
        deleted_at: 2018-08-28T16:31:47+00:00
        },
      relationships: { 
        products:{
          id: 561,
          type: products
        },
      
        pricelist_products:{
          id: 683,
          type: pricelist_products
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/futureprices/{futureprices_id}

POST http://api.multinexo.com/v1/futureprices/

Special entry points

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

Observacion Se elimina la relación con company ya que esta información se envía en el token.