API
Image Recognition API
OOS reason
allows setting an out of stock reason for sku in a scene optionally, confirmation images can be provided images must be pre loaded into the system via /uploads https //docs eyrene com/uploads#ou post uploads or /uploads by url https //docs eyrene com/uploads#qa post uploadsuploadsbyurl { "tab" "request", "url" "https //instance name/api/v1 5/oos reason", "name" "request example", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "optional", "name" "authorization", "type" "string", "description" "string in \\"token xxxxxx \\" format " } ], "bodydataparameters" \[ { "kind" "optional", "name" "sku gid", "type" "string", "description" "global id that identifies sku that has an oos reason " }, { "kind" "optional", "name" "scene", "type" "string", "description" "scene uuid that identifies sku that has an oos reason " }, { "kind" "optional", "name" "reason", "type" "string", "description" "oos reason text " }, { "kind" "optional", "name" "message", "type" "string", "description" "error description " }, { "kind" "optional", "name" "images", "type" "object", "description" "list of image ids for processing images are used to confirm out of stock reasons images must be pre loaded into the system via /uploads or /uploads by url " } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "lngdm8arn9f2dt 1gurey", "code" "{\n \\"oos reason id\\" 11234\n}", "language" "200", "customlabel" "" } ], "selectedlanguageid" "lngdm8arn9f2dt 1gurey" }, "examples" { "languages" \[ { "id" "jhsbcd6jywvmmz9lyid j", "code" "curl –i –x get\n https //test inspector cloud com/api/v1 5/oos reason/ \n h ‘authorization token 39fbb6e9 fbf9 459a 9e1b 416dbcf51875e’\n f \\"images=\[156673, 156674, 156675, 156676]\\" \\\\\n f \\"sku gid=13\\" \\\\\n f \\"reason=out of stock\\" \\\\\n f \\"scene=4d8b66992cd841f6922723afe9bd8cf8\\" \\\\\n f \\"message=borjomi was not recognized \\"", "language" "curl", "customlabel" "" } ], "selectedlanguageid" "jhsbcd6jywvmmz9lyid j" }, "description" "post /oos reason", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } response definitions ​ https //help inspector cloud com/en/docs/api/backend/methods/v1 5/oos reason#response definitions oos reason id string the id of the saved oos reason request