Skip to content

Update Inbound Connector

Request

Updates configuration fields of an existing inbound connector. All fields are optional — only the provided fields are updated. The app_id cannot be changed after creation.

Security
sessionAuth
Path
orgIdstringrequired
inboundIdstringrequired
Bodyapplication/jsonrequired
namestringrequired

Display name for the inbound connector

Example:"My SAP Inbound"
activeboolean

Whether the connector is active

Default:true
alertobject(InboundAlert)required
integration_failure_thresholdinteger

Number of failures before an alert is sent

Default:1
sync_to_prodboolean

Whether to sync imported products directly to production

Default:false
multiple_skuobject
map_inbound_dataobject

Field mapping configuration for inbound data

attributes_alertArray of objects

Alert rules for specific attributes

callback_alertobject

Webhook callback configuration for alerts

custom_error_fieldsArray of strings

Fields to include in error reports

curl -i -X PATCH \
  'https://api.aipim.fynd.com/service/panel/integrations/v2.0/org/{orgId}/inbound/{inboundId}' \
  -H 'Content-Type: application/json' \
  -b cc.session=YOUR_API_KEY_HERE \
  -d '{
    "name": "My SAP Inbound",
    "active": true,
    "alert": {
      "type": "role",
      "role": [
        "string"
      ],
      "user_group": [
        "string"
      ],
      "members": [
        "string"
      ]
    },
    "integration_failure_threshold": 1,
    "sync_to_prod": false,
    "multiple_sku": {
      "flag": true,
      "jsonata": "string"
    },
    "map_inbound_data": {
      "sku_code": {},
      "category_tree_id": {},
      "parent_child": {},
      "variant": {},
      "product_label": {}
    },
    "attributes_alert": [
      {}
    ],
    "callback_alert": {},
    "custom_error_fields": [
      "string"
    ]
  }'

Responses

Inbound connector updated successfully

Bodyapplication/json
messagestring
Example:"Inbound Updated Successfully"
dataobject(InboundResponse)
Response
{ "message": "Inbound Updated Successfully", "data": { "_id": "64a1f2b3c4d5e6f7a8b9c0d1", "name": "My SAP Inbound", "active": true, "app_id": 0, "org_id": "string", "alert": { … }, "integration_failure_threshold": 0, "sync_to_prod": true, "multiple_sku": {}, "map_inbound_data": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }