younifyd
Menu

project

The current project's settings — languages, currencies, countries, zones, external OAuth, carts/messages configuration.

Use it in a workflow

  1. Add a step and choose the Commercetools connector.
  2. Pick the project action (under Project).
  3. Fill in the fields below, then reference the result from later steps as {{project.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query Project {
  project {
    key
    name
    languages
    trialUntil
    carts {
      deleteDaysAfterLastModification
      allowAddingUnpublishedProducts
      countryTaxRateFallbackEnabled
      totalPriceDiscountDoesNotReduceExternalTax
      taxRoundingMode
      priceRoundingMode
    }
    shoppingLists {
      deleteDaysAfterLastModification
    }
    version
    externalOAuth {
      url
      authorizationHeader
    }
    searchIndexing {
      products {
        status
        lastModifiedBy
        lastModifiedAt
      }
      orders {
        status
        lastModifiedBy
        lastModifiedAt
      }
      customers {
        status
        lastModifiedBy
        lastModifiedAt
      }
      businessUnits {
        status
        lastModifiedBy
        lastModifiedAt
      }
    }
    messages {
      enabled
      deleteDaysAfterCreation
    }
    countries
    currencies
    shippingRateInputType {
      type
    }
    createdAt
    discounts {
      productVsCartDiscountCombination
      discountCombinationMode
    }
    inventory {
      reservationExpirationInMinutes
      releaseExpiredReservations
    }
    productCatalogModel
  }
}

Response

Read the result with {{project.response.data.data.project}}. If the API returns errors, the step fails and they are at {{project.response.data.errors}}.

keystring
namestring
languagesarray<string>
trialUntilstring
cartsobject
deleteDaysAfterLastModificationnumber
allowAddingUnpublishedProductsboolean
countryTaxRateFallbackEnabledboolean
totalPriceDiscountDoesNotReduceExternalTaxboolean
taxRoundingModestring

One ofHalfDownHalfEvenHalfUp

priceRoundingModestring

One ofHalfDownHalfEvenHalfUp

shoppingListsobject
deleteDaysAfterLastModificationnumber
versionstring
externalOAuthobject
urlstring
authorizationHeaderstring
searchIndexingobject
productsobject3 fields
ordersobject3 fields
customersobject3 fields
businessUnitsobject3 fields
messagesobject
enabledboolean
deleteDaysAfterCreationnumber
countriesarray<string>
currenciesarray<string>
shippingRateInputTypeobject
typestring
createdAtstring
discountsobject
productVsCartDiscountCombinationstring

One ofStackingBestDeal

discountCombinationModestring

One ofStackingBestDeal

inventoryobject
reservationExpirationInMinutesnumber
releaseExpiredReservationsboolean
productCatalogModelstring

One ofClassicModular

Need more? See the Commercetools guide for connection setup and behaviour shared by every action.

Was this page helpful?