Admin API / Mutations

setReturnAddress

Sets the caller's ship-from address after a carrier check. The caller's NOT_STARTED shipments in this marketplace, and those whose orders belong to no marketplace, take the new address as their origin. A missing phone takes the phone of the caller's account. An address equal to the stored one is not saved again, and those shipments still take it as their origin. A repeat runs the carrier check again. Belongs to the caller's account and applies in every marketplace the account sells in.

Requires a client key with one of these scopes: admin:account:writeRequires this member role or higher: SELLER A member below this role, or an inactive member, who has outstanding seller obligations can also call it.
setReturnAddress(
  input: SetReturnAddressInput!
): SetReturnAddressPayload!

Arguments

ArgumentTypeDescription
inputSetReturnAddressInput!The address to set.

Return type

SetReturnAddressPayload!