My Project
  1. Post
My Project
  • OUTBACK APIs
    • User
      • Create User
      • Login User
      • Forgot Password
      • Validate otp
      • Reset Password
      • Social login
      • Search Post
      • Update User
      • Get Profile
      • Get User Profile for Web
      • Delete Account
      • Logout
      • Get All Users
      • Update FCM TOKEN
      • Verify User
      • Follow Unfollow User
      • Get User Connections
      • Check User
    • Post
      • Get Popular Categories Post
        GET
      • Add Post
        POST
      • Update Post
        PATCH
      • Get Post
        GET
      • Get My Post
        GET
      • Detail Post By Id
        GET
      • Get Trending Posts
        GET
      • Get Most Viewed Post
        GET
      • get specfic user post
        GET
      • Record Fav_Unfav post
        POST
      • Get Favt Post
        GET
      • Record Views
        POST
      • All Posts Views
        GET
      • Add Comment
        POST
      • Get Comments
        GET
      • Get Collection List
        GET
      • Get Post Collection
        GET
      • Remove Collection
        DELETE
      • Delete Post
        DELETE
      • Update Sold Type
        PUT
      • report post
        POST
      • update thumnail of posts
        POST
      • Convert To HLS
        POST
      • COMPRESS THUMBNAILS
        POST
      • Soft Delete Post
        DELETE
      • DECOMPRESS THUMBNAILS
        POST
    • ChatRoom/Messages
      • Create Chatroom
      • Send Message
      • Get Messages
      • Get ChatRoom
      • Update block status
      • Delete Message
    • Town Hall
      • Add townhall post
      • get town hall post
      • get specific user townhall post
      • reaction on townhall post
      • Add replies
      • get replies
      • Reaction On reply
      • get Location search
      • Report Townhall post
      • Delete TownHall Post
    • notfication
      • message notfication
      • message notfication
    • Category
      • Update Category
      • Get Model By Makes
      • get category V2
      • Add Category
      • Add subcategory
      • Get Categories
      • Delete Category
    • Payments
      • Add Card
      • Get Cards
      • Top up Wallet
      • Get Transaction History
      • View Wallet balence
      • Make Payments
      • Update Default Card
      • Add Bank Account
      • Update Bank Account
      • Withdraw to Bank Acc
    • PAYMENTS APIS
      • Create Setup Intent
      • Save Payment Method
      • For getting test payment Id
      • View Balance
      • Add funds to Account
      • Add Bank Account
      • Get User Bank Accounts
      • Select Default Bank Acc
    • System setting
      • User Count
    • Seeder
      • Seeder for adding views
  • UT
  • User
    • Get User
    • Get Presigned Url
    • Generate invite link
    • Verify Invite Link
    • Guest Signup
    • Trial Signup
    • Trial start
    • Trial extend
    • Get Signed URL
    • Forgot Password
    • Change Password
    • Reset Password
    • User Account Removal
    • User Account cacel subscription
    • User Account reinstated subscription
    • User Account pause subscription
    • User Account unpause subscription
    • User Subscribe sendy
  • Imagine API
    • Text to image
    • Remove Bg
    • AI Background Image
    • Enhance image
  • Profit Tracker
    • Get inventory stats
    • Get Inventory
    • Get net proft stats
  • Purchase Tool
    • Create Purchase listing tool
    • Fetch Purchase Tool List
    • Purchase listing detail
    • Item Mark as Sold
    • Edit Purchase Product Detail
    • Remove product
  • Product Analysis
    • Product Insights
    • Statistic
    • background Removal
  • Marketplace
    • Product Insights
  • FeedBack
    • Create feedback
  • Screenshot Analysis
    • Product Insights
    • Statistic
  • Product Search
    • Favourite Toogle
    • Update Product
    • Listing
  • Click Bank INS
    • Check blank notificaiton
  • Mobile payment Notifications
    • Mobile payment webhook
  • Sendy
    • email-subscription
    • email-unsubscribe
  • Ebay
    • g
    • Auth app token
    • Generate Auth URL
    • Auth callback
    • Auth refresh token
    • Create listing
    • Publish listing
    • Get seller list
    • Get rate limits
    • Get best deals
    • Delete listing
  • Admin
    • Get All Users
    • Trial user completed
    • User stats
  • Error
    • send error
  1. Post

Update Post

Developing
PATCH
/post-mgt/get-posts/edit-post

Request

Query Params

Header Params

Body Params application/json

Example
{
    "postDetails": {
        "title": "A5 Audi",
        "additional_props": {
            "variant": {
                "key": "ferrai",
                "value": "ferrari"
            }
        }
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://dev.outbackmarketplace.com/api/v1/post-mgt/get-posts/edit-post?post_id' \
--header 'Authorization: bearer accessToken' \
--header 'Content-Type: application/json' \
--data-raw '{
    "postDetails": {
        "title": "A5 Audi",
        "additional_props": {
            "variant": {
                "key": "ferrai",
                "value": "ferrari"
            }
        }
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": 1,
    "statusCode": 200,
    "message": "upated post",
    "data": {
        "media": {
            "videoUrl": "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_8F2E20B8-1402-41AA-837D-EBB4330E6970-3349-00000146DCF93B78trim.3AB1D346-ABEC-4D67-8F01-CEE2AE8DFBB8.MOV",
            "videoThumbnail": "https://source.unsplash.com/300x200/?technology",
            "photoUrl": [
                "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_5A0BFD4E-151C-4994-850E-4F336F9C893E-3349-00000146EA1DCD75.jpg"
            ]
        },
        "postDetails": {
            "title": "A5 Audi",
            "description": "This is a detailed description of the laptop.",
            "category": "cars_vehicles",
            "additional_props": {
                "make": {
                    "key": "audi",
                    "value": "Audi"
                },
                "variant": {
                    "key": "audi A5",
                    "value": "Ferrari 448"
                },
                "body_type": {
                    "key": "coupe",
                    "value": "Coupe"
                },
                "fuel_type": {
                    "key": "petrol",
                    "value": "Petrol"
                },
                "colour": {
                    "key": "white",
                    "value": "white"
                },
                "drive_train": {
                    "key": "rwd",
                    "value": "RWD"
                },
                "odometer": {
                    "key": "30000",
                    "value": 30000
                },
                "transmission": {
                    "key": "manual",
                    "value": "Manual"
                },
                "air_conditioning": {
                    "key": "true",
                    "value": true
                },
                "is_registered": {
                    "key": "true",
                    "value": true
                },
                "managed_by": {
                    "key": "private_owner",
                    "value": "Private Owner"
                }
            },
            "price": 400000,
            "currency": "USD"
        },
        "contactInfo": {
            "location": {
                "type": "Point",
                "coordinates": [
                    29.47872,
                    -25.77223
                ]
            },
            "address": {
                "place": "nav3ddd",
                "zip_code": "0"
            },
            "name": "John photo",
            "profile_photo_url": "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/2p4DsyO5qaVWBu4nAfTdkgrIswH%201.png",
            "is_phone_show": false,
            "phone": "1234567890"
        },
        "favourite": 0,
        "views": 0,
        "_id": "67f7d558da6dfc1128c823cb",
        "user": "675a87b80a7c786f3d52a106",
        "isFavourite": false,
        "isSold": false,
        "isDeleted": false,
        "is_draft": false,
        "objectionable_post": false,
        "main_category": "cars_vehicles",
        "createdAt": "2025-04-10T14:27:36.315Z",
        "updatedAt": "2025-04-10T14:30:29.359Z",
        "__v": 0
    }
}
Modified at 2025-03-04 07:51:11
Previous
Add Post
Next
Get Post
Built with