v1.041
Adds a new endpoint that lists embroidery hits with the stitch and color counts of their design files, so you can report embroidery volume per product, order or period.
🚀 New Endpoints
Retrieve List of Embroidery Hits
-
Retrieve List of Embroidery Hits (
GET /v1/integrations/embroidery-hits-list): Returns the embroidery hits stitched on your orders, oldest first. One embroidery hit is one design stitched once at one position on one unit, so an order line with a quantity of 2 and two embroidery positions has 4 hits. Hits of cancelled orders are not listed.- Query parameters:
page(integer, default1) - 1-based page numberpageSize(integer,1-100, default100) - number of hits per pagecompletedFrom(date-time) - only hits completed at or after this timestampcompletedTo(date-time) - only hits completed before this timestamporderNumber(string) - only hits of the order with this order numbersku(string) - only hits stitched on the product with this SKU
- Each hit contains:
embroidery_hit_uuid(string) - identifier of the hitorder_number(string) andorder_key(string) - the order the hit belongs tosku(string) andproduct_name(string) - the product the hit is stitched onposition(string) - position on the product, as sent in the ordertype(string) - kind of the embroidery instruction:text,image_file,text_with_image_fileordesign_identifierdesign_identifier(string|null) - identifier of the embroidery design the hit was stitched fromstitch_count(integer|null) - stitch count of the digitized design filecolor_count(integer|null) - number of thread colors of the digitized design filestarted_at(date-time|null) andcompleted_at(date-time|null) - when stitching started and finished
stitch_countandcolor_countcome from the digitized design file, not from the embroidery machine, so every hit of the same design version has the same value. They arenullfor hits without a design file, for example text with an image file or hits stitched before design files were tracked. To get the stitch count per product, filter bycompletedFrom/completedToand add upstitch_countgrouped bysku. - Query parameters:
📦 New Support Schemas
- PublicApiPaginatedEmbroideryHitsOutput - response of the new endpoint with
embroidery_hitsandpaginator - PublicApiEmbroideryHitOutput - one embroidery hit
- PublicApiEmbroideryHitType - enum of the embroidery instruction kinds
No endpoints or fields were removed or changed.