// fusionrest agent · supply chain and manufacturing · scm common

B2B Location Codes

b2bLocationCodes Based on 26C

Create, change, delete and look up B2B Location Codes. Actions include importb2b location codes.

/fscmRestApi/resources/11.13.18.05/b2bLocationCodes
Operations
GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
Record key
B2BLocationCode
Required on create
none marked
At a glance
11 fields2 finders0 children
I want to…List the latest 25Count recordsGet one recordCreate oneUpdate one

Try it

Response fields ·
Filters (q)

Only attributes Oracle marks as searchable are offered.

Finder
Paging and options
limit
Endpoint and headers
GET /fscmRestApi/resources/11.13.18.05/b2bLocationCodes?fields=Address,B2BLocationCode,BillToFlag,CrossReferenceLocationValueId,CustomerAccountSiteUseId&limit=25&onlyData=true
Response shape (placeholders)
{
  "items": [
    {
      "Address": "<string, max 255>",
      "B2BLocationCode": "<string, max 100>",
      "BillToFlag": false,
      "CrossReferenceLocationValueId": 0,
      "CustomerAccountSiteUseId": "<string, max 100>"
    }
  ],
  "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 11

AttributeTypeUse
Addresstext · max 255Optional on createSearchable
B2BLocationCodetext · max 100Optional on createUpdatableSearchable
BillToFlagyes/noOptional on createSearchable
CrossReferenceLocationValueIdnumberRead-onlySearchable
CustomerAccountSiteUseIdtext · max 100Optional on createSearchable
CustomerIdtext · max 256Optional on createSearchable
CustomerNametextOptional on createSearchable
CustomerNumbertext · max 256Optional on createSearchable
PartySiteIdtext · max 100Optional on createSearchable
PartySiteNumbertext · max 30Optional on createSearchable
ShipToFlagyes/noOptional 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 2

Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.

Check a payload

Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.

Actions 1

Actions use Content-Type: application/vnd.oracle.adf.action+json. A path with a {key} runs on one record.

Use in AI Agent Studio

More in For Builders.

Pitfalls