public
mixed
|
#
__construct( string $url, string $apiKey )
Client creating
Parameters
Returns
mixed
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
#
ordersEdit( array $order, mixed $by = 'externalId' )
Edit a order
Parameters
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
ordersUpload( array $orders )
Upload array of the orders
Upload array of the orders
Parameters
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
ordersGet( string $id, string $by = 'externalId' )
Get order by id or externalId
Get order by id or externalId
Parameters
- $id
-
- $by
- (default: 'externalId')
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
ordersHistory( DateTime $startDate = null, DateTime $endDate = null, integer $limit = 100, integer $offset = 0, boolean $skipMyChanges = true )
Returns a orders history
Parameters
- $startDate
- (default: null)
- $endDate
- (default: null)
- $limit
- (default: 100)
- $offset
- (default: 0)
- $skipMyChanges
- (default: true)
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
ordersList( array $filter = array(), integer $page = null, integer $limit = null )
Returns filtered orders list
Returns filtered orders list
Parameters
- $filter
- (default: array())
- $page
- (default: null)
- $limit
- (default: null)
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
ordersFixExternalIds( array $ids )
Save order IDs' (id and externalId) association in the CRM
Save order IDs' (id and externalId) association in the CRM
Parameters
Returns
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
#
customersEdit( array $customer, mixed $by = 'externalId' )
Edit a customer
Parameters
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
customersUpload( array $customers )
Upload array of the customers
Upload array of the customers
Parameters
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
customersGet( string $id, string $by = 'externalId' )
Get customer by id or externalId
Get customer by id or externalId
Parameters
- $id
-
- $by
- (default: 'externalId')
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
customersList( array $filter = array(), integer $page = null, integer $limit = null )
Returns filtered customers list
Returns filtered customers list
Parameters
- $filter
- (default: array())
- $page
- (default: null)
- $limit
- (default: null)
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
customersFixExternalIds( array $ids )
Save customer IDs' (id and externalId) association in the CRM
Save customer IDs' (id and externalId) association in the CRM
Parameters
Returns
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
#
deliveryServicesEdit( array $data )
Edit deliveryService
Parameters
- $data
- delivery service data
Returns
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
#
paymentStatusesEdit( array $data )
Edit paymentStatus
Parameters
- $data
- payment status data
Returns
|
public
RetailCrm\Response\ApiResponse
|
|
public
RetailCrm\Response\ApiResponse
|
#
productStatusesEdit( array $data )
Edit productStatus
Parameters
- $data
- product status data
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
statusesEdit( array $data )
Edit order status
Parameters
Returns
|
public
RetailCrm\Response\ApiResponse
|
#
statisticUpdate( )
Update CRM basic statistic
Update CRM basic statistic
Returns
|
protected
boolean
|
|