Get Offers
curl --request GET \
--url https://populardemand.market/api/purchases/{id}/offers \
--header 'Authorization: Bearer <token>'import requests
url = "https://populardemand.market/api/purchases/{id}/offers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://populardemand.market/api/purchases/{id}/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://populardemand.market/api/purchases/{id}/offers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://populardemand.market/api/purchases/{id}/offers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://populardemand.market/api/purchases/{id}/offers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://populardemand.market/api/purchases/{id}/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"offers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"status": "prepared",
"demand_source": "<string>",
"snapshot": {
"schema_version": 1,
"state": "incomplete",
"evaluated_at": "2023-11-07T05:31:56Z",
"mode": "rehearsal",
"execution_available": false,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"proposal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposal_version": 123,
"tier_id": "<string>",
"currency": "USD",
"lines": [
{
"line_id": "<string>",
"need_id": "<string>",
"option_id": "<string>",
"seller_item_id": "<string>",
"description": "<string>",
"product": {
"namespace": "<string>",
"item_id": "<string>"
},
"quantity": 123,
"unit": {
"code": "C62",
"scale": 0
},
"unit_price_minor": 50000000,
"items_minor": 50000000,
"buyer_unit_price_minor": 50000000,
"seller_terms": {
"warranty_months": 4503599627370495,
"returns_days": 4503599627370495,
"authorized_seller": true
}
}
],
"totals": {
"items_minor": 50000000,
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000,
"all_in_minor": 50000000
},
"price_qualified": true,
"blockers": [
{
"code": "<string>",
"need_id": "<string>",
"ceiling_id": "<string>",
"above_by_minor": 50000000
}
],
"ceiling_snapshot": {
"root_all_in_minor": 50000000,
"pricing_mode": "explore",
"scoped": [
{
"ceiling_id": "<string>",
"scope": {
"kind": "basket"
},
"basis": "items",
"currency": "USD",
"amount_minor": 123
}
],
"baseline": {
"id": "<string>",
"total_minor": 50000000,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"valid_until": "2023-11-07T05:31:56Z",
"rules_version": "<string>"
},
"current_evaluation": {
"schema_version": 1,
"state": "incomplete",
"evaluated_at": "2023-11-07T05:31:56Z",
"mode": "rehearsal",
"execution_available": false,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"proposal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposal_version": 123,
"tier_id": "<string>",
"currency": "USD",
"lines": [
{
"line_id": "<string>",
"need_id": "<string>",
"option_id": "<string>",
"seller_item_id": "<string>",
"description": "<string>",
"product": {
"namespace": "<string>",
"item_id": "<string>"
},
"quantity": 123,
"unit": {
"code": "C62",
"scale": 0
},
"unit_price_minor": 50000000,
"items_minor": 50000000,
"buyer_unit_price_minor": 50000000,
"seller_terms": {
"warranty_months": 4503599627370495,
"returns_days": 4503599627370495,
"authorized_seller": true
}
}
],
"totals": {
"items_minor": 50000000,
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000,
"all_in_minor": 50000000
},
"price_qualified": true,
"blockers": [
{
"code": "<string>",
"need_id": "<string>",
"ceiling_id": "<string>",
"above_by_minor": 50000000
}
],
"ceiling_snapshot": {
"root_all_in_minor": 50000000,
"pricing_mode": "explore",
"scoped": [
{
"ceiling_id": "<string>",
"scope": {
"kind": "basket"
},
"basis": "items",
"currency": "USD",
"amount_minor": 123
}
],
"baseline": {
"id": "<string>",
"total_minor": 50000000,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"valid_until": "2023-11-07T05:31:56Z",
"rules_version": "<string>"
},
"current_context": true,
"delivery": {
"quote_id": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"proposal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposal_version": 123,
"tier_id": "<string>",
"selections": [
{
"need_id": "<string>",
"option_id": "<string>",
"seller_item_id": "<string>",
"quantity": 5000
}
],
"currency": "USD",
"method": "shipping",
"delivered_by": "2023-12-25",
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000,
"need_costs": [
{
"need_id": "<string>",
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000
}
],
"valid_until": "2023-11-07T05:31:56Z",
"source": {
"url": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"note": "<string>"
},
"reviewed": true
},
"seller_id": "<string>",
"terms_source": {
"url": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"note": "<string>"
},
"policies": {
"warranty": "<string>",
"returns": "<string>",
"cancellation": "<string>"
},
"execution_available": false,
"simulated": true,
"acceptance_available": false,
"withdrawal": {
"reason": "seller_quote_withdrawn",
"explanation": "<string>",
"recorded_at": "2023-11-07T05:31:56Z"
},
"request_conditions": {
"schema_version": 1,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"country": "US",
"currency": "USD",
"destination": {
"scope": "unknown",
"city": "<string>",
"region": "<string>",
"zip": "<string>"
},
"raw_request": "<string>",
"time_horizon": "<string>",
"need_by": "2023-12-25",
"expires_at": "2023-11-07T05:31:56Z",
"purchase_spec": {
"schema_version": 1,
"needs": [
{
"need_id": "<string>",
"description": "<string>",
"quantity": 5000,
"unit": {
"code": "C62",
"scale": 0
},
"required": true,
"conditions_confirmed": true,
"options": [
{
"option_id": "<string>",
"description": "<string>",
"product": {
"namespace": "<string>",
"item_id": "<string>"
},
"attributes": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"terms": {
"warranty_months_min": 60,
"returns_days_min": 182,
"authorized_seller_required": true
}
}
],
"basket_acceptance": "all_required",
"ceilings": [
{
"ceiling_id": "<string>",
"scope": {
"kind": "basket"
},
"basis": "items",
"currency": "USD",
"amount_minor": 123
}
],
"delivery_methods": [
"shipping"
]
},
"pricing_mode": "explore",
"pricing_policy": {
"mode": "explore"
},
"effective_pricing": {
"status": "<string>",
"amount_minor": 50000000
}
},
"context_diagnostics": {
"checked_at": "2023-11-07T05:31:56Z",
"codes": [
"plan_not_prepared"
],
"request": {
"prepared_version": 123,
"current_version": 4503599627370495,
"current_status": "draft"
},
"proposal": {
"prepared_version": 123,
"current_version": 4503599627370495,
"current_status": "draft"
}
},
"collective_terms": {
"minimum_units": 123,
"maximum_units": 123,
"qualifying_state": "accepted_simulated_plans",
"execution_policy": "rehearsal_only",
"price_basis": "items_excluding_delivery_tax",
"commitment_deadline": "2023-11-07T05:31:56Z",
"real_commitment_available": false
},
"execution": {
"mode": "authorization_hold",
"money_backed": true,
"buyer_commits": "<string>",
"checkout": "popular_demand",
"terms_version": "c3_c5_v1",
"deal": {
"status": "open",
"ended_reason": "sold_out",
"available_until": "<string>",
"link": "<string>",
"code": "<string>",
"link_shows_code": true,
"units_left": 4503599627370495
}
},
"purchase": {
"seller": {
"name": "<string>",
"domain": "<string>",
"platform": "shopify"
},
"product": {
"id": "<string>",
"title": "<string>"
},
"currency": "<string>",
"quantity": 123,
"group_price": 4503599627370495,
"variants": [
{
"id": "<string>",
"store_price": 4503599627370495,
"group_price": 4503599627370495,
"base": true
}
],
"prices_read_at": "<string>",
"discount": {
"applied_by": "link",
"code": "<string>",
"amount_each": 4503599627370495,
"expires_at": "<string>"
}
},
"must_tell_user": {
"mode": "authorization_hold",
"merchant_of_record": {
"legal_name": "<string>",
"display_name": "<string>"
},
"amount": {
"all_in_minor": 4503599627370495,
"currency": "<string>",
"formatted": "<string>"
},
"before_tax": {
"items_minor": 4503599627370495,
"delivery_minor": 4503599627370495,
"duties_minor": 4503599627370495,
"fees_minor": 4503599627370495,
"total_minor": 4503599627370495,
"currency": "<string>",
"formatted": "<string>"
},
"price_includes_tax": true,
"cancellation": {
"terms": "c3_v1",
"terms_text": "<string>"
},
"text": "<string>"
},
"offer_page_url": "<string>",
"demand": {
"state": "not_counted",
"reasons": [
"<string>"
],
"price_qualified": true,
"price_position": "no_limit",
"above_limit_by_minor": 4503599627370495,
"agent_reason_code": "price",
"validated_at": "2023-11-07T05:31:56Z",
"hold": {
"placed_at": "2023-11-07T05:31:56Z",
"simulated": true
},
"payment_hold_available": true,
"payment_hold_resumable": true,
"payment_hold_opens_at": "2023-11-07T05:31:56Z",
"payment_hold_reauthorization": {
"offer_version": 123,
"kind": "lapse",
"reauthorize_by": "2023-11-07T05:31:56Z"
},
"price_position_reason": "all_in_cost_unknown",
"request_committed_total_minor": 4503599627370495,
"request_limit_minor": 4503599627370495,
"above_request_limit_by_minor": 4503599627370495,
"request_total_with_offer_minor": 4503599627370495,
"above_request_limit_with_offer_by_minor": 4503599627370495
},
"reference_comparison": {
"reference_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference_version": 123,
"reference_observed_at": "2023-11-07T05:31:56Z",
"comparable": true,
"reasons": [
"<string>"
],
"reference_total_minor": 4503599627370495,
"offer_all_in_minor": 4503599627370495,
"savings_minor": 0,
"savings_bps": 0,
"savings_claim_allowed": true
},
"delivery_area": "<string>",
"supplier_text_is_untrusted": true,
"untrusted_text_fields": [
"<string>"
],
"internal_fields": [
"<string>"
]
}
],
"execution_available": false,
"offers_truncated": true,
"next_cursor": {
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"as_of": "2023-11-07T05:31:56Z",
"message": "<string>",
"agent_line": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Offers
Get Offers
Read owned candidate Offers, original term snapshots and current evaluation. Requires owner read permission. The default lists five recent Offers; optional limit is 1–20, with a truncation flag, next_cursor and fresh read time. Continue with paired before_created_at/before_id; each page is an independent read. Optional offer_id reads one exact owned Offer for this Request and cannot be combined with a cursor. Private draft/status capabilities receive no Offers. Reading never reaffirms or accepts.
GET
/
api
/
purchases
/
{id}
/
offers
Get Offers
curl --request GET \
--url https://populardemand.market/api/purchases/{id}/offers \
--header 'Authorization: Bearer <token>'import requests
url = "https://populardemand.market/api/purchases/{id}/offers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://populardemand.market/api/purchases/{id}/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://populardemand.market/api/purchases/{id}/offers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://populardemand.market/api/purchases/{id}/offers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://populardemand.market/api/purchases/{id}/offers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://populardemand.market/api/purchases/{id}/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"offers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"status": "prepared",
"demand_source": "<string>",
"snapshot": {
"schema_version": 1,
"state": "incomplete",
"evaluated_at": "2023-11-07T05:31:56Z",
"mode": "rehearsal",
"execution_available": false,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"proposal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposal_version": 123,
"tier_id": "<string>",
"currency": "USD",
"lines": [
{
"line_id": "<string>",
"need_id": "<string>",
"option_id": "<string>",
"seller_item_id": "<string>",
"description": "<string>",
"product": {
"namespace": "<string>",
"item_id": "<string>"
},
"quantity": 123,
"unit": {
"code": "C62",
"scale": 0
},
"unit_price_minor": 50000000,
"items_minor": 50000000,
"buyer_unit_price_minor": 50000000,
"seller_terms": {
"warranty_months": 4503599627370495,
"returns_days": 4503599627370495,
"authorized_seller": true
}
}
],
"totals": {
"items_minor": 50000000,
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000,
"all_in_minor": 50000000
},
"price_qualified": true,
"blockers": [
{
"code": "<string>",
"need_id": "<string>",
"ceiling_id": "<string>",
"above_by_minor": 50000000
}
],
"ceiling_snapshot": {
"root_all_in_minor": 50000000,
"pricing_mode": "explore",
"scoped": [
{
"ceiling_id": "<string>",
"scope": {
"kind": "basket"
},
"basis": "items",
"currency": "USD",
"amount_minor": 123
}
],
"baseline": {
"id": "<string>",
"total_minor": 50000000,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"valid_until": "2023-11-07T05:31:56Z",
"rules_version": "<string>"
},
"current_evaluation": {
"schema_version": 1,
"state": "incomplete",
"evaluated_at": "2023-11-07T05:31:56Z",
"mode": "rehearsal",
"execution_available": false,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"proposal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposal_version": 123,
"tier_id": "<string>",
"currency": "USD",
"lines": [
{
"line_id": "<string>",
"need_id": "<string>",
"option_id": "<string>",
"seller_item_id": "<string>",
"description": "<string>",
"product": {
"namespace": "<string>",
"item_id": "<string>"
},
"quantity": 123,
"unit": {
"code": "C62",
"scale": 0
},
"unit_price_minor": 50000000,
"items_minor": 50000000,
"buyer_unit_price_minor": 50000000,
"seller_terms": {
"warranty_months": 4503599627370495,
"returns_days": 4503599627370495,
"authorized_seller": true
}
}
],
"totals": {
"items_minor": 50000000,
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000,
"all_in_minor": 50000000
},
"price_qualified": true,
"blockers": [
{
"code": "<string>",
"need_id": "<string>",
"ceiling_id": "<string>",
"above_by_minor": 50000000
}
],
"ceiling_snapshot": {
"root_all_in_minor": 50000000,
"pricing_mode": "explore",
"scoped": [
{
"ceiling_id": "<string>",
"scope": {
"kind": "basket"
},
"basis": "items",
"currency": "USD",
"amount_minor": 123
}
],
"baseline": {
"id": "<string>",
"total_minor": 50000000,
"valid_until": "2023-11-07T05:31:56Z"
}
},
"valid_until": "2023-11-07T05:31:56Z",
"rules_version": "<string>"
},
"current_context": true,
"delivery": {
"quote_id": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"proposal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposal_version": 123,
"tier_id": "<string>",
"selections": [
{
"need_id": "<string>",
"option_id": "<string>",
"seller_item_id": "<string>",
"quantity": 5000
}
],
"currency": "USD",
"method": "shipping",
"delivered_by": "2023-12-25",
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000,
"need_costs": [
{
"need_id": "<string>",
"delivery_minor": 50000000,
"tax_minor": 50000000,
"duties_minor": 50000000,
"fees_minor": 50000000
}
],
"valid_until": "2023-11-07T05:31:56Z",
"source": {
"url": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"note": "<string>"
},
"reviewed": true
},
"seller_id": "<string>",
"terms_source": {
"url": "<string>",
"observed_at": "2023-11-07T05:31:56Z",
"note": "<string>"
},
"policies": {
"warranty": "<string>",
"returns": "<string>",
"cancellation": "<string>"
},
"execution_available": false,
"simulated": true,
"acceptance_available": false,
"withdrawal": {
"reason": "seller_quote_withdrawn",
"explanation": "<string>",
"recorded_at": "2023-11-07T05:31:56Z"
},
"request_conditions": {
"schema_version": 1,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_version": 123,
"country": "US",
"currency": "USD",
"destination": {
"scope": "unknown",
"city": "<string>",
"region": "<string>",
"zip": "<string>"
},
"raw_request": "<string>",
"time_horizon": "<string>",
"need_by": "2023-12-25",
"expires_at": "2023-11-07T05:31:56Z",
"purchase_spec": {
"schema_version": 1,
"needs": [
{
"need_id": "<string>",
"description": "<string>",
"quantity": 5000,
"unit": {
"code": "C62",
"scale": 0
},
"required": true,
"conditions_confirmed": true,
"options": [
{
"option_id": "<string>",
"description": "<string>",
"product": {
"namespace": "<string>",
"item_id": "<string>"
},
"attributes": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"terms": {
"warranty_months_min": 60,
"returns_days_min": 182,
"authorized_seller_required": true
}
}
],
"basket_acceptance": "all_required",
"ceilings": [
{
"ceiling_id": "<string>",
"scope": {
"kind": "basket"
},
"basis": "items",
"currency": "USD",
"amount_minor": 123
}
],
"delivery_methods": [
"shipping"
]
},
"pricing_mode": "explore",
"pricing_policy": {
"mode": "explore"
},
"effective_pricing": {
"status": "<string>",
"amount_minor": 50000000
}
},
"context_diagnostics": {
"checked_at": "2023-11-07T05:31:56Z",
"codes": [
"plan_not_prepared"
],
"request": {
"prepared_version": 123,
"current_version": 4503599627370495,
"current_status": "draft"
},
"proposal": {
"prepared_version": 123,
"current_version": 4503599627370495,
"current_status": "draft"
}
},
"collective_terms": {
"minimum_units": 123,
"maximum_units": 123,
"qualifying_state": "accepted_simulated_plans",
"execution_policy": "rehearsal_only",
"price_basis": "items_excluding_delivery_tax",
"commitment_deadline": "2023-11-07T05:31:56Z",
"real_commitment_available": false
},
"execution": {
"mode": "authorization_hold",
"money_backed": true,
"buyer_commits": "<string>",
"checkout": "popular_demand",
"terms_version": "c3_c5_v1",
"deal": {
"status": "open",
"ended_reason": "sold_out",
"available_until": "<string>",
"link": "<string>",
"code": "<string>",
"link_shows_code": true,
"units_left": 4503599627370495
}
},
"purchase": {
"seller": {
"name": "<string>",
"domain": "<string>",
"platform": "shopify"
},
"product": {
"id": "<string>",
"title": "<string>"
},
"currency": "<string>",
"quantity": 123,
"group_price": 4503599627370495,
"variants": [
{
"id": "<string>",
"store_price": 4503599627370495,
"group_price": 4503599627370495,
"base": true
}
],
"prices_read_at": "<string>",
"discount": {
"applied_by": "link",
"code": "<string>",
"amount_each": 4503599627370495,
"expires_at": "<string>"
}
},
"must_tell_user": {
"mode": "authorization_hold",
"merchant_of_record": {
"legal_name": "<string>",
"display_name": "<string>"
},
"amount": {
"all_in_minor": 4503599627370495,
"currency": "<string>",
"formatted": "<string>"
},
"before_tax": {
"items_minor": 4503599627370495,
"delivery_minor": 4503599627370495,
"duties_minor": 4503599627370495,
"fees_minor": 4503599627370495,
"total_minor": 4503599627370495,
"currency": "<string>",
"formatted": "<string>"
},
"price_includes_tax": true,
"cancellation": {
"terms": "c3_v1",
"terms_text": "<string>"
},
"text": "<string>"
},
"offer_page_url": "<string>",
"demand": {
"state": "not_counted",
"reasons": [
"<string>"
],
"price_qualified": true,
"price_position": "no_limit",
"above_limit_by_minor": 4503599627370495,
"agent_reason_code": "price",
"validated_at": "2023-11-07T05:31:56Z",
"hold": {
"placed_at": "2023-11-07T05:31:56Z",
"simulated": true
},
"payment_hold_available": true,
"payment_hold_resumable": true,
"payment_hold_opens_at": "2023-11-07T05:31:56Z",
"payment_hold_reauthorization": {
"offer_version": 123,
"kind": "lapse",
"reauthorize_by": "2023-11-07T05:31:56Z"
},
"price_position_reason": "all_in_cost_unknown",
"request_committed_total_minor": 4503599627370495,
"request_limit_minor": 4503599627370495,
"above_request_limit_by_minor": 4503599627370495,
"request_total_with_offer_minor": 4503599627370495,
"above_request_limit_with_offer_by_minor": 4503599627370495
},
"reference_comparison": {
"reference_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference_version": 123,
"reference_observed_at": "2023-11-07T05:31:56Z",
"comparable": true,
"reasons": [
"<string>"
],
"reference_total_minor": 4503599627370495,
"offer_all_in_minor": 4503599627370495,
"savings_minor": 0,
"savings_bps": 0,
"savings_claim_allowed": true
},
"delivery_area": "<string>",
"supplier_text_is_untrusted": true,
"untrusted_text_fields": [
"<string>"
],
"internal_fields": [
"<string>"
]
}
],
"execution_available": false,
"offers_truncated": true,
"next_cursor": {
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"as_of": "2023-11-07T05:31:56Z",
"message": "<string>",
"agent_line": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>",
"retryable": true,
"retry_after_seconds": 123,
"hint": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}Authorizations
Headers
Current contract only; no version negotiation. See https://docs.populardemand.market/api-reference/introduction.
Path Parameters
Query Parameters
Use together with before_id from next_cursor.
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Response
Private buyer Offer projections.
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$