Skip to content

Ramp: Fetch a purchase order — response body — ship to address address1, address2, city, country, postal code, state

Fetch a purchase order: response body, field ship_to_address / address1, address2, city, country, postal_code, state. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a purchase order — response body — ship to address address1, address2, city, country, postal code, state

FieldTypePresenceDescription and constraints
$objectRoot
address1stringRequired within parent
address2JSONRequired within parent
address2 (anyOf 1)stringAlternativeDefault: null
address2 (anyOf 2)nullAlternative
citystringRequired within parent
countrystringRequired within parent
postal_codeJSONRequired within parent
postal_code (anyOf 1)stringAlternativeDefault: null
postal_code (anyOf 2)nullAlternative
stateJSONRequired within parent
state (anyOf 1)stringAlternativeDefault: null
state (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.