Actions119
- Products Actions
- Categories Actions
- Customers Actions
- Customer Groups Actions
- Agents Actions
- Contacts Actions
- Orders Actions
- Offers Actions
- Preorders Actions
- Payment Methods Actions
- Pricelists Actions
- Product Units Actions
- Product Types Actions
- Tags Actions
- Tag Types Actions
- Tax Rates Actions
- Reorder Reminders Actions
- Prospects Actions
- Activities Actions
- Statistics Actions
Customers → Attach Documents
AI-generatedSummary
Attach document asset IDs to a customer’s Documents list by sending them to the Shop API. The operation requires the customer ID and at least one asset ID; it is described as idempotent.
Inputs
- Id (required) — ID of the customer to update.
- Documents (required) — Asset IDs to attach, entered as a JSON array or a comma-separated list. Defaults to
[], but an empty list causes an error.
Output shape
A single API response item
Sends a POST request to the internal customer documents endpoint with the IDs in a
documentsarray. The returned item contains the API response, or an empty object if the response is nullish.