How we can get the Personal Customs Code (PCCC) through shopify Order API

How we can get the Personal Customs Code (PCCC) through shopify Order API

Shivpal
Shopify Partner
6 0 4

Hello, 

We have Personal Customs Code with in the order but we are not getting this through order API 

Here is the order 

Shivpal_0-1615795262184.png

 

We are not getting the Personal Customs Code. Please suggest how to get it through api?

Replies 8 (8)

Jivan_Suhagiya
Shopify Partner
595 82 126

Hi,
Are you getting that data in API response? How customers adding that data?

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
andyhobday
Tourist
6 0 0

This field appears only on the payment page in the checkout process on the online store for South Korean customers. They must enter their Personal Customs Code (PCCC) or parcels may be destroyed.  My question is how do you pull this information onto the customer's invoice and if possible add it to their address enabling it to be included on their shipping labels?

Shivpal
Shopify Partner
6 0 4

Any update on this issue? 

Mirror_of_Exist
Excursionist
16 0 3

Same problem.

PCCC is being collected by the Shopify checkout - where is it located in the API so we can add it to outgoing shipments? We have thousands of dollars of packages now held in KR customs due to this issue. Please resolve ASAP.

Mirror_of_Exist
Excursionist
16 0 3

There seems to be some information about how to access this using GraphQL here:

https://shopify.dev/tutorials/manage-country-fields-using-localization-extensions

However I am not familiar with GraphQL, have not tested this works, and I do not see any way to access it via the REST API.

Can we get an official word from Shopify on how to access this critical information via the REST API or have it added to addresses provided by the REST API by default?

Shivpal
Shopify Partner
6 0 4

Can we hear from Shopify support?

EthanLuo
Visitor
2 0 0

You can access this parameter via graphql endpoint.

EthanLuo
Visitor
2 0 0

Thank u so much sir. 

I have tested that the Personal Customs Code can be fetched via graphql endpoint.

By the way, there's so many parameters/attributes of shopify orders can only be fetched via graphql, such as utm parameters, session moments record and Personal Customs Code.