Get Source
get
https://api.flxpoint.com/source/{sourceId}/auto-create-products-and-listingsUse this when you want to pull 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.
Get settings for a source that control the automatic creation of products and listings.
This endpoint requires account level privileges
Request
Example request
get
/source/{sourceId}/auto-create-products-and-listingscurl -X GET "https://api.flxpoint.com/source/{sourceId}/auto-create-products-and-listings" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN"Responses
200OKapplication/json
enabledbooleanproductMappingTemplateIdintegerproductBuilderIdintegerautoPublishListingsbooleanchannelsarray[SourceAutoCreateProductsAndListingsChannel]enabledbooleanrequiredchannelIdintegerrequiredmappingTemplateIdintegerExample response
{
"enabled": true,
"productMappingTemplateId": 0,
"productBuilderId": 0,
"autoPublishListings": true,
"channels": [
{
"enabled": true,
"channelId": 0,
"mappingTemplateId": 0
}
]
}401Unauthorized
No schema documented for this status.
404Not Found
No schema documented for this status.
OpenAPI fragment
{
"get": {
"summary": "Get Source",
"description": "Get settings for a source that control the automatic creation of products and listings. \n\nThis endpoint requires account level privileges",
"parameters": [],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SourceAutoCreateProductsAndListings"
}
}
}
},
"401": {
"description": "Unauthorized"
},
"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