Last active
May 19, 2025 15:09
-
-
Save atcraigwatson/db9f52b2093ee38c9f5bc048a96bb361 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The fixed test payload | |
$payload = [ | |
"publicationId" => "66b1e9ee6f1bbc067ba2834d", | |
"copies" => 1, | |
"metadata" => [ | |
"externalOrderId" => "ORDER-123456", | |
"statusCallbackUrl" => "https://example.com/callback" | |
], | |
"deliveryAddress" => [ | |
"company" => "Holmes Investigations", | |
"firstName" => "Sherlock", | |
"lastName" => "Holmes", | |
"postcode" => "NW1 6XE", | |
"line1" => "221B Baker Street", | |
"line2" => "string", | |
"line3" => "string", | |
"town" => "London", | |
"county" => "Marylebone", | |
"country" => "GB", | |
"phoneNumber" => "+44 1923 594 252", | |
"emailAddress" => "[email protected]" | |
], | |
"paymentMethod" => "TEST_ORDER" | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment