appstract-software/magento-adapter

Module provides Magento 2 with missing features

1.2.89 2022-07-01 07:53 UTC

README

Version

This module provides Magento 2 with missing features.

Getting Started

Magento 2 docs

$ composer require appstract-software/magento-adapter
$ bin/magento module:enable Appstractsoftware_MagentoAdapter   # enable the module
$ bin/magento setup:upgrade                                    # upgrade Magento database schemas

Features

Custom REST API Endpoints

Product REST API

Category filters REST API

Wishlist REST API

Orders REST API

Payments REST API

Extension Attributes

Product price

Name: product_price

For class: \Magento\Catalog\Api\Data\ProductInterface

Example endpoints:

  • /rest/V1/products/:sku
  • /rest/V1/products?searchCriteria[...]

Example response:

  • Product without special price:
"extension_attributes": {
    "product_price": {
        "price": 60,
        "currency_price": "60,00 zł",
        "currency_symbol": ""
    }
}
  • Product with special price:
"extension_attributes": {
    "product_price": {
        "price": 32.53,
        "special_price": 32,
        "currency_price": "32,53 zł",
        "currency_special_price": "32,00 zł",
        "currency_symbol": ""
    },
}