---
title: "Patch Delivery"
method: PATCH
path: "/api/admin/social/deliveries/{delivery_id}"
tags: ["social"]
---

# Patch Delivery

`PATCH /api/admin/social/deliveries/{delivery_id}`

## Request

- Base URL: `https://api.getcheapgames.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getcheapgames.com/api/admin/social/deliveries/{delivery_id}`
- Auth: none declared

Draw one network's copy of a post its own way: the picture, or one of the
video templates, while that copy still waits. None goes back to the post's.

Held to what the worker will need, like the post's own template
(`_redraw`): a renderer, a game, and a network and placement that take a
clip this long — Threads takes none. Stored only where it differs from the
post, so changing the post's template still moves every network that was
never set apart.

## Path parameters

- `delivery_id` integer, required

## Headers

- `authorization` string

## Request body

- DeliveryPatch: One network's template: an id, or None for the post's own again.
  - `template` string, nullable

## Response `200`

Successful Response

- PostOut
  - `id` integer, required
  - `kind` string, required
  - `game_id` integer, nullable, required
  - `title` string, nullable, required
  - `link` string, nullable, required
  - `body` string, required
  - `media` string, required
  - `currency` string, nullable, required
  - `price_cents` integer, nullable, required
  - `was_cents` integer, nullable, required
  - `store_count` integer, nullable, required
  - `created_by` string, required
  - `created_at` string, date-time, required
  - `on_bio` boolean
  - `x_link` boolean
  - `tiktok_mode` 'inbox' | 'private'
  - `template` string
  - `video` GcgRoutersSocialVideoOut: An uploaded clip: where the networks fetch it, and what the admin measured.
    - `id` integer, required
    - `url` string, required
    - `name` string, required
    - `seconds` number, required
    - `width` integer, required
    - `height` integer, required
    - `bytes` integer, required
    - `created_at` string, date-time, required
  - `deliveries` DeliveryOut[], required
    - `id` integer, required
    - `network` string, required
    - `placement` string, required
    - `state` string, required
    - `caption` string, required
    - `due_at` string, date-time, required
    - `attempts` integer, required
    - `last_error` string, nullable, required
    - `url` string, nullable, required
    - `sent_at` string, date-time, nullable, required
    - `views` integer, nullable
    - `likes` integer, nullable
    - `comments` integer, nullable
    - `shares` integer, nullable
    - `stats_at` string, date-time, nullable
    - `released_at` string, date-time, nullable
    - `template` string, nullable
    - `planned_at` string, date-time, nullable
    - `planned_why` string, nullable
  - `planned_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getcheapgames/apis/getcheapgames-api.md) · [All operations](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/revisions/962824bb76da?raw)
