FlxpointAPI Help CenterBeta

Update Source

posthttps://api.flxpoint.com/source/{sourceId}/auto-create-products-and-listings

Use this when you want to create source data through the API.

๐Ÿ”‘ X-API-TOKENโฑ 2 req/sToken: Account ยท Source ยท Channel

This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.

Update settings for a source that control the automatic creation of products and listings.

This endpoint requires account level privileges

Request

Bodyapplication/json
enabledboolean
productMappingTemplateIdinteger
productBuilderIdinteger
autoPublishListingsboolean
channelsarray[SourceAutoCreateProductsAndListingsChannel]
enabledbooleanrequired
channelIdintegerrequired
mappingTemplateIdinteger

Example request

post/source/{sourceId}/auto-create-products-and-listings
curl -X POST "https://api.flxpoint.com/source/{sourceId}/auto-create-products-and-listings" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
         "enabled": true,
         "productMappingTemplateId": 0,
         "productBuilderId": 0,
         "autoPublishListings": true,
         "channels": [
           {
             "enabled": true,
             "channelId": 0,
             "mappingTemplateId": 0
           }
         ]
       }'
Example body ยท application/json
{
  "enabled": true,
  "productMappingTemplateId": 0,
  "productBuilderId": 0,
  "autoPublishListings": true,
  "channels": [
    {
      "enabled": true,
      "channelId": 0,
      "mappingTemplateId": 0
    }
  ]
}

Responses

200OKapplication/json
enabledboolean
productMappingTemplateIdinteger
productBuilderIdinteger
autoPublishListingsboolean
channelsarray[SourceAutoCreateProductsAndListingsChannel]
enabledbooleanrequired
channelIdintegerrequired
mappingTemplateIdinteger
Example response
{
  "enabled": true,
  "productMappingTemplateId": 0,
  "productBuilderId": 0,
  "autoPublishListings": true,
  "channels": [
    {
      "enabled": true,
      "channelId": 0,
      "mappingTemplateId": 0
    }
  ]
}
400Bad Request

No schema documented for this status.

404Not Found

No schema documented for this status.

OpenAPI fragment
{
  "post": {
    "summary": "Update Source",
    "description": "Update settings for a source that control the automatic creation of products and listings. \n\nThis endpoint requires account level privileges",
    "parameters": [],
    "requestBody": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SourceAutoCreateProductsAndListings"
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SourceAutoCreateProductsAndListings"
            }
          }
        }
      },
      "400": {
        "description": "Bad Request"
      },
      "404": {
        "description": "Not Found"
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight