FlxpointAPI Help CenterBeta

Create Mapping Set

posthttps://api.flxpoint.com/mapping-set

Use this when you want to create mappingset 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.

Create a mapping set.

Request

Bodyapplication/json
idinteger
accountIdinteger
createdByUserIdinteger
createdAtstring
namestringrequired
descriptionstring
totalItemsinteger
exclusionListForSourceIdinteger
exclusionTypestring
Required when 'exclusionListForSourceId' is provided. Specifies the type of exclusion being applied. Use 'sku', 'brand', or 'category'.
allowedskubrandcategory

Example request

post/mapping-set
curl -X POST "https://api.flxpoint.com/mapping-set" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
         "id": 0,
         "accountId": 0,
         "createdByUserId": 0,
         "createdAt": "string",
         "name": "string",
         "description": "string",
         "totalItems": 0,
         "exclusionListForSourceId": 0,
         "exclusionType": "sku"
       }'
Example body ยท application/json
{
  "id": 0,
  "accountId": 0,
  "createdByUserId": 0,
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "totalItems": 0,
  "exclusionListForSourceId": 0,
  "exclusionType": "sku"
}

Responses

200OKapplication/json
idinteger
accountIdinteger
createdByUserIdinteger
createdAtstring
namestringrequired
descriptionstring
totalItemsinteger
exclusionListForSourceIdinteger
exclusionTypestring
Required when 'exclusionListForSourceId' is provided. Specifies the type of exclusion being applied. Use 'sku', 'brand', or 'category'.
allowedskubrandcategory
Example response
{
  "id": 0,
  "accountId": 0,
  "createdByUserId": 0,
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "totalItems": 0,
  "exclusionListForSourceId": 0,
  "exclusionType": "sku"
}
OpenAPI fragment
{
  "post": {
    "summary": "Create Mapping Set",
    "description": "Create a mapping set.",
    "parameters": [],
    "requestBody": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MappingSet"
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MappingSet"
            }
          }
        }
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight