GET /{projectKey}/{resourceType}
Changed onThe view_audit_log:{projectKey} scope is required, and depending on the resource type queried, their respective scopes must be granted.
If the request exceeds the rate limit, a TooManyRequests error is returned.
Request
- Base URLhttps://history.europe-west1.gcp.commercetools.com
- AuthOAuth 2Client credentialsToken URLhttps://auth.europe-west1.gcp.commercetools.com/oauth/tokenScopesview_associate_roles:{projectKey}, view_audit_log:{projectKey}, view_business_units:{projectKey}, view_cart_discounts:{projectKey}, view_categories:{projectKey}, view_customers:{projectKey}, view_customer_groups:{projectKey}, view_discount_codes:{projectKey}, view_key_value_documents:{projectKey}, view_orders:{projectKey}, view_orders:{projectKey}:{storeKey}, view_payments:{projectKey}, view_products:{projectKey}, view_product_selections:{projectKey}, view_quotes:{projectKey}, view_quote_requests:{projectKey}, view_shipping_methods:{projectKey}, view_shopping_lists:{projectKey}, view_staged_quotes:{projectKey}, view_standalone_prices:{projectKey}, view_states:{projectKey}, view_stores:{projectKey}, view_tax_categories:{projectKey}, view_types:{projectKey}
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
offsetinteger
userIdstring
userIdsstring[]
resourceIdsstring[]
clientIdstring
customerIdstring
associateIdstring
businessUnitstring
typestring
resourceKeystring
source'MerchantCenter' | 'ImpEx' | 'ApiClient'
changesstring[]
storesstring[]
excludePlatformInitiatedChangesPlatform Initiated Change[]
expandboolean
withTotalboolean
Response
Records of the resource under query.
Changes
- info
added the new optional
queryrequest parameterresourceIds - info
added the new optional
queryrequest parameteruserIds
- info
- breaking
the response property
became optional for the status - info
added the new optional
queryrequest parameterwithTotal
- breaking