Download the PHP package dealer4dealer/module-substituteorders without Composer

On this page you can find all versions of the php package dealer4dealer/module-substituteorders. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-substituteorders

Dealer4Dealer Substitute Orders

Replace default Magento orders in frontend. So orders from an external source will also be displayed in the grid. Substitute orders support:

Events hooked in

API

The substitute order module uses the Magento 2 REST API for CRUD operations on Order, Invoice and Shipment.

Orders

Json data structure

{
    "order_id": "string",
    "invoice_ids": [
        0
    ],
    "magento_order_id": "string",
    "magento_customer_id": "string",
    "external_customer_id": "string",
    "ext_order_id": "string",
    "base_grandtotal": "string",
    "base_subtotal": "string",
    "grandtotal": "string",
    "subtotal": "string",
    "po_number": "string",
    "state": "string",
    "shipping_method": "string",
    "shipping_address": {
      "orderaddress_id": "string",
      "firstname": "string",
      "middlename": "string",
      "lastname": "string",
      "prefix": "string",
      "suffix": "string",
      "company": "string",
      "street": "string",
      "postcode": "string",
      "city": "string",
      "country": "string",
      "telephone": "string",
      "fax": "string",
      "additional_data": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    },
    "billing_address": {
      "orderaddress_id": "string",
      "firstname": "string",
      "middlename": "string",
      "lastname": "string",
      "prefix": "string",
      "suffix": "string",
      "company": "string",
      "street": "string",
      "postcode": "string",
      "city": "string",
      "country": "string",
      "telephone": "string",
      "fax": "string",
      "additional_data": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    },
    "payment_method": "string",
    "base_discount_amount": "string",
    "discount_amount": "string",
    "order_date": "string",
    "base_tax_amount": "string",
    "tax_amount": "string",
    "base_shipping_amount": "string",
    "shipping_amount": "string",
    "items": [
      {
        "orderitem_id": "string",
        "order": "string",
        "order_id": "string",
        "invoice_id": "string",
        "name": "string",
        "sku": "string",
        "base_price": "string",
        "price": "string",
        "base_row_total": "string",
        "row_total": "string",
        "base_tax_amount": "string",
        "tax_amount": "string",
        "qty": "string",
        "additional_data": [
          {
            "key": "string",
            "value": "string"
          }
        ],
        "base_discount_amount": "string",
        "discount_amount": "string"
      }
    ],
    "magento_increment_id": "string",
    "updated_at": "string",
    "additional_data": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "attachments": [
      {
        "file_data": "string",
        "name": "string"
      }
    ]
}

Create order

Update order

Delete Order

Get Order

Get Order by magento_order_id

Get Order by ext_order_id

Invoices

Json data structure

{
    "invoice_id": "string",
    "order_ids": [
        0
    ],
    "magento_invoice_id": "string",
    "ext_invoice_id": "string",
    "po_number": "string",
    "magento_customer_id": "string",
    "base_tax_amount": "string",
    "base_discount_amount": "string",
    "base_shipping_amount": "string",
    "base_subtotal": "string",
    "base_grandtotal": "string",
    "tax_amount": "string",
    "discount_amount": "string",
    "shipping_amount": "string",
    "subtotal": "string",
    "grandtotal": "string",
    "invoice_date": "string",
    "state": "string",
    "magento_increment_id": "string",
    "additional_data": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "items": [
      {
        "invoiceitem_id": "string",
        "invoice_id": "string",
        "order_id": "string",
        "name": "string",
        "sku": "string",
        "base_price": "string",
        "price": "string",
        "base_row_total": "string",
        "row_total": "string",
        "base_tax_amount": "string",
        "tax_amount": "string",
        "qty": "string",
        "additional_data": [
          {
            "key": "string",
            "value": "string"
          }
        ],
        "base_discount_amount": "string",
        "discount_amount": "string"
      }
    ],
    "shipping_address": {
      "orderaddress_id": "string",
      "firstname": "string",
      "middlename": "string",
      "lastname": "string",
      "prefix": "string",
      "suffix": "string",
      "company": "string",
      "street": "string",
      "postcode": "string",
      "city": "string",
      "country": "string",
      "telephone": "string",
      "fax": "string",
      "additional_data": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    },
    "billing_address": {
      "orderaddress_id": "string",
      "firstname": "string",
      "middlename": "string",
      "lastname": "string",
      "prefix": "string",
      "suffix": "string",
      "company": "string",
      "street": "string",
      "postcode": "string",
      "city": "string",
      "country": "string",
      "telephone": "string",
      "fax": "string",
      "additional_data": [
        {
          "key": "string",
          "value": "string"
        }
      ],
      "attachments": [
         {
           "file_data": "string",
           "name": "string"
         }
      ]
    }
}

Create invoice

Update invoice

Delete invoice

Get invoice

Shipments

Json data structure

{
    "shipment_id": "string",
    "ext_shipment_id": "string",
    "customer_id": "string",
    "order_id": "string",
    "invoice_id": "string",
    "shipment_status": "string",
    "increment_id": "string",
    "created_at": "string",
    "updated_at": "string",
    "name": "string",
    "tracking": [
      {
        "carrier_name": "string",
        "code": "string",
        "url": "string"
      }
    ],
    "additional_data": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "attachments": [
       {
         "file_data": "string",
         "name": "string"
       }
    ],
    "items": [
      {
        "shipmentitem_id": "string",
        "shipment_id": "string",
        "row_total": "string",
        "price": "string",
        "weight": "string",
        "qty": "string",
        "sku": "string",
        "name": "string",
        "description": "string",
        "additional_data": [
          {
            "key": "string",
            "value": "string"
          }
        ]
      }
    ],
    "shipping_address": {
      "orderaddress_id": "string",
      "firstname": "string",
      "middlename": "string",
      "lastname": "string",
      "prefix": "string",
      "suffix": "string",
      "company": "string",
      "street": "string",
      "postcode": "string",
      "city": "string",
      "country": "string",
      "telephone": "string",
      "fax": "string",
      "additional_data": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    },
    "billing_address": {
      "orderaddress_id": "string",
      "firstname": "string",
      "middlename": "string",
      "lastname": "string",
      "prefix": "string",
      "suffix": "string",
      "company": "string",
      "street": "string",
      "postcode": "string",
      "city": "string",
      "country": "string",
      "telephone": "string",
      "fax": "string",
      "additional_data": [
        {
          "key": "string",
          "value": "string"
        }
      ]
    }
}  

Create shipment

Update shipment

Delete shipment

Get shipment

Attachments

Json data structure

Create Attachment

Update Attachment

Delete Attachment

Get Attachment

Examples

Attachments

Base64encoded of an test PDF file

Example Call - POST Add Single Attachment

Example Call - PUT Add attachments to order


All versions of module-substituteorders with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dealer4dealer/module-substituteorders contains the following files

Loading the files please wait ....