SKU Lines

The SKU Line API allows you to create one or more SKU Lines in WFM.

URL

POST ..lgfapi/v10/entity/sku_line/

Fields

Name Required Type Default Description
name X String SKU line name
description X String SKU line description

Request Body Example (JSON)

Instance Create

{
"fields":
{ 
"name": "Skechers Shoes1234_23", 
"description": "Skechers Shoes for Women12345_23"
 }
}

Bulk Create

{
    "options": {
        "commit_frequency": 2
    },
    "fields": [
        {
            "name": "SKU LINE PUMA",
            "description": "SKU PUMA T-SHIRT"
        },
        {
            "name": "SKU LINE PUMA10",
            "description": "SKU PUMA T-SHIRT10"
        }
    ]
}

Request Body Example (XML)

Instance Create

<request>
<fields>
<name>SKU PUMA SHOES</name>
<description>SKU PUMA SHOES FOR MEN</description>
</fields>
</request> 

Bulk Create

<request>
    <fields>
        <list-item>
            <name>SKU LINE School Uniform</name>
            <description>SKU School Uniform Set for Kindergarden</description>
        </list-item>
        <list-item>
            <name>SKU LINE School Uniform</name>
            <description>SKU School Uniform Sets for 1 to 5th</description>
        </list-item>
    </fields>
    <options>
        <commit_frequency>2</commit_frequency>
    </options>
</request>
Note: If the options parameter "commit_frequency" is not provided in the payload, the behavior defaults to same behavior as commit_frequency = 0, which is a all or nothing functionality. In other words, either all records are processed (if successful) or none of the records are processed even if 1 record fails validations.