Array
(
    [token] => b17t7abm0i269nr9ikjjjj2rhdmmpkh8
    [secret] => 4hucntdhisi8n58f8vsq6np91p61vias
    [baseUrl] => https://printos.api.hp.com/siteflow
)





********************************* Sent: *********************************


{"orderData":{"shipments":[{"shipTo":{"town":"new york","isoCountry":"new york","state":"ny","name":"shahaf antwarg","phone":"0544337335","address1":"halechi 27 st","email":"shahaf@b2cprint.com","postcode":"55555"},"carrier":{"code":"customer","service":"pickup"}}],"items":[{"sku":"b2c card","sourceItemId":1,"components":[{"path":"http:\/\/example.com\/file.pdf","code":"Content","fetch":"true"}],"quantity":1}],"postbackAddress":"http:\/\/example.com","sourceOrderId":"123"},"destination":{"name":"hp.hpdrupa2016"}}
Array
(
    [orderData] => Array
        (
            [shipments] => Array
                (
                    [0] => Array
                        (
                            [shipTo] => Array
                                (
                                    [town] => new york
                                    [isoCountry] => new york
                                    [state] => ny
                                    [name] => shahaf antwarg
                                    [phone] => 0544337335
                                    [address1] => halechi 27 st
                                    [email] => shahaf@b2cprint.com
                                    [postcode] => 55555
                                )

                            [carrier] => Array
                                (
                                    [code] => customer
                                    [service] => pickup
                                )

                        )

                )

            [items] => Array
                (
                    [0] => Array
                        (
                            [sku] => b2c card
                            [sourceItemId] => 1
                            [components] => Array
                                (
                                    [0] => Array
                                        (
                                            [path] => http://example.com/file.pdf
                                            [code] => Content
                                            [fetch] => true
                                        )

                                )

                            [quantity] => 1
                        )

                )

            [postbackAddress] => http://example.com
            [sourceOrderId] => 123
        )

    [destination] => Array
        (
            [name] => hp.hpdrupa2016
        )

)



********************************* Response: *********************************



{"message":"An unexpected error occurred"}
Array
(
    [message] => An unexpected error occurred
)