Menu
project
The current project's settings — languages, currencies, countries, zones, external OAuth, carts/messages configuration.
Use it in a workflow
- Add a step and choose the Commercetools connector.
- Pick the project action (under Project).
- 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.
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}}.
Need more? See the Commercetools guide for connection setup and behaviour shared by every action.
Was this page helpful?