Supplier Returns
supplierReturns Based on 26C
Create, change, delete and look up Supplier Returns, with lines.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE
- Record key
SupplierReturnHeaderId- Required on create
OrganizationId- At a glance
- 17 fields0 finders5 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/supplierReturns?fields=CreatedBy,CreationDate,Description,ErrorMessage,ErrorMessageName&limit=25&onlyData=true
{
"items": [
{
"CreatedBy": "<string, max 64>",
"CreationDate": "2026-01-31T09:00:00+00:00",
"Description": "<string, max 240>",
"ErrorMessage": "<string>",
"ErrorMessageName": "<string>"
}
],
"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 17
| Attribute | Type | Use |
|---|---|---|
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Description | text · max 240 | Optional on createUpdatable |
ErrorMessage | text | Optional on createUpdatable |
ErrorMessageName | text | Optional on createUpdatable |
LastUpdateDate | date-time | Read-only |
LastUpdatedBy | text · max 64 | Read-only |
OneTimeShipToLocation | text · max 4000 | Optional on createUpdatable |
OrganizationCode | text · max 18 | Optional on createSearchable |
OrganizationId | number | Required on createSearchable |
SubmitFlag | yes/no · default false | Optional on createUpdatable |
SupplierId | number | Optional on createSearchable |
SupplierName | text · max 360 | Optional on createSearchable |
SupplierReturnHeaderId | number | Read-onlySearchable |
SupplierReturnNumber | text · max 50 | Read-onlySearchable |
SupplierSiteCode | text · max 240 | Optional on createSearchable |
SupplierSiteId | number | 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.
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 5
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/supplierReturns/{SupplierReturnHeaderId}/child/<name>. Add them to a GET with expand.
linesGET · POST · PATCH · DELETE Lines · 50 fieldsAccountAccountIdCancelFlagCanceledQuantityCommentsCreatedByCreationDateErrorMessageErrorMessageNameFulfilledQuantityItemDescriptionItemIdItemNumberItemRevisionLastUpdateDateLastUpdatedByLineStatusLineStatusCodeLocatorLocatorIdLotNumberOrganizationCodeOrganizationIdPhysicalMaterialReturnRequiredFlagPrimaryRequestedQuantityPrimaryUOMCodePrimaryUnitOfMeasureReasonReasonIdRecallHeaderIdRecallLineIdRecallNoticeLineNumberRecallNoticeNumberRequestedDateRequestedQuantityReturnedByIdReturnedByNameSecondaryCanceledQuantitySecondaryFulfilledQuantitySecondaryRequestedQuantitySecondaryUOMCodeSecondaryUnitOfMeasureSubinventorySupplierItemNumberSupplierLotNumberSupplierRMANumberSupplierReturnLineIdSupplierReturnLineNumberUOMCodeUnitOfMeasureDFFGET · POST · PATCH Unreferenced Line Descriptive Flexfields · 3 fieldsSupplierReturnLineId__FLEX_Context__FLEX_Context_DisplayValueinventoryAttributesDFFGET · POST · PATCH Inventory Attributes Descriptive Flexfields · 9 fieldsSupplierReturnLineId__FLEX_Context__FLEX_Context_DisplayValuecountryOfOriginCodecountryOfOriginCode_DisplayprojectIdprojectId_DisplaytaskIdtaskId_DisplaymanufacturerPartsGET Manufacturer Parts · 2 fieldsManufacturerNameManufacturerPartNumberserialsGET · POST · PATCH · DELETE Serial Numbers · 2 fieldsFromSerialNumberToSerialNumber
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/supplierReturnsand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - 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:Description, notdescription. - 6 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.