Download the PHP package mageworx/module-multifees-graphql without Composer
On this page you can find all versions of the php package mageworx/module-multifees-graphql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mageworx/module-multifees-graphql
More information about mageworx/module-multifees-graphql
Files in mageworx/module-multifees-graphql
Package module-multifees-graphql
Short Description MageWorx Multi Fees GraphQl
License OSL-3.0 AFL-3.0
Informations about the package module-multifees-graphql
MageWorx_MultiFeesGraphQl
GraphQL API module for Mageworx Magento 2 Multi Fees extension.
Installation
1) Installation using composer (from packagist)
- Execute the following command:
composer require mageworx/module-multifees-graphql
2) Copy-to-paste method
- Download this module and upload it to the
app/code/MageWorx/MultiFeesGraphQl
directory (create "MultiFeesGraphQl" first if missing)
How to use
Add cart fees to the shopping cart
addMwCartFeesToCart mutation is used to add Cart Fees to the shopping cart.
Syntax
addMwCartFeesToCart(input: AddMwFeesToCartInput): AddMwFeesToCartOutput
The AddMwFeesToCartInput object may contain the following attributes:
The MwFeeDataInput object may contain the following attributes:
The AddMwFeesToCartOutput object contains the Cart object.
Request:
Response:
Add shipping fees to the shopping cart
addMwShippingFeesToCart mutation is used to add Shipping Fees to the shopping cart.
Syntax
addMwShippingFeesToCart(input: AddMwFeesToCartInput): AddMwFeesToCartOutput
The requiest is similar to the mutation of addMwCartFeesToCart.
Add payment fees to the shopping cart.
addMwPaymentFeesToCart mutation is used to add Payment Fees to the shopping cart.
Syntax
addMwPaymentFeesToCart(input: AddMwFeesToCartInput): AddMwFeesToCartOutput
The requiest is similar to the mutation of addMwCartFeesToCart.
Add product fees to the shopping cart
addMwProductFeesToCart mutation is used to add Product Fees to the shopping cart.
Syntax
addMwProductFeesToCart(input: AddMwProductFeesToCartInput): AddMwFeesToCartOutput
The AddMwProductFeesToCartInput object may contain the following attributes:
Request:
Response:
Additional data in Cart object
The following attributes for Cart are added:
MwAppliedFee attributes:
MwAppliedFeeOption attributes:
MwAppliedProductFee attributes:
MwFee attributes:
MwFeeOption attributes:
MwProductFee attributes:
Request:
Response:
Additional data in ProductInterface
The following attribute for ProductInterface is added:
Request:
Response:
Additional data in CartItemInterface
The following attribute for CartItemInterface is added:
Request:
Response:
Additional data in StoreConfig object
The following attributes for StoreConfig are added:
Request:
Response: