order created with SET_PROVIDED_ADDRESS canno't patch without a shipping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An order can be created with an initials items. When the order is created with SET_PROVIDED_ADDRESS option, then it canno't be patched without setting a valid shipping address first. If the customer change the items then a new order need to be created unless the customer write it's shipping address to an unfinished order.
Is that a features, a bug or something I misunderstand?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @daviddk8 ,
Thank you for posting to the PayPal Merchant Community. You are correct that SET_PROVIDED_ADDRESS will not allow you to patch without providing a shipping address. This is because that option requires that you supply the shipping address, rather than PayPal. There is another option you can use GET_FROM_FILE, that option will get the shipping address from the PayPal Account. You would be able to submit a patch request without needing to add shipping. Of course if you do not need the shipping address the final option is NO_SHIPPING, which does not supply a shipping address and does not require one.
Here are the shipping_preference details:
https://developer.paypal.com/docs/api/orders/v2/#definition-experience_context_base
Thank you,
Jennifer
MTS
PayPal

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox account collect billing and shipping address in Sandbox Environment
- Should merchant pay for full refund if wrong item was shipped ? in PayPal Reporting
- Shopify PayPal integration, customer authorized multiple times in PayPal Payments Standard
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- Error payment in PayPal Payments Standard