项目作者: efoli-llc

项目描述 :
SDK to get order data from Inkybay Shopify order API.
高级语言: PHP
项目地址: git://github.com/efoli-llc/inkybay-shopify-order-sdk.git
创建时间: 2020-01-22T12:51:58Z
项目社区:https://github.com/efoli-llc/inkybay-shopify-order-sdk

开源协议:

下载


SDK to get order data from Inkybay Shopify order API.

SDK to get order data from Inkybay Shopify order API.


Follow the steps to setup SDK with Inkybay Shopify order API


  1. Get your AccessKey, SecretKey & setup Hook URL

    Inkybay=>Settings=>Add-Ons=>Order Batch Download & Exporter=>Settings

    After “Activate API” you will get your AccessKey, SecretKey

    Hook URL is your server URL, where API will send ‘orderId’ & ‘itemId’ after the order process completed.


  2. Setup SDK

    Open conf.php and edit :

    Set your accessKey on ACCESS_KEY

    Set your secretKey on SECRET_KEY


  3. Get order item data

    Where you need the order item data, just add bellow code to your PHP file :



    require_once(‘conf.php’);

    $data = $orderService->getOrderItem(‘orderId’, ‘itemId’, ‘json’);



    You will get ‘orderId’, & ‘itemId’ from your hook URL by $_GET[‘orderId’] & $_GET[‘itemId’]

    Sample codes on : item.php


  4. Get order data

    Where you need all the order data, just add bellow code to your PHP file :



    require_once(‘conf.php’);

    $data = $orderService->getOrder(‘orderId’, ‘json’);



    You will get ‘orderId’ from your hook URL by $_GET[‘orderId’]

    Sample codes on : order.php





    —- Thanks.

    Hope you will enjoy this SDK



    NB : This SDK is only for Shopify store owner who installed Inkybay app of Shopify




    Powered By : eFoli, LLC