McMain icon

McMain

Interact with McMain API

Asset → Create Part

AI-generated

Summary

Create Part for an Asset via McMain API

Inputs

  • main (required) — Main trigger input

Output shape

main

Pass-through output matching the main input

Examples

Example 1: Create a single part entry for an asset

Provide the asset ID, the vendor's part ID, and the quantity. Optional request options (batching, proxy, timeout, SSL bypass) can be set via the requestOptions parameter.

Discussion