Download the PHP package mageworx/module-giftcards-graphql without Composer

On this page you can find all versions of the php package mageworx/module-giftcards-graphql. 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-giftcards-graphql

MageWorx_GiftCardsGraphQl

GraphQL API module for Mageworx Magento 2 Gift Cards extension.

Installation

1) Installation using composer (from packagist)

2) Copy-to-paste method

How to use

1. The mwGiftCardInfo query returns the information about the Gift Cards.

Query attribute is defined below:

By default you can use the following attributes:

MwGiftCardBalance object:

Request:

Response:

2. The applyMwGiftCardToCart mutation allows you to add any Gift Card to the cart.

Syntax:

The ApplyMwGiftCardToCartInput object must contain the following attributes:

The ApplyMwGiftCardToCartOutput object contains the Cart object.

Cart object:

AppliedMwGiftCards object

MwGiftCardBalance object

Request:

Response:

3. The removeMwGiftCardFromCart mutation allows you to remove Gift Card in the cart.

Syntax:

The RemoveMwGiftCardToCartInput object must contain the following attributes:

The RemoveMwGiftCardFromCartOutput object contains the Cart object.

Cart object:

AppliedMwGiftCards object

MwGiftCardBalance object

Request:

Response:

4. Gift Card product

This request allows you to retrieve the information about Mageworx Gift card product.

MageWorxGiftCards implements ProductInterface. The MageWorxGiftCards object contains the following attributes:

MageWorxGiftCardAdditionalPrice attributes

MageWorxGiftCardCustomerGroup attribute

Request:

Response:

5. MageWorxGiftCardsCartItem implementation

The MageWorxGiftCardsCartItem object implements CartItemInterface. The MageWorxGiftCardsCartItem object contains the following attributes:

Request:

Response:

6. The addGiftCardProductsToCart mutation allows you to add any Gift Card Product to the cart.

Syntax:

The AddGiftCardProductsToCartInput object must contain the following attributes:

GiftCardProductCartItemInput object:

GiftCardProductOptionsInput object:

The AddGiftCardProductsToCartOutput object contains the Cart object:

Request:

Response:


All versions of module-giftcards-graphql with dependencies

PHP Build Version
Package Version
Requires mageworx/module-giftcardsbase Version >= 2.8.2
magento/module-catalog Version >= 102.0.0 < 105
magento/module-ui Version >= 100.1.0
magento/framework Version >=102.0.0 <104
magento/module-quote-graph-ql Version >= 100.3.2 < 100.5
magento/module-url-rewrite-graph-ql Version >= 100.4.2 < 100.5
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 mageworx/module-giftcards-graphql contains the following files

Loading the files please wait ....