| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
RESTAPI Question to Retrieve Order Details | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: RESTAPI Question to Retrieve Order Details
Tony,
That did the trick! That gives me exactly what I needed. One last question so I can be self sufficient in the future. I have read all the API documentation, forums, google, etc. and can't seem to find a list of all the _path parameters. I have read the section on "How exactly I can pull/change different entities" and it references the classes like Xlite\Model\Order being described somewhere. How can I get access to this information? I currently don't have access to the X-cart folders on the webserver and have only been given API access to the store. Thanks again Tony, I really appreciate the help.
__________________
Ben |
|||||||
#12
|
|||||||||
|
|||||||||
Re: RESTAPI Question to Retrieve Order Details
Quote:
You are always welcome. All available paths are basically all available model classes existing in X-Cart. There is a section about it in REST API guide: http://kb.x-cart.com/display/XDD/REST+API+documentation#RESTAPIdocumentation-HowexactlyIcanpull/changedifferententities Please have a look at it and if there are still questions after reading, please let me know. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#13
|
|||||||
|
|||||||
Re: RESTAPI Question to Retrieve Customer Address
Hello,
We want to retrieve customer/use address details from single User module and also from order related customers... Using customer id.. says id=88; We are trying to get hid address details. using follow request. $addressDetails = $customerDetails['addresses']; We are getting the array called is_billing=1 and is_shipping=1 Form that id we are trying to fetch the bolling address and shipping address of particular customer... E.g address_id is 345; billingaddressID=$addressDetails[$j]['address_id']; When we ftech the records all the indexes are different for every customer. How can we get correct information like first name,last name. street,city,country from that index.?? [addressFields] => Array ( [0] => Array ( [id] => 989 [value] => TG ) [1] => Array ( [id] => 990 [value] => ashish ) [2] => Array ( [id] => 991 [value] => user ) [3] => Array ( [id] => 992 [value] => 101 S Main St ) [4] => Array ( [id] => 993 [value] => Los Angeles ) [5] => Array ( [id] => 994 [value] => 562 ) [6] => Array ( [id] => 995 [value] => California ) [7] => Array ( [id] => 996 [value] => 90012-3701 ) [8] => Array ( [id] => 997 [value] => ) ) Above Index changes its value for every customer. How can we fix this issue?
__________________
ashish Xcart version :-X-Cart Business 5.3.2.8 |
|||||||
#14
|
|||||||||
|
|||||||||
Re: RESTAPI Question to Retrieve Order Details
Try to retrieve profiles by the e-mail address as follows (this is an URL, but you can do the same from your scripts):
admin.php?target=RESTAPI&_key=YOUR_KEY&_path=profi le&_cnd[login]=USER_EMAIL&_schema=complex
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#15
|
|||||||
|
|||||||
Retriving the Updated Products
Hello,
I want to retrieve all the details of prducts which are updated in last 24 hours using API. When i update any product all products date get updated. So it fetches all the products again. But I want to retrieve only the products which dates has -1 day from current date. So how can I get only updated / created products of -1 day.
__________________
ashish Xcart version :-X-Cart Business 5.3.2.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|