To gets a list of all shipments on an order., Following API need to be used. Request: GEThttps://api.bigcommerce.com/stores/{store_hash}/v2/orders/{order_id}/shipments AuthenticationX-Auth-Token in header Parameters– {store_hash} string– Accept in header with default of application/json – string – required– {order_id} – integer – required – ID of the order.Responses:1) 200 (success – Order object returned in responses)2) 400 (error code… Continue reading Big Commerce – Get Order Shipments via API
Author: Swapna Lazar
Big Commerce API: Fetch Orders with criteria
The below API can be used to retrieve the orders from Big commerce based on the order status and date. {storehash} is the value generated on setting API in account.statusId is the Id for order status that are used for statuses such as shipped, completed, pending etc.minDate is the minimum date filter.maxDate is the maximum… Continue reading Big Commerce API: Fetch Orders with criteria
Disable Item Line fields in Workflow action script
The below sample script can be used to disable the item sublist fields in transaction records in Workflow action script
Proposal for Vendor record creation in NetSuite via External form
Proposal Summary This proposal covers the scope of creating a vendor record in NetSuite using an external form as required by MegaResistors. A custom suitelet page link will be created and will be shared with Maga Resistors.On clicking the link, the user will be navigated to the custom page, After entering the data and on… Continue reading Proposal for Vendor record creation in NetSuite via External form
Disable Item Sublist fields in User Event Script
Sample code for Disabling the item sublist fields in Before Load of User event Script
Creating order level refunds in Big Commerce using REST API
API : https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/orders/{order_id}/payment_actions/refunds STORE_HASH – Obtained on Creating Client APIOrder_id – Order id of the sales orderRequest sample:POST https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/orders/{order_id}/payment_actions/refundsX-Auth-Token: {{ACCESS_TOKEN}}Content-Type: application/jsonAccept: application/json {“order_id”: 1234,“items”: [{“item_type”: “ORDER”, // Refund a tax-exempt custom amount“item_id”: 1234, // Order ID“amount”: 1, // Amount to refund}],“payments”: […]}
Proposal for BigCommerce- NetSuite integration via REST API
PROPOSAL SUMMARY This proposal covers the scope of BigCommerce – NetSuite Integration via REST API. REQUIREMENT A solution to sync the Items, customers, Orders, Shipments, Refund between Big Commerce and NetSuite. PREREQUSITES Need to create Account API prior to integration in Big Commerce. Only store owner account in Big Commerce can set up Account API. So, the… Continue reading Proposal for BigCommerce- NetSuite integration via REST API
Proposal for handling automatic selection of lot number on Item fulfillment record
REQUIREMENT: An automated system in NetSuite that selects the Lot number in the Item Fulfillment record based on the expiry date. The system should automatically choose the Lot with the nearest expiry date for item fulfillment. The Lot that is closest to its expiration date should be automatically selected in the Item Fulfillment process. DELIVERABLES … Continue reading Proposal for handling automatic selection of lot number on Item fulfillment record
Removing Items from Sublist
When removing lines from a sublist with SuiteScript, it’s best to work your way up from the bottom of the list. Removing the first line item, for example, changes the index value for all of the other line items. Then, trying to remove the line with the index count gives you SSS_INVALID_SUBLIST_OPERATION because a line… Continue reading Removing Items from Sublist