Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "shopifyextras/shopify-php-api-wrapper",
"name": "zhandev/shopify-php-api-wrapper",
"description": "Shopify PHP (Guzzle) API Wrapper",
"type": "library",
"license": "MIT",
"version": "1.1.3",
"version": "1.1.5",
"homepage": "http://www.shopifyextras.com",
"authors": [
{
Expand All @@ -16,7 +16,7 @@
},
"require": {
"php": ">=5.4",
"guzzlehttp/guzzle": "~5.3|~6.0",
"guzzlehttp/guzzle": "~6.0",
"guzzlehttp/guzzle-services": "0.5.0",
"guzzlehttp/command": "0.7.0"
},
Expand Down
11 changes: 10 additions & 1 deletion src/resources/metafield.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"location" => "query",
"description" => "Show metafields last updated before date (format: 2008-12-31 03:00)"
),
"namepace" => array(
"namespace" => array(
"type" => "string",
"location" => "query",
"description" => "Show metafields with given namespace"
Expand Down Expand Up @@ -95,6 +95,15 @@
"location" => "uri",
"description" => "The ID of the Product.",
"required" => true
),
"namespace" => array(
"location" => "json",
"description" => "The namespace of the metafield"
),
"fields" => array(
"type" => "string",
"location" => "query",
"description" => "comma-separated list of fields to include in the response"
)
)
),
Expand Down
20 changes: 8 additions & 12 deletions src/resources/product.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,27 @@
"summary" => "Retrieve a list of all Products",
"responseModel" => "defaultJsonResponse",
"parameters" => array(
"ids" => array(
"location" => "query",
"description" => "Filter by Ids"
),
"limit" => array(
"type" => "integer",
"location" => "query",
"description" => "Amount of results (default: 50) (maximum: 250)"
),
"title" => array(
"location" => "query",
"description" => "Filter by product title"
),
"page" => array(
"type" => "integer",
"location" => "query",
"description" => "Page to show (default: 1)"
),
"since_id" => array(
"type" => "integer",
"location" => "query",
"description" => "Restrict results to after the specified ID"
),
"vendor" => array(
"type" => "string",
"location" => "query",
"description" => "Filter by product vendor"
),
Expand All @@ -51,12 +55,10 @@
"description" => "Filter by product handle"
),
"product_type" => array(
"type" => "string",
"location" => "query",
"description" => "Filter by product type"
),
"collection_id" => array(
"type" => "integer",
"location" => "query",
"description" => "Filter by collection id"
),
Expand All @@ -66,12 +68,10 @@
"description" => "Show products created after date (format: 2008-12-31 03:00)"
),
"created_at_max" => array(
"type" => "string",
"location" => "query",
"description" => "Show products created before date (format: 2008-12-31 03:00)"
),
"updated_at_min" => array(
"type" => "string",
"location" => "query",
"description" => "Show products last updated after date (format: 2008-12-31 03:00)"
),
Expand All @@ -81,22 +81,18 @@
"description" => "Show products last updated before date (format: 2008-12-31 03:00)"
),
"published_at_min" => array(
"type" => "string",
"location" => "query",
"description" => "Show products published after date (format: 2008-12-31 03:00)"
),
"published_at_max" => array(
"type" => "string",
"location" => "query",
"description" => "Show products published before date (format: 2008-12-31 03:00)"
),
"published_status" => array(
"type" => "string",
"location" => "query",
"description" => "published - Show only published products. unpublished - Show only unpublished products. any - Show all products (default)"
),
"fields" => array(
"type" => "string",
"location" => "query",
"description" => "comma-separated list of fields to include in the response"
)
Expand Down