Skip to main content
PUT
/
api
/
v1
/
:team_slug
/
:app_slug
/
smart-listings
/
:listing_id
Error
A valid request URL is required to generate request examples
{
  "data": {
    "created_at": "<string>",
    "id": "<string>",
    "rules": [
      {
        "operator": "less-than",
        "target": "stock",
        "id": "<string>",
        "target_id": "<string>",
        "value_float": 123,
        "value_list": [
          "<string>"
        ],
        "value_string": "<string>"
      }
    ],
    "slug": "<string>",
    "updated_at": "<string>"
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

app_slug
string
required

App slug

team_slug
string
required

Team slug

listing_id
string
required

id for the smart-listing to update

Body

application/json

smart-listing configuration

rules
object[]
required
slug
string
required

Response

smart-listing updated successfully

data
object
details
string[]

Other information which can be relative to the response. This field is used to give additional information then the main data we want to return. For instance if a product do not match the publishing rules will the product status be set to Incomplete and this field will include why

success
boolean