How can I get Warranty info from command line of New Macbooks with Apple M1 chip With 10 characters Serial Number
This thread shows that I can get the warranty info of my macs from the command line
https://discussions.apple.com/thread/4942122
This is the command to get this warranty info
curl -o - "http://support-sp.apple.com/sp/product?cc=DHJP&lang=en_US"
Where "DHJP" is the last characters from the Serial Number.
Also, someone said that regarding the number of characters of the Serial Number, this string size changes too.
If the serial number of the system has 12 characters, the url uses the last 4.
If the serial number has 11 chracters, the url uses the last 3.
My new Macbook Pro 16" M1, has 10 characters Serial Number. And it does not work, no matter the size of the Serial Number I put in that URL.
Do you have any alternative website or URL that works with these Macbooks?
MacBook Pro (2020 and later)