canonElementGtins
Módulo Canon · 3 operaciones
List canon element gtin rows
GET/canon/element-gtins
A GTIN mapped to an element. One GTIN maps to at most one element. Returns a cursor page of canon element gtin rows the caller may see. The default order is `gtin` ascending. Supports sparse fieldsets and the filter grammar.
Get a canon element gtin
GET/canon/element-gtins/{gtin}
A GTIN mapped to an element. One GTIN maps to at most one element. Returns one canon element gtin with its `ETag`. A canon element gtin the caller may not see returns 404.
Resolve a GTIN
GET/canon/element-gtins/resolve
Resolves a GTIN to its element through `xpms.resolve_gtin`. Many GTINs map to one element; one GTIN maps to at most one. An unknown GTIN returns a 422 `NO_ANSWER` refusal. A rule that refuses the request returns 422 with `refusal` and `reason`.