Sign in

Update frontend script

documented

Update frontend script.

PUT /3dCartWebAPI/v1/FrontendScripts/{scriptId}Frontend Scriptsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/FrontendScripts/{{$frontendscriptid}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "SecureURL: {{SHIFT4SHOP_SECURE_URL}}" \
  -H "PrivateKey: {{SHIFT4SHOP_PRIVATE_KEY}}" \
  -H "Token: {{SHIFT4SHOP_TOKEN}}" \
  -d '{"FrontendScriptID": {{$frontendscriptid}}, "Placement": "{{$placement}}", "Code": "{{$code}}", "DateCreated": "{{$datecreated}}", "LastUpdate": "{{$lastupdate}}"}'
Update frontend script · Shift4Shop · OpenIntegrations