Get credit_card_expiration_mont, credit_card_expiration_year in shopify

HuyVQ
New Member
3 0 0

I cannot find value types for these two fields(credit_card_expiration_month, credit_card_expiration_year).

Only null is given in the example. Is it an integer?

There is no description with an example for these two fields in the Reference.

0 Likes
GrahamS
Shopify Staff
Shopify Staff
134 21 29

Hello @HuyVQ ,

Can you provide me with a link to the documentation in question?

Best,

Graham

Graham S | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
HuyVQ
New Member
3 0 0
@GrahamS That document here i tried to get its value, can you help me get its value?

https://shopify.dev/api/admin/rest/reference/customers/customer

0 Likes
GrahamS
Shopify Staff
Shopify Staff
134 21 29

Hello @HuyVQ ,

Those fields would normally be integers, but it appears as though they are functionally deprecated and will generally return "null". I'll speak with the documentation team to see if we can have that clarified in the near future.

Graham S | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
HuyVQ
New Member
3 0 0

@GrahamS I tried calling to get the value but it doesn't seem to exist?

0 Likes