MoySklad icon

MoySklad

Consume the MoySklad JSON API

Actions5

Entity → Update

AI-generated

Summary

Updates a selected MoySklad entity by ID using a PUT request. Choose the entity type, then provide its ID and a request body as entity-specific fields or raw JSON; the response is returned as n8n items.

Inputs

  • Entity (required) — Select Assortment, Counterparty, Customer Order, Demand, Invoice Out, Organization, Processing Plan, Production Task, Product, Sales Channel, Service, Store, or Supply.
  • ID (required) — MoySklad entity ID to update.
  • Body Input Mode (required) — Choose Fields to build a body from the selected entity’s available fields, or Raw JSON to provide the request body as a JSON object. Defaults to Fields.
  • Entity fields or JSON Body — Fields depend on entity type and are included in the request only when supplied. They cover common details and entity-specific values such as prices, addresses, document positions, or production data. JSON array fields are parsed as arrays; for collection fields documented as replacing existing data on update, supplying them replaces that collection. Raw JSON lets you send fields not exposed in the form.

Output shape

One or more n8n items containing the MoySklad response data.

Object responses produce one item; array responses produce one item per element. If Continue On Fail is enabled, a failed input item instead produces an item with an error message.

Links

Discussion