curl --request POST \
--url https://api.scholarlysoftware.com/api/v1/profiles/{profile_id}/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "address",
"attributes": {
"label": "Office Address",
"address_level1": "IL",
"address_level2": "Springfield",
"effective_from": "2024-01-01",
"external_id": "EXT-12345",
"address_line1": "789 Academic Dr",
"address_line2": "Suite 200",
"address_line3": "<string>",
"address_level3": "<string>",
"address_level4": "<string>",
"country": "US",
"country_name": "United States",
"postal_code": "62703"
},
"relationships": {
"profile": {
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "address",
"attributes": {
"label": "Office Address",
"address_level1": "IL",
"address_level2": "Springfield",
"effective_from": "2024-01-01",
"custom_fields": {},
"external_id": "EXT-12345",
"address_line1": "789 Academic Dr",
"address_line2": "Suite 200",
"address_line3": "<string>",
"address_level3": "<string>",
"address_level4": "<string>",
"country": "US",
"country_name": "United States",
"postal_code": "62703",
"effective_to": "2023-12-25"
},
"relationships": {
"profile": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}Creates a new address for a specific profile
curl --request POST \
--url https://api.scholarlysoftware.com/api/v1/profiles/{profile_id}/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "address",
"attributes": {
"label": "Office Address",
"address_level1": "IL",
"address_level2": "Springfield",
"effective_from": "2024-01-01",
"external_id": "EXT-12345",
"address_line1": "789 Academic Dr",
"address_line2": "Suite 200",
"address_line3": "<string>",
"address_level3": "<string>",
"address_level4": "<string>",
"country": "US",
"country_name": "United States",
"postal_code": "62703"
},
"relationships": {
"profile": {
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "address",
"attributes": {
"label": "Office Address",
"address_level1": "IL",
"address_level2": "Springfield",
"effective_from": "2024-01-01",
"custom_fields": {},
"external_id": "EXT-12345",
"address_line1": "789 Academic Dr",
"address_line2": "Suite 200",
"address_line3": "<string>",
"address_level3": "<string>",
"address_level4": "<string>",
"country": "US",
"country_name": "United States",
"postal_code": "62703",
"effective_to": "2023-12-25"
},
"relationships": {
"profile": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer token
Profile UUID
Show child attributes
"address""address"
Show child attributes
"Office Address"
"IL"
"Springfield"
"2024-01-01"
External identifier for this address
"EXT-12345"
"789 Academic Dr"
"Suite 200"
"US"
"United States"
"62703"
address created
Show child attributes
"address""address"
Show child attributes
"Office Address"
"IL"
"Springfield"
"2024-01-01"
External identifier for this address
"EXT-12345"
"789 Academic Dr"
"Suite 200"
"US"
"United States"
"62703"
Show child attributes
Show child attributes