commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Custom-object → Create or update CustomObject

AI-generated

Summary

Create or update a custom object in a specified container with a given key and value in the commercetools platform.

Inputs

  • Container (required) — The container name under which the custom object will be created or updated.
  • Key (required) — The key of the custom object to create or update.
  • Value (required) — The value to set for the custom object.

Output shape

a single JSON object representing the created or updated custom object returned from the commercetools API

The output includes the JSON response from the commercetools API reflecting the custom object state after the operation.

Examples

Example 1: Create or update a custom object with container 'myContainer', key 'objectKey', and a string value 'myValue'.

Set 'Container' to 'myContainer', 'Key' to 'objectKey', and 'Value' to 'myValue'.

Links

Discussion