Skip to main content
The Adobe Commerce GraphQL connector lets your workflows interact with a Magento 2 / Adobe Commerce store via the GraphQL API. Best for storefront operations: product catalog browsing, cart and checkout flows, and customer self-service. Returns only the fields you request.
For admin/back-office operations like order management, inventory updates, shipments, and invoices, use the Adobe Commerce REST connector instead, which covers the full Magento admin API surface.
For the full API reference, see the Adobe Commerce GraphQL API documentation.

Connection setup

1

Create an Integration in Magento Admin

Go to System → Integrations → Add New Integration. Give it a name (e.g., “Spojit”) and configure the API tab to grant access to the resources your workflows need.
2

Activate and copy the tokens

Click Activate on the integration. Copy the Access Token. This is a permanent token that works until revoked.
3

Add the connection in Spojit

Go to Connections in Spojit, click Add Connection, select Adobe Commerce GraphQL, and enter:
  • Base URL: Your store URL (e.g., https://mystore.com)
  • Access Token: The integration access token
  • Store Code (optional): Defaults to default

Tools

Catalog

Search term.
string
Filter by category UID.
number
Minimum price filter.
number
Maximum price filter.
number
default:"20"
Results per page.
number
default:"1"
Page number.
string
Custom GraphQL fields for product items; use GraphQL field syntax including nested selections (e.g., sku name price_range { minimum_price { final_price { value currency } } }). If omitted, returns: uid, sku, name, type_id, stock_status, price_range, small_image, short_description, categories, url_key.
Example request:
Example response:
string
required
Product SKU.
Example request:
Example response:
string
Parent category UID to filter children.
string
Filter categories by name.
Example request:
Example response:
number
required
Category ID.
number
default:"20"
Products per page.
number
default:"1"
Product page number.
Example request:
Example response:

Cart & Checkout

Creates an empty cart and returns the cart ID. No parameters required.Example response:
string
required
Cart ID.
array
required
Array of { sku, quantity } objects.
Example request:
Example response:
string
required
Cart ID.
Example request:
Example response:
string
required
Cart ID.
object
required
Address object with firstname, lastname, street, city, region, regionId, postcode, countryCode, telephone.
Example request:
Example response:
string
required
Cart ID.
string
required
Carrier code (e.g., flatrate).
string
required
Method code (e.g., flatrate).
Example request:
Example response:
Sets the payment method and places the order.
string
required
Cart ID.
string
required
Payment method code (e.g., checkmo).
Example request:
Example response:

Customer

string
required
First name.
string
required
Last name.
string
required
Email address.
string
required
Password.
Example request:
Example response:
Get the profile of the currently authenticated customer. Requires a customer token.Example response:
string
First name.
string
Last name.
string
Email.
string
Date of birth (YYYY-MM-DD).
number
Gender: 1 = Male, 2 = Female, 3 = Not Specified.
boolean
Newsletter subscription.
Example request:
Example response:
string
required
Customer email.
string
required
Customer password.
Example request:
Example response:

Store & CMS

Returns store name, locale, currency, base URLs, and other settings.Example response:
string
required
CMS page identifier (e.g., home, about-us).
Example request:
Example response:
Returns a list of all available countries with regions.Example response:

Advanced

Execute any Adobe Commerce GraphQL query or mutation not covered by other tools.See the Adobe Commerce GraphQL reference for the full schema.
string
required
GraphQL query or mutation string.
object
Variables object for the query.
Example request:
Example response: