commercetools-api-reference
commercetools-api-reference copied to clipboard
commercetools API reference documentation
As a follow-up on [this](https://jira.commercetools.com/browse/PRC-2455) ticket and part of this [story](https://jira.commercetools.com/browse/SEA-37). Adds docs for some embedded price events from this [PR](https://github.com/commercetools/sphere-backend/pull/9965).
The ProductChangeSlugUpdateAction for example has the staged attribute. This should be set by default to False. I quickly read through the raml specs again and it seems it support defining...
I also ran into the following issue: the FieldDefinition.type points to object instead of FieldType. This makes serializing/deserializing with auto generated code impossible. See https://github.com/commercetools/commercetools-api-reference/blob/5b98b89d93a96149213b435f2c6f48c3bd056fb1/types/type/FieldDefinition.raml#L10 According to the file it...
Currently in `api-specs/api/traits/errorable.raml` the 404 response is missing a body description. During code generation this causes the [Go code generator](https://github.com/commercetools/rmf-codegen/blob/main/languages/go/src/main/kotlin/io/vrap/codegen/languages/go/client/MethodRenderer.kt#L309) to skip generating a typed error for a ResourceNotFound response,...
According the the spec and [docs](https://docs.commercetools.com/api/projects/messages#inventoryentry-created) the `inventoryEntry` field of the `InventoryEntryCreated` message should contain an [InventoryEntry](https://docs.commercetools.com/api/projects/inventory#inventoryentry). The messages API instead returns the following structure (didn't check the format in...
## Context This PR adds new auth API queries as described here: https://docs.commercetools.com/api/authorization. These additions allow developers to perform the protected `me` queries.