-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from aligent/fix/44-incorrect-url-for-get-all-…
…metafields Fix incorrect url for all metafields apis
- Loading branch information
Showing
10 changed files
with
106 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
### Bug Fix | ||
|
||
Fix issue with all batch operations under PHP 7.4 | ||
Fix issue with Metafield APIs not working. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
40 changes: 40 additions & 0 deletions
40
tests/BigCommerce/responses/orders__1__metafields__get_all.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"permission_set": "app_only", | ||
"namespace": "Warehouse Locations", | ||
"key": "Location", | ||
"value": "4HG", | ||
"description": "Location in the warehouse", | ||
"resource_type": "brand", | ||
"resource_id": 1, | ||
"id": 6, | ||
"created_at": "1973-01-20T21:34:57.903Z", | ||
"updated_at": "1990-12-30T00:29:23.515Z" | ||
}, | ||
{ | ||
"permission_set": "read", | ||
"namespace": "Warehouse Locations", | ||
"key": "Location", | ||
"value": "4HG", | ||
"description": "Location in the warehouse", | ||
"resource_type": "order", | ||
"resource_id": 1, | ||
"id": 6, | ||
"created_at": "1973-01-20T21:34:57.903Z", | ||
"updated_at": "1990-12-30T00:29:23.515Z" | ||
} | ||
], | ||
"meta": { | ||
"pagination": { | ||
"total": 2, | ||
"count": 2, | ||
"per_page": 50, | ||
"current_page": 1, | ||
"total_pages": 1, | ||
"links": { | ||
"current": "?page=1&limit=50" | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
tests/BigCommerce/responses/orders__2__metafields__3__get.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"data": { | ||
"id": 3, | ||
"key": "location_id", | ||
"value": "Shelf 3, Bin 5", | ||
"namespace": "Inventory Namespace", | ||
"permission_set": "read", | ||
"resource_type": "order", | ||
"resource_id": 2, | ||
"description": "Where products are located", | ||
"date_created": "2018-09-13T16:42:37+00:00", | ||
"date_modified": "2018-09-13T16:42:37+00:00" | ||
}, | ||
"meta": {} | ||
} |