Skip to content

Commit 174c304

Browse files
authored
Merge pull request #4 from borasocom-team/main
Update orders.graphql.twig for add new fields to the order query
2 parents 4daebfc + 2ce3d9b commit 174c304

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Connector/ShopifyBaseConnector.php

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ protected function defaultHeaders(): array
3939
{
4040
return [
4141
'Content-Type' => 'application/graphql',
42+
'Accept' => 'application/graphql-response+json, application/json',
4243
'X-Shopify-Access-Token' => $this->arrConfig["access_token"]
4344
];
4445
}

src/Resources/views/request/shopify/graphql/orders.graphql.twig

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
}
9595
}
9696
}
97+
{% block shopifyOrderField %}{% endblock %}
9798
totalDiscountsSet {
9899
shopMoney {
99100
amount

0 commit comments

Comments
 (0)