Skip to main content

Address Management

Overview

Manage shipping addresses for your partner account. Addresses can be set as the account default or assigned to specific asset types to control where purchased items are shipped.

Address CRUD

Create a Saved Address

mutation PartnerCreateSavedAddress($input: PartnerCreateSavedAddressInput!) {
partnerCreateSavedAddress(input: $input) {
savedAddress {
id
nickname
name
street1
street2
city
state
zip
country
phone
isDefault
isValidated
}
error { message code }
}
}
FieldTypeRequiredDescription
nicknameStringYesDisplay name (e.g., "Warehouse", "HQ")
addressShippingAddressInputYesFull shipping address
isDefaultBooleanNoSet as account default (default: false, auto-true for first address)
Address Validation

All addresses are verified at creation time. If the address cannot be verified, the request will fail with ADDRESS_VERIFICATION_FAILED and the address will not be saved. Ensure the address is complete and accurate before submitting. If validation continues to fail, contact support.

ShippingAddressInput Fields

FieldTypeRequiredDescription
nameStringYesRecipient name
street1StringYesStreet address
street2StringNoApartment, suite, unit
cityStringYesCity
stateStringYesState/Province
zipStringYesZIP/Postal code
countryStringNoCountry (default: "US")
phoneStringNoContact phone number
emailStringNoContact email

Example

{
"query": "mutation PartnerCreateSavedAddress($input: PartnerCreateSavedAddressInput!) { partnerCreateSavedAddress(input: $input) { savedAddress { id nickname isDefault isValidated } error { message code } } }",
"variables": {
"input": {
"nickname": "Warehouse",
"address": {
"name": "Acme Trading",
"street1": "123 Main St",
"city": "Portland",
"state": "OR",
"zip": "97201",
"country": "US"
}
}
}
}

Get a Saved Address

query PartnerGetSavedAddress($input: PartnerGetSavedAddressInput!) {
partnerGetSavedAddress(input: $input) {
savedAddress {
id
nickname
name
street1
city
state
zip
isDefault
isValidated
}
error { message code }
}
}
FieldTypeRequiredDescription
idIDOne ofSaved address ID
nicknameStringOne ofSaved address nickname

Provide either id or nickname, not both.

List Saved Addresses

query PartnerGetSavedAddresses($input: PartnerGetSavedAddressesInput!) {
partnerGetSavedAddresses(input: $input) {
savedAddresses {
id
nickname
name
street1
city
state
zip
isDefault
}
pagination {
totalCount
limit
offset
hasNextPage
}
error { message code }
}
}
FieldTypeRequiredDescription
paginationSimplePaginationInputNo{ limit, offset } — defaults to limit 20, offset 0

Delete a Saved Address

mutation PartnerDeleteSavedAddress($input: PartnerDeleteSavedAddressInput!) {
partnerDeleteSavedAddress(input: $input) {
success
error { message code }
}
}
FieldTypeRequiredDescription
idIDYesSaved address ID to delete

If the deleted address was the default, the most recently created remaining address is auto-promoted.

Set Default Address

mutation PartnerSetDefaultSavedAddress($input: PartnerSetDefaultSavedAddressInput!) {
partnerSetDefaultSavedAddress(input: $input) {
savedAddress {
id
nickname
isDefault
}
error { message code }
}
}
FieldTypeRequiredDescription
idIDYesSaved address ID to set as default

The default address is used when no asset-type-specific address is configured.


Recipient Address Assignments

Assign a saved address to a specific asset type so purchases of that type ship to that address instead of the account default.

Set Recipient Address

mutation PartnerSetRecipientAddress($input: PartnerSetRecipientAddressInput!) {
partnerSetRecipientAddress(input: $input) {
assignment {
savedAddressId
savedAddress { id nickname }
assetType
}
error { message code }
}
}
FieldTypeRequiredDescription
savedAddressIdIDNoAddress to assign (null to clear)
assetTypeStringYesAsset type (e.g., SPORTS_CARD, SEALED_TCG, SEALED_WAX) — see Asset Types for eligible values

Set an Asset Type Address

{
"query": "mutation PartnerSetRecipientAddress($input: PartnerSetRecipientAddressInput!) { partnerSetRecipientAddress(input: $input) { assignment { savedAddressId savedAddress { id nickname } assetType } error { message code } } }",
"variables": {
"input": {
"savedAddressId": "68c1762f-7922-48b2-ac42-244be2c0b43c",
"assetType": "SPORTS_CARD"
}
}
}

Clear an Asset Type Address

Pass savedAddressId: null to remove the assignment and fall back to the account default:

{
"query": "mutation PartnerSetRecipientAddress($input: PartnerSetRecipientAddressInput!) { partnerSetRecipientAddress(input: $input) { assignment { savedAddressId assetType } error { message code } } }",
"variables": {
"input": {
"savedAddressId": null,
"assetType": "SPORTS_CARD"
}
}
}

Get Recipient Addresses

query PartnerGetRecipientAddresses($input: PartnerGetRecipientAddressesInput!) {
partnerGetRecipientAddresses(input: $input) {
assignments {
savedAddressId
savedAddress { id nickname name street1 city state zip }
assetType
}
error { message code }
}
}
FieldTypeRequiredDescription
assetTypeStringNoFilter to a specific asset type

Returns only asset types that have an explicit address assignment. Asset types without an assignment use the account default.

Get All Assignments

{
"query": "query PartnerGetRecipientAddresses($input: PartnerGetRecipientAddressesInput!) { partnerGetRecipientAddresses(input: $input) { assignments { savedAddressId savedAddress { id nickname } assetType } error { message code } } }",
"variables": {
"input": {}
}
}

Filter by Asset Type

{
"query": "query PartnerGetRecipientAddresses($input: PartnerGetRecipientAddressesInput!) { partnerGetRecipientAddresses(input: $input) { assignments { savedAddressId savedAddress { id nickname } assetType } error { message code } } }",
"variables": {
"input": {
"assetType": "SEALED_TCG"
}
}
}

Address Resolution Order

When determining the shipping address for a purchase:

PriorityScopeDescription
HighestConditional BidrecipientAddressId on the conditional bid (see Conditional Bidding)
MediumAsset TypeAddress assigned via partnerSetRecipientAddress
LowestAccount DefaultAddress set via partnerSetDefaultSavedAddress

Error Codes

CodeDescription
ADDRESS_VERIFICATION_FAILEDAddress could not be verified — check fields and retry, or contact support
ADDRESS_NOT_FOUNDSaved address doesn't exist or doesn't belong to your account
INVALID_ASSET_TYPEUnrecognized asset type string
NOT_FOUNDSaved address ID not found
DUPLICATE_NICKNAMEA saved address with that nickname already exists
VALIDATION_REQUIRED_FOR_DEFAULTCannot set an unvalidated address as default