Download the PHP package ordersify/shopify-api-php without Composer
On this page you can find all versions of the php package ordersify/shopify-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ordersify/shopify-api-php
More information about ordersify/shopify-api-php
Files in ordersify/shopify-api-php
Informations about the package shopify-api-php
:rocket: PHP SDK for the Shopify API
Installation
Install via composer
Quick Start
Initialize the client
You first need to initialize the client. For that you need your Shop Name and AccessToken
Use Manager to manipulate your data;
-
Lists products
-
Lists products by pagination
-
Get the specified product
-
Creates a new product
- Removes the product by its id
The product is an instance of Slince\Shopify\Manager\Product\Product
; You can access properties like following:
Available managers:
- Article
- Asset
- Blog
- CarrierService
- Collect
- Comment
- Country
- CustomCollection
- Customer
- CustomerAddress
- CustomerSavedSearch
- DiscountCode
- DraftOrder
- Fulfillment
- FulfillmentService
- InventoryItem
- InventoryLevel
- Location
- Order
- OrderRisk
- Page
- Policy
- PriceRule
- Product
- ProductImage
- ProductVariant
- Province
- RecurringApplicationCharge
- Redirect
- Refund
- ScriptTag
- ShippingZone
- Shop
- SmartCollection
- Theme
- Transaction
- Webhook
You can access the manager like $client->getProductManager()
, $client->getOrderManager()
.
Basic CURD
If you don't like to use managers, you can also manipulate data like this:
The returned value is just an array;
LICENSE
The MIT license. See MIT
All versions of shopify-api-php with dependencies
guzzlehttp/guzzle Version ^6.0|^7.0
doctrine/inflector Version ^1.0|^2.0
doctrine/cache Version ^1.0
slince/di Version ^3.0
jms/serializer Version ^1.0
symfony/yaml Version ^2.0|^3.0|^4.0