Regading Inventory API

I am working with inventory API in tha invetery adjesment while returning the joson data from that api we are not getting source_id, Source_name in the results, how we want to add data to source_id , source _name

Could you clarify what you’re trying to do? Based on the response in the tech ref: https://developer.squareup.com/reference/square/inventory-api/retrieve-inventory-adjustment has a source object with application_id and name as fields. Is that what you’re looking for?