Create a new class Shopify with getClient() method

Created on 13 July 2023, over 1 year ago
Updated 24 July 2023, over 1 year ago

Problem/Motivation

Shopify::getClient() will return a client object from the official PHP SDK: https://github.com/Shopify/shopify-api-php
In the next tasks, we'll start using this client and replacing existing shopify_get_api_client() method.

Ideally, ::getClient() will be creating only one instance and re-using it for the subsequent calls.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Matroskeen πŸ‡ΊπŸ‡¦ Ukraine, Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024