Search Ship to Contacts associated with account
get
/ccstore/v1/selfservice/contacts/shipTo
Search Ship to Contacts associated account of logged in profile in the currently authenticated session. If the profile is not logged in or is anonymous then the endpoint will fail. The endpoint will responds with same data what is received from corresponding subscription endpoint
Request
Supported Media Types
- application/json
Query Parameters
-
finder: array
Filter response fields
-
limit: integer
Specifies the number of ship to contacts to be retrieved starting from offset. Default value for the limit is 25 and max value is also 25. In case this is not present, complete list or max limit list (whichever is lower) of invoices will be returned.
-
offset: integer
Starting index when paging through invoices.
-
orderBy: string
The sort order
-
q: string
The query to use
-
totalResults: boolean
Calculate total results countDefault Value:
false
Response
Supported Media Types
- application/json
200 Response
Response containing the list of ship to contacts associated account
Root Schema : getSelfServiceContactsShipTo_Response
Type:
Show Source
object-
count:
integer
The number of resource instances returned in the current range.
-
hasMore:
boolean
Indicates whether more resources are available on the server than the subset returned in the response. If true, additional resources can be requested; default is false.
-
items:
array Items
Title:
ItemsThe external contacts in the collection. -
limit:
integer
The actual paging size used by the server.
-
links:
array links
HATEOAS-style links related to the current resource.
-
offset:
integer
The offset value used in the current page.
-
totalResults:
integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Example:
{
"totalResults":161,
"offset":0,
"count":25,
"hasMore":true,
"limit":25,
"links":[
{
"kind":"collection",
"rel":"self",
"name":"externalContacts",
"href":"https://cptbnjjqy.fusionapps.ocs.oc-test.com:443/crmRestApi/resources/11.13.18.05/externalContacts"
}
],
"items":[
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100120934598",
"ContactId":"300100120934599",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100120934597",
"JobTitle":null,
"EmailAddress":"sendmail-test-discard@oracle.com",
"OrgContactId":"300100120934600",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":"300100120934603",
"ContactNumber":"CDRM_680240",
"ContactPointType":"EMAIL",
"ContactName":" Eun Huh"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100648941783",
"ContactId":"300100648941784",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100648941776",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100648941786",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1008058",
"ContactPointType":null,
"ContactName":"111111 User"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100648942709",
"ContactId":"300100648942710",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100648942702",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100648942712",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1008057",
"ContactPointType":null,
"ContactName":"111111 User"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100661225158",
"ContactId":"300100661225159",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661225151",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661225161",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013091",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100660646800",
"ContactId":"300100660646801",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100660646793",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100660646803",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013043",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100661224646",
"ContactId":"300100661224647",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661223305",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661224649",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013085",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100661220504",
"ContactId":"300100661220505",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661222050",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661220507",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013083",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100661225701",
"ContactId":"300100661225702",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661225694",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661225704",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013089",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100661220409",
"ContactId":"300100661220410",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661220402",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661220416",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013081",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100660637217",
"ContactId":"300100660637218",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100660638408",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100660637220",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013035",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100660637256",
"ContactId":"300100660637257",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100660638486",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100660637263",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013036",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100660641453",
"ContactId":"300100660641454",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100660646772",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100660641456",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013041",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100660638494",
"ContactId":"300100660638495",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100660637269",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100660638497",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013037",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100661225893",
"ContactId":"300100661225894",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661226823",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661225896",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013093",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100661226128",
"ContactId":"300100661226129",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661226999",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661226131",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013095",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100660638559",
"ContactId":"300100660638560",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100660637282",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100660638562",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013038",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"I",
"PartyId1_1":1006,
"RelationshipRecId":"300100661223425",
"ContactId":"300100661223426",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100661223418",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100661223428",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1013087",
"ContactPointType":null,
"ContactName":"Ab Devilliers"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100120934572",
"ContactId":"300100120934573",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100120934571",
"JobTitle":null,
"EmailAddress":"sendmail-test-discard@oracle.com",
"OrgContactId":"300100120934574",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":"300100120934577",
"ContactNumber":"CDRM_680238",
"ContactPointType":"EMAIL",
"ContactName":"Amantullah Afzal"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100657735289",
"ContactId":"300100657735290",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100657743728",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100657735292",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1011175",
"ContactPointType":null,
"ContactName":"Angela Chung"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"999990007699441",
"ContactId":1106,
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":2474,
"JobTitle":"CFO",
"EmailAddress":null,
"OrgContactId":1106,
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CONTACT-1106",
"ContactPointType":null,
"ContactName":"Arnold Smithfield"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"999990007699539",
"ContactId":2703,
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":2800,
"JobTitle":"Accounts Payable Clerk",
"EmailAddress":null,
"OrgContactId":2704,
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"1101",
"ContactPointType":null,
"ContactName":"Beate Wiese"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"999990007699514",
"ContactId":2663,
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":2760,
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":2664,
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"1061",
"ContactPointType":null,
"ContactName":"Berit Nykvist"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100657743068",
"ContactId":"300100657743069",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100657743061",
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":"300100657743071",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CDRM_1011176",
"ContactPointType":null,
"ContactName":"Brendan Abcdef"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"999990007699464",
"ContactId":1186,
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":2508,
"JobTitle":null,
"EmailAddress":null,
"OrgContactId":1186,
"Department":null,
"DirectionalFlag":false,
"ContactPointId":null,
"ContactNumber":"CONTACT-1186",
"ContactPointType":null,
"ContactName":"Brian Locke"
},
{
"Status":"A",
"PartyId1_1":1006,
"RelationshipRecId":"300100120594860",
"ContactId":"300100120594861",
"PartyId2":1006,
"PartyName1":"Computer Service and Rentals",
"PartyId1":"300100120594789",
"JobTitle":null,
"EmailAddress":"sendmail-test-discard@oracle.com",
"OrgContactId":"300100120594875",
"Department":null,
"DirectionalFlag":false,
"ContactPointId":"300100120594904",
"ContactNumber":"CDRM_680112",
"ContactPointType":"EMAIL",
"ContactName":"Charles Baker"
}
]
}Nested Schema : items
Type:
Show Source
object-
ContactId:
integer
Title:
Contact IdentifierThe unique identifier of the contact. -
ContactName:
string
Title:
Contact NameThe full name of the contact. -
ContactNumber:
string
Title:
Contact NumberThe system-generated contact number or identifier. -
ContactPointId:
[
"integer",
"null"
]
Title:
Contact Point IdThe identifier of the contact point record. -
ContactPointType:
[
"string",
"null"
]
Title:
Contact Point TypeThe type of contact point (for example, EMAIL). -
Department:
[
"string",
"null"
]
Title:
DepartmentThe department of the contact. -
DirectionalFlag:
boolean
Title:
Directional FlagIndicates whether the relationship is directional. -
EmailAddress:
[
"string",
"null"
]
Title:
Email AddressThe contact???s email address. -
JobTitle:
[
"string",
"null"
]
Title:
Job TitleThe contact???s job title. -
OrgContactId:
integer
Title:
Organization Contact IdThe identifier of the organizational contact. -
PartyId1:
integer
Title:
Party Identifier 1The primary party identifier. -
PartyId1_1:
integer
Title:
Party Identifier 1_1Additional party identifier. -
PartyId2:
integer
Title:
Party Identifier 2The related party identifier. -
PartyName1:
string
Title:
Party NameThe name of the related party. -
RelationshipRecId:
integer
Title:
Relationship Record IdThe identifier of the relationship record. -
Status:
string
Title:
StatusThe status of the contact (for example, A=Active, I=Inactive).
Nested Schema : items
Type:
Show Source
object-
href:
string
The target URL of the link.
-
kind:
string
The kind of resource (for example, collection or item).
-
name:
string
The name of the linked resource.
-
rel:
string
The relation type of the link.
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|59000|If there is a missing required property.|
|59002|If request can't be processed currently.|
|59003|If there is any invalid path parameter|
|59004|If resource is not found|
|59005|If error occurred while processing input.|
|59008|If any issue occurred while triggering the fusion.|
|59010|If self service is not enabled|
Root Schema : errorModel
Type:
Show Source
object-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
arrayAn optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code