Hi i am working in netSuite and PHP Toolkit. I want to update customer address how can i load load customer and update address. This is the customer object but how can i load specific customer for it.
$customer = new Customer();
I don't think I would bother with the PHP Toolkit. I did look at it and went down the RESTlet route. Much cleaner and you're not loading that library every time you make a call.
Related
I'm creating a headless WooCommerce application and I need to create a booking for a bookable product via an API request in Node.
Woo bookings shows this on their docs - essentially it says don't use - then I raised a ticket with the Store API team here - the answer appears to suggest we add the data ourselves, that's not good as we're then running a custom version of Woo.
Does anyone know how I can make a booking in WooCommerce via an API endpoint? It must have SOME kind of API or the frontend wouldn't work?!? It's handy to have because it means the customer runs what they've always run and get all the nice stuff like reminder texts and emails for their customers.
I need to create ShopWare 6 plugin that creates new orders from products that are received via AJAX POST request. I don't know how to do that. I googled and checked documentation but I couldn't find any info on how can it be done.
Does someone know how can it be done?
In my opinion, the best solution would be to create Cart object from products that you get from request probably you know context token so you can use the current customer's cart and add products to it, but also you can create a new cart and then call \Shopware\Core\Checkout\Cart\Order\OrderPersister::persist() method to persist order from your cart.
Take a look here how to load/create a Cart
\Shopware\Core\Checkout\Cart\SalesChannel\CartLoadRoute::load()
I have a page hosted on an external site and I would like to create a form on that page. The use of the form would be to collect data to create SO in Netsuite.
In the form itself, I would like to have an autopopulate functionality so that for e.g. when I put in "Kat" in End User contact, I see all contacts starting with "Kat". This will enable me to select a correct contact and also help prevent duplication of data. Can you please guide me on how to structure this flow. What Netsuite components should i be using? For the external site, it will use Django.
Thanks
You need to create a couple of RESTlets in NetSuite. One to perform a search to get the contacts and return them in the payload, and one to create sales order in NetSuite and populate it with the values provided in the payload.
How are you solving the issue with CORS?
I have a website in magento. iam using payment methods paypal, bank transfer and stripe. using multi store view(3)
Except paypal remaning payment methods are not showing in checkout process. i dont know what to do.
please help me any one,
Thanks,
For me was the usage of an external module with combination of onepage checkout.
In my case was Phoenix_CashOnDelivery and Phoenix_BankPayment
We have a hybris set up without any product data,Products are stored in MDM and displayed on front-end using another system(Java app).The request is sent to hybris when the user clicks checkout on the upstream system to create products in Hybris .
Is there an OOTB API in hybris which allows us to create the products with all mandatory fields dynamically.
You have different options to import new products within Hybris :
Use OCC, and update the existing ProductController to have a new API method to add a new product
Use the ant 'importimpex' target (Hybris V6)
Use the hot folder (CSV to Impex)
Use Hybris Data-Hub
Are you using Hybris to place the orders only ? Why are your products not already synchronized with Hybris ?
"we do not want to store any products in Hybris " - You can probably fetch product detail information from MDM, on Demand, either by lazy loading or by the hybris server acting as proxy to the MDM server. You will still need to maintain atleast a few product attributes in Hybris to be able to add a product to a cart/order, like product id or name.