Trading Partner Item Relationships
tradingPartnerItemRelationships Based on 26C
Create, change, delete and look up Trading Partner Item Relationships, with linked MPN relationships, linked supplier item relationships and translatable attributes.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
ItemRelationshipId- Required on create
InventoryItemId- At a glance
- 27 fields3 finders4 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/tradingPartnerItemRelationships?fields=AcdType,ChangeLineId,CompetitorItemRelationshipType,CreatedBy,CreationDateTime&limit=25&onlyData=true
{
"items": [
{
"AcdType": "PROD",
"ChangeLineId": -1,
"CompetitorItemRelationshipType": "<string, max 255>",
"CreatedBy": "<string, max 64>",
"CreationDateTime": "2026-01-31T09:00:00+00:00"
}
],
"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 27
| Attribute | Type | Use |
|---|---|---|
AcdType | text · max 30 · default PROD | Read-onlySearchable |
ChangeLineId | number · default -1 | Read-onlySearchable |
CompetitorItemRelationshipType | text · max 255 | Optional on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDateTime | date-time | Read-onlySearchable |
CustomerItemRelationshipRank | number | Optional on createUpdatableSearchable |
EndDateTime | date-time | Optional on createUpdatableSearchable |
InventoryItemId | number | Required on createSearchable |
Item | text · max 255 | Optional on createSearchable |
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 255 | Optional on createSearchable |
OrganizationId | number | Optional on createSearchable |
RegistryId | text · max 255 | Optional on createSearchable |
RelationshipDescription | text · max 240 | Optional on createUpdatableSearchable |
RelationshipStatus | text · max 255 | Optional on createUpdatableSearchable |
StartDateTime | date-time | Optional on createUpdatableSearchable |
TradingPartnerId | text · max 255 | Optional on createSearchable |
TradingPartnerItemDescription | text · max 240 | Read-onlySearchable |
TradingPartnerItemId | number | Optional on createSearchable |
TradingPartnerItemNumber | text · max 255 | Optional on createSearchable |
TradingPartnerItemStatus | text · max 255 | Read-onlySearchable |
TradingPartnerName | text · max 255 | Optional on createSearchable |
TradingPartnerStatus | text · max 255 | Read-onlySearchable |
TradingPartnerType | text · max 255 | Optional on createSearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 3
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
findAMLByEffectiveDate·EffectiveDateItemNumberfindPendingRelationships·EffectiveDateItemIdItemNumberPendingChangeLineIdfindTPIRelationshipsByRevisionEffectivity·EffectiveDateItemIdItemNumber
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 4
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/tradingPartnerItemRelationships/{ItemRelationshipId}/child/<name>. Add them to a GET with expand.
DFFGET · POST · PATCH Descriptive Flexfields · 4 fieldsItemRelationshipIdItemRelationshipType__FLEX_Context__FLEX_Context_DisplayValueLinkedMPNRelationshipsGET · POST · PATCH · DELETE Linked MPN Relationships · 14 fieldsCreatedByCreationDateLastUpdateDateLastUpdateLoginLastUpdatedByManufacturerIdManufacturerNameManufacturerPartIdManufacturerPartNumberManufacturerRegistryIdPrimaryLinkageFlagRelationshipIdRelationshipStatusTPILinkageIdLinkedSupplierItemRelationshipsGET · POST · PATCH · DELETE Linked Supplier Item Relationships · 14 fieldsCreatedByCreationDateLastUpdateDateLastUpdateLoginLastUpdatedByPrimaryLinkageFlagRelationshipIdRelationshipStatusSupplierIdSupplierNameSupplierPartIdSupplierPartNumberSupplierRegistryIdTPILinkageIdtranslatableAttributesGET · 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/tradingPartnerItemRelationshipsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
findAMLByEffectiveDatefor 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:CompetitorItemRelationshipType, notcompetitoritemrelationshiptype. - 10 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.