UPS Integration

hello,
I try to create shipment UPS Account using python in response i get Shipment created successfully! but when i check in UPS View Shipping History did not see any shipment is created can any one help on this to create shipment in UPS
Thank you In Advance
import requests

version = “5”
url = “https://wwwcie.ups.com/api/shipments/” + version + “/ship”

query = {
“additionaladdressvalidation”: “string”
}

payload = {
“ShipmentRequest”: {
“Request”: {
“SubVersion”: “1801”,
“RequestOption”: “nonvalidate”,
“TransactionReference”: {
“CustomerContext”: “”
}
},
“Shipment”: {
“Description”: “Ship WS test”,
“Shipper”: {
“Name”: “ShipperName”,
“AttentionName”: “ShipperZs Attn Name”,
“TaxIdentificationNumber”: “123456”,
“Phone”: {
“Number”: “1115554758”,
“Extension”: " "
},
“ShipperNumber”: “”,
“FaxNumber”: “8002222222”,
“Address”: {
“AddressLine”: “2311 York Rd”,
“City”: “Timonium”,
“StateProvinceCode”: “MD”,
“PostalCode”: “21093”,
“CountryCode”: “US”
}
},
“ShipTo”: {
“Name”: “Happy Dog Pet Supply”,
“AttentionName”: “1160b_74”,
“Phone”: {
“Number”: “9225377171”
},
“Address”: {
“AddressLine”: “123 Main St”,
“City”: “timonium”,
“StateProvinceCode”: “MD”,
“PostalCode”: “21030”,
“CountryCode”: “US”
},
“Residential”: " "
},
“ShipFrom”: {
“Name”: “T and T Designs”,
“AttentionName”: “1160b_74”,
“Phone”: {
“Number”: “1234567890”
},
“FaxNumber”: “1234567890”,
“Address”: {
“AddressLine”: “2311 York Rd”,
“City”: “Alpharetta”,
“StateProvinceCode”: “GA”,
“PostalCode”: “30005”,
“CountryCode”: “US”
}
},
“PaymentInformation”: {
“ShipmentCharge”: {
“Type”: “01”,
“BillShipper”: {
“AccountNumber”: “”
}
}
},
“Service”: {
“Code”: “03”,
“Description”: “Express”
},
“Package”: {
“Description”: " ",
“Packaging”: {
“Code”: “02”,
“Description”: “Nails”
},
“Dimensions”: {
“UnitOfMeasurement”: {
“Code”: “IN”,
“Description”: “Inches”
},
“Length”: “10”,
“Width”: “30”,
“Height”: “45”
},
“PackageWeight”: {
“UnitOfMeasurement”: {
“Code”: “LBS”,
“Description”: “Pounds”
},
“Weight”: “5”
}
}
},

}
}

headers = {
“Content-Type”: “application/json”,
“transId”: “string”,
“transactionSrc”: “testing”,
“Authorization”: “Bearer ”
}

response = requests.post(url, json=payload, headers=headers, params=query)
data = response.json()

if response.status_code == 200:
print(“Shipment created successfully!”)
data = response.json()
else:
print(“Failed to create shipment. Status code:”, response.status_code)
print(“Error message:”, response.text)

data = response.json()

Hi @Kaushal_Khute,

Please check it.

I think the issue is in the version.
If version 5 is supported then use v5.

Thank You!

Thank you for response but issue is i am using Testing api