Results 1 to 3 of 3

Thread: API Update Order - Some fields have no effect - why?

  1. #1
    Join Date
    Jun 2012
    Location
    South West England
    Posts
    224

    Default API Update Order - Some fields have no effect - why?

    The Update Single Order method of the API updates some fields but leaves some unchanged. I specifically mean user_id cannot be changed post creation but other fields can. I suspect this is by design but can someone explain why this is so and under what states some fields will or will not update. I'm not sure why they are included if they only respond back 'unchanged' to an update request which makes me think there must be some order state when they do work?
    Many thanks
    Rob

  2. #2
    Join Date
    Apr 2015
    Posts
    3

    Default

    Quote Originally Posted by Bandanashop View Post
    The Update Single Order method of the API updates some fields but leaves some unchanged. I specifically mean user_id cannot be changed post creation but other fields can. I suspect this is by design but can someone explain why this is so and under what states some fields will or will not update. I'm not sure why they are included if they only respond back 'unchanged' to an update request which makes me think there must be some order state when they do work?
    Many thanks
    Rob
    user_id field is a primary key (i think) so you wont be able to alter it as it internally links to orders, etc. It is there for a reference so it knows which record you are after.

    I

  3. #3
    Join Date
    Jun 2012
    Location
    South West England
    Posts
    224

    Default

    Quote Originally Posted by foxman View Post
    user_id field is a primary key (i think) so you wont be able to alter it as it internally links to orders, etc. It is there for a reference so it knows which record you are after.

    I
    I guessed that it would be a foreign key on an Order and a Primary key on User. It seems to be a Primary Key on Order as well! You should be able to change the User record for an Order should you not? You can do it through a browser.
    Regards
    Rob

Similar Threads

  1. What effect will changing a category name have
    By SarahT in forum Bluepark Technical Discussion
    Replies: 8
    Last Post: 03-05-2016, 17:51
  2. Cannot update quantity in stock using your Rest API Specifications form but it didn't
    By QuickBooksDev in forum Bluepark API and Developer Partners
    Replies: 3
    Last Post: 20-10-2014, 14:37
  3. API Update: Specification and Testing Tool
    By Rich in forum Bluepark API and Developer Partners
    Replies: 56
    Last Post: 06-12-2013, 10:13
  4. "Clear All Image Fields" update?
    By niche in forum Bluepark Technical Discussion
    Replies: 3
    Last Post: 29-07-2012, 15:30
  5. Exporting Specific Order Fields
    By Andybeats in forum Bluepark Technical Discussion
    Replies: 2
    Last Post: 22-06-2011, 17:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us

Bluepark's ecommerce software is developed, hosted and supported exclusively by ourselves, here in the UK, and has been so since the company was initially formed in 2004. Your brand new online shop will be hosted securely on our fast and reliable server network, using a domain name of your choice, providing the ability to build and maintain your ecommerce website, and manage your orders, from any location via your own secure online Administration Console.

A Bluepark ecommerce site is the perfect tool for selling online, whether you're selling physical products, digital downloads or services. You'll be in good company with over 1,000 UK customers who also form a friendly and helpful online community, further strengthening our highly acclaimed support network.

Find us on...