BOOM
Update Order id: 16931--------------------------
Variation ID: 7490 Size: 3 Plan: 2
json to CRM
{"onboardingCode":"31WVLZY3A0S0H95YHP2L","thirdPartySysId":16931,"buyerSalutation":"","buyerFirstName":"Cody","buyerLastName":"Anderson","buyerEmail":"cody030885@hotmail.com","buyerPhoneNumber":"3466642265","buyerAddress":"501 Sarah Deel Drive Apt 237 ","buyerCity":"Webster","buyerState":"TX","buyerCountry":"US","buyerZipCode":"77598","customerSalutation":"","customerFirstName":"Mark and Debra","customerLastName":"Anderson","customerEmail":"","customerPhoneNumber":"","ship_address1":"802 Windy Wood Lane ","customerCity":"Sweeny","customerCountry":"US","customerState":"TX","customerZipCode":"77480","purchaseDateBuyerTime":"2023-07-14T15:19:31.000Z","purchaseDateUtc":"2023-07-14T15:19:31.000Z","totalPrice":"59900","totalCollarsPrice":"59900","shipmentPrice":0,"totalTax":0,"currency":"USD","purchaseSource":"PetPace website","cardLast4Digits":"","paymentType":"Credit Card","paymentProcessor":"Stripe","paymentReferenceId":"Woo Order ID: 16931","leadReferenceId":"MarketingAd0001","status":1,"isPreOrder":false,"items":[{"thirdPartySysId":1693107490,"productThirdPartySysId":3,"subscriptionPlanId":2,"productPrice":0,"subscriptionPlanInitialPrice":"599","subscriptionPlanRecurrentPrice":"150","initialSubscriptionPeriodInMonths":"2","recurrentSubscriptionPeriodInMonths":12,"quantity":1,"totalPrice":"599"}]}
CRM call Success
Array
(
[headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[date] => Fri, 26 Apr 2024 14:02:20 GMT
[content-type] => application/json
[vary] => Array
(
[0] => Origin
[1] => Access-Control-Request-Method
[2] => Access-Control-Request-Headers
)
[x-content-type-options] => nosniff
[x-xss-protection] => 1; mode=block
[cache-control] => no-cache, no-store, max-age=0, must-revalidate
[pragma] => no-cache
[expires] => 0
[x-frame-options] => DENY
[set-cookie] => JSESSIONID=3AAF455B3877F79BFAB9E6423E7F9638; Path=/; HttpOnly
)
)
[body] => {"payload":{"id":110,"thirdPartySysId":16931,"buyerSalutation":"","buyerFirstName":"Cody","buyerLastName":"Anderson","buyerEmail":"cody030885@hotmail.com","buyerPhoneNumber":"3466642265","buyerAddress":"501 Sarah Deel Drive Apt 237 ","buyerCity":"Webster","buyerState":"TX","buyerZipCode":"77598","buyerCountry":"US","customerSalutation":"","customerFirstName":"Mark and Debra","customerLastName":"Anderson","customerEmail":"","customerPhoneNumber":"","customerAddress":null,"customerCity":"Sweeny","customerState":"TX","customerZipCode":"77480","customerCountry":"US","purchaseDateUtc":"2023-07-14 15:19:31","purchaseDateBuyerTime":"2023-07-14 15:19:31","collarSize":null,"totalCollarsPrice":null,"totalCollarsQuantity":null,"couponId":null,"singleCollarPriceDiscount":null,"totalCollarsPriceDiscount":0.00,"shipmentPrice":0.00,"totalTax":0.00,"totalPrice":599.00,"currency":"USD","purchaseSource":"PetPace website","paymentType":"Credit Card","cardLast4Digits":null,"paymentProcessor":"Stripe","paymentReferenceId":"Woo Order ID: 16931","leadReferenceId":"MarketingAd0001","status":1,"isPreOrder":false,"productId":null,"productDescription":null,"orderItems":[{"id":63,"thirdPartySysId":1693107490,"orderId":110,"productId":3,"subscriptionPlanId":2,"productPrice":0.00,"subscriptionPlanInitialPrice":599.00,"subscriptionPlanRecurrentPrice":150.00,"initialSubscriptionPeriodInMonths":2,"recurrentSubscriptionPeriodInMonths":12,"quantity":1,"couponId":null,"discount":0.00,"discountQuantity":0,"totalPriceBeforeDiscount":0.00,"totalDiscount":0.00,"totalPrice":599.00,"createdAt":"2023-08-08 11:58:40"}],"onboardingCode":"PUFXZNE83GVMM7BVUO6Q"},"code":0}
[response] => Array
(
[code] => 200
[message] => OK
)
[cookies] => Array
(
[0] => WP_Http_Cookie Object
(
[name] => JSESSIONID
[value] => 3AAF455B3877F79BFAB9E6423E7F9638
[expires] =>
[path] => /
[domain] => apiv2-orion.pp-srv.com
[port] =>
[host_only] => 1
)
)
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[response:protected] => WpOrg\Requests\Response Object
(
[body] => {"payload":{"id":110,"thirdPartySysId":16931,"buyerSalutation":"","buyerFirstName":"Cody","buyerLastName":"Anderson","buyerEmail":"cody030885@hotmail.com","buyerPhoneNumber":"3466642265","buyerAddress":"501 Sarah Deel Drive Apt 237 ","buyerCity":"Webster","buyerState":"TX","buyerZipCode":"77598","buyerCountry":"US","customerSalutation":"","customerFirstName":"Mark and Debra","customerLastName":"Anderson","customerEmail":"","customerPhoneNumber":"","customerAddress":null,"customerCity":"Sweeny","customerState":"TX","customerZipCode":"77480","customerCountry":"US","purchaseDateUtc":"2023-07-14 15:19:31","purchaseDateBuyerTime":"2023-07-14 15:19:31","collarSize":null,"totalCollarsPrice":null,"totalCollarsQuantity":null,"couponId":null,"singleCollarPriceDiscount":null,"totalCollarsPriceDiscount":0.00,"shipmentPrice":0.00,"totalTax":0.00,"totalPrice":599.00,"currency":"USD","purchaseSource":"PetPace website","paymentType":"Credit Card","cardLast4Digits":null,"paymentProcessor":"Stripe","paymentReferenceId":"Woo Order ID: 16931","leadReferenceId":"MarketingAd0001","status":1,"isPreOrder":false,"productId":null,"productDescription":null,"orderItems":[{"id":63,"thirdPartySysId":1693107490,"orderId":110,"productId":3,"subscriptionPlanId":2,"productPrice":0.00,"subscriptionPlanInitialPrice":599.00,"subscriptionPlanRecurrentPrice":150.00,"initialSubscriptionPeriodInMonths":2,"recurrentSubscriptionPeriodInMonths":12,"quantity":1,"couponId":null,"discount":0.00,"discountQuantity":0,"totalPriceBeforeDiscount":0.00,"totalDiscount":0.00,"totalPrice":599.00,"createdAt":"2023-08-08 11:58:40"}],"onboardingCode":"PUFXZNE83GVMM7BVUO6Q"},"code":0}
[raw] => HTTP/1.1 200
Date: Fri, 26 Apr 2024 14:02:20 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Set-Cookie: JSESSIONID=3AAF455B3877F79BFAB9E6423E7F9638; Path=/; HttpOnly
{"payload":{"id":110,"thirdPartySysId":16931,"buyerSalutation":"","buyerFirstName":"Cody","buyerLastName":"Anderson","buyerEmail":"cody030885@hotmail.com","buyerPhoneNumber":"3466642265","buyerAddress":"501 Sarah Deel Drive Apt 237 ","buyerCity":"Webster","buyerState":"TX","buyerZipCode":"77598","buyerCountry":"US","customerSalutation":"","customerFirstName":"Mark and Debra","customerLastName":"Anderson","customerEmail":"","customerPhoneNumber":"","customerAddress":null,"customerCity":"Sweeny","customerState":"TX","customerZipCode":"77480","customerCountry":"US","purchaseDateUtc":"2023-07-14 15:19:31","purchaseDateBuyerTime":"2023-07-14 15:19:31","collarSize":null,"totalCollarsPrice":null,"totalCollarsQuantity":null,"couponId":null,"singleCollarPriceDiscount":null,"totalCollarsPriceDiscount":0.00,"shipmentPrice":0.00,"totalTax":0.00,"totalPrice":599.00,"currency":"USD","purchaseSource":"PetPace website","paymentType":"Credit Card","cardLast4Digits":null,"paymentProcessor":"Stripe","paymentReferenceId":"Woo Order ID: 16931","leadReferenceId":"MarketingAd0001","status":1,"isPreOrder":false,"productId":null,"productDescription":null,"orderItems":[{"id":63,"thirdPartySysId":1693107490,"orderId":110,"productId":3,"subscriptionPlanId":2,"productPrice":0.00,"subscriptionPlanInitialPrice":599.00,"subscriptionPlanRecurrentPrice":150.00,"initialSubscriptionPeriodInMonths":2,"recurrentSubscriptionPeriodInMonths":12,"quantity":1,"couponId":null,"discount":0.00,"discountQuantity":0,"totalPriceBeforeDiscount":0.00,"totalDiscount":0.00,"totalPrice":599.00,"createdAt":"2023-08-08 11:58:40"}],"onboardingCode":"PUFXZNE83GVMM7BVUO6Q"},"code":0}
[headers] => WpOrg\Requests\Response\Headers Object
(
[data:protected] => Array
(
[date] => Array
(
[0] => Fri, 26 Apr 2024 14:02:20 GMT
)
[content-type] => Array
(
[0] => application/json
)
[vary] => Array
(
[0] => Origin
[1] => Access-Control-Request-Method
[2] => Access-Control-Request-Headers
)
[x-content-type-options] => Array
(
[0] => nosniff
)
[x-xss-protection] => Array
(
[0] => 1; mode=block
)
[cache-control] => Array
(
[0] => no-cache, no-store, max-age=0, must-revalidate
)
[pragma] => Array
(
[0] => no-cache
)
[expires] => Array
(
[0] => 0
)
[x-frame-options] => Array
(
[0] => DENY
)
[set-cookie] => Array
(
[0] => JSESSIONID=3AAF455B3877F79BFAB9E6423E7F9638; Path=/; HttpOnly
)
)
)
[status_code] => 200
[protocol_version] => 1.1
[success] => 1
[redirects] => 0
[url] => https://apiv2-orion.pp-srv.com/marketing/v2/order
[history] => Array
(
)
[cookies] => WpOrg\Requests\Cookie\Jar Object
(
[cookies:protected] => Array
(
[JSESSIONID] => WpOrg\Requests\Cookie Object
(
[name] => JSESSIONID
[value] => 3AAF455B3877F79BFAB9E6423E7F9638
[attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[httponly] => 1
[domain] => apiv2-orion.pp-srv.com
)
)
[flags] => Array
(
[creation] => 1714140140
[last-access] => 1714140140
[persistent] =>
[host-only] => 1
)
[reference_time] => 1714140140
)
)
)
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)
)