Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

What is customer​Payment​Method​Credit​Card​Update API's sessionId argument ?

Solved

What is customer​Payment​Method​Credit​Card​Update API's sessionId argument ?

camelmasa
Shopify Partner
83 10 27

Hi,

 

What is customer​Payment​Method​Credit​Card​Update API's sessionId argument?

https://shopify.dev/api/admin-graphql/2021-07/mutations/customerpaymentmethodcreditcardupdate


How do I get the session id?

 

Thanks

Accepted Solution (1)
pranab
Shopify Staff
27 3 3

This is an accepted solution.

Hi camelmasa,

Updating an order's billing address is not possible. The billing address field is immutable after an order is created.

Here is a link with a response to a similar question which is still valid:
https://community.shopify.com/c/shopify-apis-and-sdks/admin-api-orders-update-billing-address/td-p/3...

Thanks,

Pranab

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 4 (4)

pranab
Shopify Staff
27 3 3


It is not possible to have a session id for the API at the moment. Can you please clarify what you are trying to do with the API? Maybe we can look into other ways of achieving your use case.

Thank you

Pranab 

To learn more visit the Shopify Help Center or the Community Blog.

camelmasa
Shopify Partner
83 10 27

Hi, Thanks for replying!

Sure. We'd like to update an order's billing address using the API.
Is it possible?

Thanks

pranab
Shopify Staff
27 3 3

This is an accepted solution.

Hi camelmasa,

Updating an order's billing address is not possible. The billing address field is immutable after an order is created.

Here is a link with a response to a similar question which is still valid:
https://community.shopify.com/c/shopify-apis-and-sdks/admin-api-orders-update-billing-address/td-p/3...

Thanks,

Pranab

To learn more visit the Shopify Help Center or the Community Blog.

camelmasa
Shopify Partner
83 10 27

Hi,

We encounter problems.
Shopify makes an order by calling subscriptionBillingattemptCreate API.

The order's billing address's name is a credit card's first name and last name. I think it's not a problem in the English region. In the case of Japan, We expect a name in Kanji (like 齊藤 正浩).
Also, A billing address's address2 (maybe building name) is blank.

 

Thanks,