action api2cart_cart_script_add { label: "CartScriptAdd" description: "Add new script to the storefront" provider: api2cart method: POST path: "/cart.script.add.json" encoding: json input: { type: "object" properties: { description: { type: "string" } html: { type: "string" } load_method: { type: "string" } name: { type: "string" } scope: { type: "string" } src: { type: "string" } store_id: { type: "string" } } additionalProperties: false } output: { type: "object" properties: { result: { type: "object" properties: { script_id: { type: "string" } } } return_code: { type: "integer" } return_message: { type: "string" } } } }