From f4c6d27c1ded7c1c3849c0895c9b3ac070269449 Mon Sep 17 00:00:00 2001 From: Alec Geatches Date: Mon, 27 Jan 2025 15:15:58 -0700 Subject: [PATCH] Fix types and SFCC output schema mapping (#339) --- inc/Integrations/SalesforceB2C/SalesforceB2CIntegration.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/Integrations/SalesforceB2C/SalesforceB2CIntegration.php b/inc/Integrations/SalesforceB2C/SalesforceB2CIntegration.php index 05fa59f96..f3aeab077 100644 --- a/inc/Integrations/SalesforceB2C/SalesforceB2CIntegration.php +++ b/inc/Integrations/SalesforceB2C/SalesforceB2CIntegration.php @@ -116,18 +116,18 @@ private static function get_queries( SalesforceB2CDataSource $data_source ): arr 'type' => [ 'product_id' => [ 'name' => 'product id', - 'path' => '$.productid', + 'path' => '$.productId', 'type' => 'id', ], 'name' => [ 'name' => 'product name', - 'path' => '$.productname', + 'path' => '$.productName', 'type' => 'string', ], 'price' => [ 'name' => 'item price', 'path' => '$.price', - 'type' => 'price', + 'type' => 'string', ], 'image_url' => [ 'name' => 'item image url',