Skip to main content

Find User Address

API operation: Open the endpoint in Scalar

Use GET /users/{user_id}/addresses/{address_id} to retrieve one user address. The operation is Address.find.

The operation requires authentication. Administrators and agents can read across users; other callers must match user_id. The controller verifies that address_id belongs to that route user. Use params only for supported relations and fields.

const response = await ordering.users(userId).addresses(addressId).get();

This SDK syntax is historical. Confirm the package and version before using it. See User address model.

OpenAPI reference​

Operation: GET /users/{user_id}/addresses/{address_id}

Path parameters

NameTypeRequiredDescription
user_idintegerYes—
address_idintegerYes—

Query parameters

NameTypeRequiredDescription
paramsstringNoComma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields.

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference