POST /inventory-feed-variant-connections.json
POST
/inventory-feed-variant-connections.json
Body Required
-
action string | null
Action
Values are
connected
ordisconnected
. -
inventoryFeedVariantId integer(int32) Required
Inventory feed variant
-
scope string | null Required
Scope
Values are
automated
,manual
, orunknown
. Default value isunknown
.
POST /inventory-feed-variant-connections.json
curl \
-X POST http://api.example.com/v1/inventory-feed-variant-connections.json \
-H "Content-Type: application/json" \
-d '{"action":"connected","inventoryFeedVariantId":42,"scope":"unknown","value":{}}'
Request example
{
"action": "connected",
"inventoryFeedVariantId": 42,
"scope": "unknown",
"value": {}
}
Response examples (200)
{
"action": "connected",
"createdAt": "2023-05-04T09:42:00+00:00",
"id": 42,
"inventoryFeedVariantId": 42,
"scope": "unknown",
"updatedAt": "2023-05-04T09:42:00+00:00",
"value": {}
}