Customer Trade Profiles
customerTradeProfiles Based on 26C
Create, change and look up Customer Trade Profiles, with mappings.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)
- Record key
CustomerTradeProfileId- Required on create
BUId- At a glance
- 38 fields0 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/customerTradeProfiles?fields=Address,BUId,BillToAccountId,BillToAccountNumber,BillToSite&limit=25&onlyData=true
{
"items": [
{
"Address": "<string, max 255>",
"BUId": 0,
"BillToAccountId": 0,
"BillToAccountNumber": "<string, max 255>",
"BillToSite": "<string, max 255>"
}
],
"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 38
| Attribute | Type | Use |
|---|---|---|
Address | text · max 255 | Read-onlySearchable |
BUId | number | Required on createSearchable |
BillToAccountId | number | Optional on createSearchable |
BillToAccountNumber | text · max 255 | Optional on createSearchable |
BillToSite | text · max 255 | Optional on createSearchable |
BillToSiteId | number | Optional on createSearchable |
BusinessUnit | text · max 255 | Optional on createSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Customer | text · max 255 | Optional on createSearchable |
CustomerId | number | Optional on createSearchable |
CustomerTradeProfileId | number | Read-onlySearchable |
DeductionWriteOffThreshold | number | Optional on createUpdatableSearchable |
DefaultClaimOwner | text · max 255 | Optional on createUpdatableSearchable |
DefaultClaimOwnerId | number | Optional on createUpdatableSearchable |
DefaultClaimOwnerPersonNumber | text · max 255 | Optional on createUpdatableSearchable |
DistributorContactForBatch | text · max 255 | Optional on createUpdatableSearchable |
DistributorContactForBatchId | number | Optional on createUpdatableSearchable |
EnabledFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
PayOverEarnings | text · max 255 | Optional on createUpdatableSearchable |
PayOverEarningsCode | text · max 30 | Optional on createUpdatableSearchable |
PayOverThresholdOverrideFlag | yes/no · max 1 | Optional on createUpdatableSearchable |
PayOverThresholdType | text · max 255 | Optional on createUpdatableSearchable |
PayOverThresholdTypeCode | text · max 30 | Optional on createUpdatableSearchable |
PayOverThresholdValue | number | Optional on createUpdatableSearchable |
SettlementMethodCodeForAutomaticPayment | text · max 30 | Optional on createUpdatableSearchable |
SettlementMethodForAutomaticPayment | text · max 255 | Optional on createUpdatableSearchable |
SpecialPriceAgreementBatchExportReport | text · max 240 | Optional on createUpdatableSearchable |
SpecialPriceAgreementBatchProcessingMode | text · max 255 | Optional on createUpdatableSearchable |
SpecialPriceAgreementBatchProcessingModeCode | text · max 30 | Optional on createUpdatableSearchable |
Supplier | text · max 255 | Optional on createUpdatableSearchable |
SupplierId | number | Optional on createUpdatableSearchable |
SupplierNumber | text · max 255 | Optional on createUpdatableSearchable |
SupplierSite | text · max 255 | Optional on createUpdatableSearchable |
SupplierSiteAddress | text · max 255 | Read-onlySearchable |
SupplierSiteId | number | Optional on createUpdatableSearchable |
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 1
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/customerTradeProfiles/{CustomerTradeProfileId}/child/<name>. Add them to a GET with expand.
mappingsGET · POST · PATCH · DELETE Mappings · 13 fieldsClaimReasonClaimReasonCodeClaimReasonDescriptionClaimReasonIdCreatedByCreationDateCustomerReasonCustomerReasonDescriptionLastUpdateDateLastUpdatedByMappingIdMappingTypeMappingTypeCode
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/customerTradeProfilesand 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:BUId, notbuid. - 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.