Decorations

Decorations

The <decorations> element defines one or more decoration components in a design. Each decoration specifies a component such as a design, lettering, or team name lettering. The decorations block is the top-level container for everything you want to stitch.


XML structure

<decorations> <!-- Root element: decorations --> <design ... /> <!-- Design decoration --> <lettering ... /> <!-- Lettering decoration --> <team_name_lettering ... /> <!-- Team name lettering decoration --> </decorations>

Components

The <decorations> element contains one or more decoration components. Valid components:
Component
Description
Adds a design file.
Adds standard lettering.
Adds a team name lettering element.

Usage

<decorations> XML is required as input for the following APIs:


Remarks

  1. Must contain at least one decoration.
  2. The API processes decorations in the order they appear.   
  3. The order of decorations determines the stitching sequence in the final design output.
  4. For api/newLetteringPreview, only a single <lettering> element is supported — no designs or team names allowed in that request.


Example

<decorations>
    <design file="logo1.emb" />
    <lettering>
                <!-- Lettering parameters here -->
    </lettering>
    <team_name_lettering>
                              <!-- Team lettering parameters here -->
    </team_name_lettering>
</decorations>

  1. EWA design recipe
  2. EWA API methods overview
  3. EWA data packages overview

    • Related Articles

    • EWA API getting started

      These notes guide developers through the initial setup, authentication, API calling structure, and development tools available for integrating the Wilcom Embroidery Web API into web applications. ✅ Step 1: Sign up and get API credentials Visit the ...