GTIN Relationships
GTINRelationships Based on 26C
Create, change, delete and look up GTIN Relationships, with translatable attributes.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
ItemRelationshipId- Required on create
InventoryItemId- At a glance
- 20 fields1 finders2 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/GTINRelationships?fields=CreatedBy,CreationDateTime,EPCGTINSerial,GTIN,InventoryItemId&limit=25&onlyData=true
{
"items": [
{
"CreatedBy": "<string, max 64>",
"CreationDateTime": "2026-01-31T09:00:00+00:00",
"EPCGTINSerial": 0,
"GTIN": "<string, max 255>",
"InventoryItemId": 0
}
],
"count": 25,
"hasMore": true,
"limit": 25,
"offset": 0
}Shapes and placeholders, not real data. Replace https://<your-pod> and the login with your own: this site never sees them. Based on Oracle's 26C REST specification.
Fields 20
| Attribute | Type | Use |
|---|---|---|
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDateTime | date-time | Read-onlySearchable |
EPCGTINSerial | number | Optional on createUpdatableSearchable |
GTIN | text · max 255 | Optional on createSearchable |
InventoryItemId | number | Required on createUpdatableSearchable |
Item | text · max 300 | Optional on createUpdatableSearchable |
ItemRelationshipId | number | Optional on createSearchable |
LastUpdateDateTime | date-time | Read-onlySearchable |
LastUpdateLogin | text · max 32 | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
OrganizationCode | text · max 18 | Optional on createUpdatableSearchable |
OrganizationId | number | Optional on createUpdatableSearchable |
PackedItem | text · max 255 | Read-only |
PartyName | text · max 360 | Optional on createUpdatableSearchable |
PartyType | text · max 255 | Optional on createSearchable |
RegistryId | text · max 30 | Optional on createUpdatableSearchable |
RelationshipDescription | text · max 240 | Optional on createUpdatableSearchable |
RevisionCode | text · max 18 | Optional on createUpdatableSearchable |
UOM | text · max 25 | Optional on createUpdatableSearchable |
UnitOfMeasureCode | text · max 18 | Read-onlySearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 1
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findExistingGtinByItemPrimaryUomClass·ItemIdItemUomClassOrgId
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 2
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/GTINRelationships/{ItemRelationshipId}/child/<name>. Add them to a GET with expand.
DFFGET · POST · PATCH Descriptive Flexfields · 4 fieldsItemRelationshipIdItemRelationshipType__FLEX_Context__FLEX_Context_DisplayValuetranslatableAttributesGET · POST · PATCH Translatable Attributes · 9 fieldsCreatedByCreationDateTimeItemRelationshipIdLanguageLastUpdateDateTimeLastUpdateLoginLastUpdatedByRelationshipDescriptionSourceLanguage
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/GTINRelationshipsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findExistingGtinByItemPrimaryUomClassfor the agent's main search: its variables become clean tool parameters. - Narrow with
q=on searchable fields and a smalllimit; for a count usetotalResults=true&limit=1. - Call once and pass the result on to later steps rather than calling the same endpoint again.
- This resource can change data. Put a human approval step before any create, update, delete or action call.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:EPCGTINSerial, notepcgtinserial. - 7 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- Send dates as
YYYY-MM-DD; date-time fields take ISO 8601 with a time zone. - A list returns 25 rows unless you set
limit; readhasMoreand moveoffsetto page through. - Text fields have maximum lengths (shown in the field table). Longer values are rejected.