Skip to main content
Solved

Vendor Price Worksheet API


Hi!, Just wanted to ask on how to create new Vendor Price Worksheet thru API?

What Params, Body should I send?

Best answer by yhartman

Hi,

You can create Vendor Price Worksheets with the below.

URL: {YourSite}/entity/{EndpointName}/{EndpointVersion}/VendorPriceWorksheet

Method: PUT

Body: Demo Example

{
    "Description": {
        "value" : "Price from API"
    },
    "VendorSalesPrices": [
        {
            "Vendor": {
                "value": "AASERVICES"
            },
            "InventoryID": {
                "value": "AACOMPUT01"
            },
            "UOM": {
                "value": "EA"
            },
            "PendingPrice": {
                "value": 1.5
            }
        },
                {
            "Vendor": {
                "value": "ALPINEAIR"
            },
            "InventoryID": {
                "value": "CONAIRT1"
            },
            "UOM": {
                "value": "EA"
            },
            "PendingPrice": {
                "value": 1.5
            }
        }
    ]
}

To see the other fields you can access go to the Web Service Endpoints (SM207060) screen.

You can learn more about Api Integrations on Acumatica’s Open University.

https://openuni.acumatica.com/courses/integration/

 

I hope this helps!

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+3
  • Jr Varsity I
  • 61 replies
  • Answer
  • March 17, 2024

Hi,

You can create Vendor Price Worksheets with the below.

URL: {YourSite}/entity/{EndpointName}/{EndpointVersion}/VendorPriceWorksheet

Method: PUT

Body: Demo Example

{
    "Description": {
        "value" : "Price from API"
    },
    "VendorSalesPrices": [
        {
            "Vendor": {
                "value": "AASERVICES"
            },
            "InventoryID": {
                "value": "AACOMPUT01"
            },
            "UOM": {
                "value": "EA"
            },
            "PendingPrice": {
                "value": 1.5
            }
        },
                {
            "Vendor": {
                "value": "ALPINEAIR"
            },
            "InventoryID": {
                "value": "CONAIRT1"
            },
            "UOM": {
                "value": "EA"
            },
            "PendingPrice": {
                "value": 1.5
            }
        }
    ]
}

To see the other fields you can access go to the Web Service Endpoints (SM207060) screen.

You can learn more about Api Integrations on Acumatica’s Open University.

https://openuni.acumatica.com/courses/integration/

 

I hope this helps!


  • Author
  • Freshman I
  • 9 replies
  • March 19, 2024

Thank you! @yhartman 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings