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

orders resource

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

Attributes

net
create, read, update numeric
total
create, read, update numeric
observation
create, read, update
show_amounts
create, read, update boolean
discount_percent
create, read, update numeric
discount_amount
read numeric
pdf_url
read
letter
read
status
create, read, update in [confirmed, draft] EnumFilter Sortable
section
create, read, update in [sales, purchases] EnumFilter Sortable
receipt_type
create, read, update in [order_sell, order_buy] EnumFilter Sortable
receipt_volume
create, read, update integer NumberFilter Sortable
receipt_number
create, read, update integer NumberFilter Sortable
emission_date
create, read, update EmissionDateFilter Sortable
has_costs
read HasCostsFilter Sortable

Relationships

currency
has one of type: currency
entity
has one of type: entity
physicalpos
has one of type: physicalpos
details
has one of type: details
invoices
has one of type: invoices
quotations
has one of type: quotations
orders
has one of type: orders
cashier_entries
has one of type: cashier_entries
costs
has one of type: costs
seller
has one of type: seller

Filter example

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

JSON Resource Example

  {
    data: {
      type: orders,
      id: 478,
      attributes: {
        net: someValue,
        total: someValue,
        observation: someValue,
        show_amounts: true,
        discount_percent: someValue,
        discount_amount: someValue,
        pdf_url: someValue,
        letter: someValue,
        status: someValue,
        section: someValue,
        receipt_type: someValue,
        receipt_volume: someValue,
        receipt_number: someValue,
        emission_date: someValue,
        has_costs: someValue
        },
      relationships: { 
         currency:{
          id: 527,
          type: currency
        },
      
         entity:{
          id: 307,
          type: entity
        },
      
         physicalpos:{
          id: 679,
          type: physicalpos
        },
      
         details:{
          id: 793,
          type: details
        },
      
         invoices:{
          id: 531,
          type: invoices
        },
      
         quotations:{
          id: 681,
          type: quotations
        },
      
         orders:{
          id: 837,
          type: orders
        },
      
         cashier_entries:{
          id: 376,
          type: cashier_entries
        },
      
         costs:{
          id: 548,
          type: costs
        },
      
         seller:{
          id: 607,
          type: seller
        }
      }
    }
  }

JSON-API Entry points

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

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