Skip to content

Instantly share code, notes, and snippets.

@jaredh159
Created December 18, 2024 19:39
Show Gist options
  • Save jaredh159/07a4ddf72f68d4ae74d7da97b40d5c97 to your computer and use it in GitHub Desktop.
Save jaredh159/07a4ddf72f68d4ae74d7da97b40d5c97 to your computer and use it in GitHub Desktop.
another lulu fail
curl --silent -X POST \
--location 'https://api.lulu.com/print-job-cost-calculations/' \
--header 'Authorization: Bearer NOT-REAL' \
--header 'Cache-Control: no-cache' \
--header 'Content-Type: application/json' \
--data '{
"line_items": [
{
"page_count": 32,
"pod_package_id": "0600X0900BWSTDPB060UW444MXX",
"quantity": 20
},
{
"page_count": 324,
"pod_package_id": "0425X0687BWSTDPB060UW444GXX",
"quantity": 200
}
],
"shipping_address": {
"city": "RTP",
"country_code": "US",
"postcode": "90210",
"state_code": "CA",
"street1": "I totally made this up",
"phone_number": "12065550100"
},
"shipping_option": "EXPRESS"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment