3 weeks ago
I'm having 400 Bad Request error when I tried to update a Business Partner's billing address. But it worked for Inserting new Business Partner. Here is a sample request
PATCH /b1s/v1/BusinessPartners('AC03201')
{
"BPAddresses": [
{
"AddressName": "Test Imaging Site 4",
"Street": "94 Forest Manor Road",
"ZipCode": "M2J 0E5",
"City": "Toronto",
"Country": "CA",
"State": "ON",
"AddressType": "bo_BillTo",
"BPCode": "AC03201",
"RowNum": 0
}
]
}
{
"CardCode": "AC03201",
"CardName": "Test 4",
"Valid": "tNO",
"BPAddresses": [
{
"AddressName": "Test Imaging Site 4",
"Street": "88 Forest Manor Road",
"ZipCode": "M2J 0E5",
"City": "Toronto",
"Country": "CA",
"State": "ON",
"AddressType": "bo_BillTo",
"BPCode": "AC03201",
"RowNum": 0
}
]
}
HTTP PATCH on resource '/b1s/v1/BusinessPartners('AC03201')' failed: bad request (400).
Edit: Figured out the issue, when Valid is No, the Frozen field needs to be set as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
105 | |
8 | |
6 | |
6 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.