openapi: 3.0.3 info: title: 'Sopyo Api v2 - Dökümantasyon' description: "Sopyo API ile birlikte Sopyo üzerinde size ait tüm verileri işleyebilir, kendi uygulamalarınız ile entegre edebilirsiniz.
\n Sopyo API modülümüzü her geçen gün geliştiriyoruz, görüşlerinizi bize destek@sopyo.com adresinden iletebilirsiniz." version: 1.0.0 servers: - url: 'https://api.sopyo.dev' paths: /api/v2/auth/login: post: summary: 'Token Al' operationId: tokenAl description: 'API Token üretmek için bu endpoint i kullanabilirsiniz' parameters: [] responses: 200: description: Ok content: application/json: schema: type: object example: status: true message: '' user: id: 1 name: 'Sopyo Yazılım' email: bilgi@sopyo.com access_token: token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwMDAvYXBpL3YyL2F1dGgvbG9naW4iLCJpYXQiOjE2NjcyMzA1NDgsImV4cCI6MTY2NzMxNjk0OCwibmJmIjoxNjY3MjMwNTQ4LCJqdGkiOiJ1OXhWSUw3MnlNWHZiRmZCIiwic3ViIjoiMSIsInBydiI6IjEzZThkMDI4YjM5MWYzYjdiNjNmMjE5MzNkYmFkNDU4ZmYyMTA3MmUifQ._ZL7f6irN8HrsKlQDddwBQccjV1nZViympxj3ML3wq8 expire_in: 1440 type: bearer properties: status: type: boolean example: true message: type: string example: '' user: type: object properties: id: type: integer example: 1 name: type: string example: 'Sopyo Yazılım' email: type: string example: bilgi@sopyo.com access_token: type: object properties: token: type: string example: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwMDAvYXBpL3YyL2F1dGgvbG9naW4iLCJpYXQiOjE2NjcyMzA1NDgsImV4cCI6MTY2NzMxNjk0OCwibmJmIjoxNjY3MjMwNTQ4LCJqdGkiOiJ1OXhWSUw3MnlNWHZiRmZCIiwic3ViIjoiMSIsInBydiI6IjEzZThkMDI4YjM5MWYzYjdiNjNmMjE5MzNkYmFkNDU4ZmYyMTA3MmUifQ._ZL7f6irN8HrsKlQDddwBQccjV1nZViympxj3ML3wq8 expire_in: type: integer example: 1440 type: type: string example: bearer tags: - 'Giriş İşlemleri' requestBody: required: true content: application/json: schema: type: object properties: api_token: type: string description: 'API TOKEN bilgisine Sopyo uygulamasında Api Ayarları sayfasından ulaşabilirsiniz. Api Ayarları sayfasını göremiyorsunuz lütfen satış temsilciniz ile görüşünüz.' example: - 'string 1' required: - api_token security: [] /api/v2/variant-group: get: summary: 'Seçenek Grup Listesi' operationId: seenekGrupListesi description: '

Seçenek Grup Listesi

// Örnek filtrelemeler

/variant-group?name[eq]=Renk
Seçenek grub adına göre filtreleme
(like,eq)
/variant-group?name[like]=Hafıza
Seçenek grub adına göre filtreleme
(like,eq)
/variant-group?id[eq]=1
Seçenek grub id"sine filtreleme.
(like,eq,lt,lte,gt,gte)
' parameters: [] responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - id: 1 name: Renk values: - Beyaz - Kırmızı - Lacivert - Mavi - Pembe - Gri - Siyah - Purple - id: 2 name: Beden values: - L - M - S - XL - '36' - '37' - '38' - '39' - '40' - '35' - '41' - id: 9 name: Hafıza values: - 128GB - 256GB - id: 10 name: RAM values: - 8GB - 4GB - 16GB links: first: '/api/v2/variant-group?page=1' last: '/api/v2/variant-group?page=1' prev: null next: null meta: current_page: 1 from: 1 last_page: 1 links: - url: null label: '« Önceki' active: false - url: '/api/v2/variant-group?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false path: /api/v2/variant-group per_page: 100 to: 5 total: 5 properties: data: type: array example: - id: 1 name: Renk values: - Beyaz - Kırmızı - Lacivert - Mavi - Pembe - Gri - Siyah - Purple - id: 2 name: Beden values: - L - M - S - XL - '36' - '37' - '38' - '39' - '40' - '35' - '41' - id: 9 name: Hafıza values: - 128GB - 256GB - id: 10 name: RAM values: - 8GB - 4GB - 16GB items: type: object properties: id: type: integer example: 1 name: type: string example: Renk values: type: array example: - Beyaz - Kırmızı - Lacivert - Mavi - Pembe - Gri - Siyah - Purple items: type: string links: type: object properties: first: type: string example: '/api/v2/variant-group?page=1' last: type: string example: '/api/v2/variant-group?page=1' prev: type: string example: null next: type: string example: null meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 1 links: type: array example: - url: null label: '« Önceki' active: false - url: '/api/v2/variant-group?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: /api/v2/variant-group per_page: type: integer example: 100 to: type: integer example: 5 total: type: integer example: 5 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Katalog Yönetimi' post: summary: 'Seçenek Grubu Ekle' operationId: seenekGrubuEkle description: 'Ürün seçenek grubu ekleme işleminizi bu bölümde yapabilirsiniz.' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: Televizyon properties: data: type: object properties: id: type: integer example: 5 name: type: string example: Televizyon 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Grup adı bilgisi.' example: Beden values: type: 'string[]' description: 'Grup değerleri.' example: null required: - name '/api/v2/variant-group/{id}': get: summary: 'Seçenek Grubu Göster' operationId: seenekGrubuGster description: 'Seçenek grubu kaydı göster' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 1 name: Renk values: - Beyaz - Kırmızı - Lacivert - Mavi - Pembe - Gri - Siyah - Purple properties: data: type: object properties: id: type: integer example: 1 name: type: string example: Renk values: type: array example: - Beyaz - Kırmızı - Lacivert - Mavi - Pembe - Gri - Siyah - Purple items: type: string 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Seçenek Grubu Güncelle' operationId: seenekGrubuGncelle description: 'Ürün seçenek grubu güncelle' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 1 name: Beden properties: data: type: object properties: id: type: integer example: 1 name: type: string example: Beden 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Grup ad bilgisi.' example: Beden required: - name delete: summary: 'Seçenek Grubu Sil' operationId: seenekGrubuSil description: 'Ürün seçenek grubu kaydı sil' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Grup ID' example: 1 required: true schema: type: integer '/api/v2/variant-group/{id}/values': get: summary: 'Seçenek Değer Listesi' operationId: seenekDeerListesi description: 'Seçenek Değer Listesi' parameters: - in: query name: 'name[eq]' description: 'Değer adına göre getir.' example: L required: false schema: type: string description: 'Değer adına göre getir.' example: L - in: query name: 'name[like]' description: 'Değer adına göre filtreleme.' example: L required: false schema: type: string description: 'Değer adına göre filtreleme.' example: L - in: query name: 'id[eq]' description: '
Diğer filtreleme parametreleri
[eq]Eşit
[lt]Küçük
[lte]Küçük ve Eşit
[gt]Büyük
[gte]Büyük ve Eşit
' example: 1 required: false schema: type: string description: '
Diğer filtreleme parametreleri
[eq]Eşit
[lt]Küçük
[lte]Küçük ve Eşit
[gt]Büyük
[gte]Büyük ve Eşit
' example: 1 responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - id: 8 group_id: 2 name: L - id: 9 group_id: 2 name: M links: first: 'api/v2/variant-group/2/values?page=1' last: 'api/v2/variant-group/2/values?page=1' prev: null next: null meta: current_page: 1 from: 1 last_page: 1 links: - url: null label: '« Önceki' active: false - url: 'api/v2/variant-group/2/values?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false path: api/v2/variant-group/2/values per_page: 100 to: 12 total: 12 properties: data: type: array example: - id: 8 group_id: 2 name: L - id: 9 group_id: 2 name: M items: type: object properties: id: type: integer example: 8 group_id: type: integer example: 2 name: type: string example: L links: type: object properties: first: type: string example: 'api/v2/variant-group/2/values?page=1' last: type: string example: 'api/v2/variant-group/2/values?page=1' prev: type: string example: null next: type: string example: null meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 1 links: type: array example: - url: null label: '« Önceki' active: false - url: 'api/v2/variant-group/2/values?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: api/v2/variant-group/2/values per_page: type: integer example: 100 to: type: integer example: 12 total: type: integer example: 12 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' post: summary: 'Seçenek Değeri Ekle' operationId: seenekDeeriEkle description: 'Ürün seçenek değeri ekleme işleminizi bu bölümde yapabilirsiniz.' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 41 group_id: 2 name: 512GB properties: data: type: object properties: id: type: integer example: 41 group_id: type: integer example: 2 name: type: string example: 512GB 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Değer adı bilgisi.' example: Beden required: - name '/api/v2/variant-group/{id}/values/{value_id}': get: summary: 'Seçenek Değeri Göster' operationId: seenekDeeriGster description: 'Ürün seçenek değeri işleminizi bu bölümde yapabilirsiniz.' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 41 group_id: 2 name: 512GB properties: data: type: object properties: id: type: integer example: 41 group_id: type: integer example: 2 name: type: string example: 512GB 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Seçenek Değeri Güncelle' operationId: seenekDeeriGncelle description: 'Ürün seçenek değeri güncelleme işleminizi bu bölümde yapabilirsiniz.' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 41 group_id: 2 name: 512GB properties: data: type: object properties: id: type: integer example: 41 group_id: type: integer example: 2 name: type: string example: 512GB 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Değer adı bilgisi.' example: Beden required: - name delete: summary: 'Seçenek Değeri Sil' operationId: seenekDeeriSil description: 'Ürün seçenek değeri silme işleminizi bu bölümde yapabilirsiniz.' parameters: [] responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Grup ID' example: 2 required: true schema: type: integer - in: path name: value_id description: 'Değer ID' example: 1 required: true schema: type: integer /api/v2/products: get: summary: 'Ürün Listesi' operationId: rnListesi description: '

Ürün Listesi

// Örnek filtrelemeler

/products?sort=asc
Id ile sıralama.
(asc,desc)
/products?title[like]=Çanta
Ürün adına göre filtreleme.
(like,eq)
/products?stock_code[eq]=98
Stok koduna göre filtreleme
(like,eq)
/products?stock[eq]=50
Stok bilgisine göre filtreleme
(like,eq,lt,lte,gt,gte)
/products?barcode[eq]=50
Barkod bilgisine göre filtreleme
(like,eq)
/products?id[eq]=1
Id ile ürün filtreleme.
(like,eq,lt,lte,gt,gte)
/products?brand[eq]=Samsung
Ürün markasına göre filtreleme.
(like,eq)
/products?category[eq]=1
Kategori bilgisine göre filtreleme.
(eq)
/products?tax_rate[eq]=18
KDV bilgisine göre filtreleme.
(like,eq,lt,lte,gt,gte)
/products?source[eq]=sopyo
Kaynak bilgisine göre filtreleme.
(like,eq)
/products?tag[eq]=2
Etiket bilgisine göre filtreleme.
(eq)
' parameters: [] responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - title: 'Varyantsız Ürün Örneği' stock_code: SPYAPITEST005 stock: 60 category_id: 415750 desi: 5 tax_rate: 8 sub_title: '' barcode: SPYAPITEST005 brand: Bot tag_id: 213 description: 'Varyantsız Ürün Örneği' images: - 'https://app.sopyo.com/public/products/a3150a3c93a90eb882dbecb5e3d7f8f9.jpg' - 'https://app.sopyo.com/public/products/9e15adb60acffcd98af06e02c7241a8a.jpg' - 'https://app.sopyo.com/public/products/516c4c59ab7a0d900f402c9fb07ef96f.jpg' price1: - sale_price: 1500 list_price: 2500 links: first: 'api/v2/products?page=1' last: 'api/v2/products?page=2405' prev: null next: 'api/v2/products?page=2' meta: current_page: 1 from: 1 last_page: 2405 links: - url: null label: '« Önceki' active: false - url: 'api/v2/products?page=1' label: '1' active: true - url: 'api/v2/products?page=2' label: '2' active: false - url: 'api/v2/products?page=3' label: '3' active: false - url: 'api/v2/products?page=4' label: '4' active: false - url: 'api/v2/products?page=5' label: '5' active: false - url: 'api/v2/products?page=6' label: '6' active: false - url: 'api/v2/products?page=7' label: '7' active: false - url: 'api/v2/products?page=8' label: '8' active: false - url: 'api/v2/products?page=9' label: '9' active: false - url: 'api/v2/products?page=10' label: '10' active: false - url: null label: ... active: false - url: 'api/v2/products?page=2404' label: '2404' active: false - url: 'api/v2/products?page=2405' label: '2405' active: false - url: 'api/v2/products?page=2' label: 'Sonraki »' active: false path: api/v2/products per_page: 2 to: 2 total: 4810 properties: data: type: array example: - title: 'Varyantsız Ürün Örneği' stock_code: SPYAPITEST005 stock: 60 category_id: 415750 desi: 5 tax_rate: 8 sub_title: '' barcode: SPYAPITEST005 brand: Bot tag_id: 213 description: 'Varyantsız Ürün Örneği' images: - 'https://app.sopyo.com/public/products/a3150a3c93a90eb882dbecb5e3d7f8f9.jpg' - 'https://app.sopyo.com/public/products/9e15adb60acffcd98af06e02c7241a8a.jpg' - 'https://app.sopyo.com/public/products/516c4c59ab7a0d900f402c9fb07ef96f.jpg' price1: - sale_price: 1500 list_price: 2500 items: type: object properties: title: type: string example: 'Varyantsız Ürün Örneği' stock_code: type: string example: SPYAPITEST005 stock: type: integer example: 60 category_id: type: integer example: 415750 desi: type: integer example: 5 tax_rate: type: integer example: 8 sub_title: type: string example: '' barcode: type: string example: SPYAPITEST005 brand: type: string example: Bot tag_id: type: integer example: 213 description: type: string example: 'Varyantsız Ürün Örneği' images: type: array example: - 'https://app.sopyo.com/public/products/a3150a3c93a90eb882dbecb5e3d7f8f9.jpg' - 'https://app.sopyo.com/public/products/9e15adb60acffcd98af06e02c7241a8a.jpg' - 'https://app.sopyo.com/public/products/516c4c59ab7a0d900f402c9fb07ef96f.jpg' items: type: string price1: type: array example: - sale_price: 1500 list_price: 2500 items: type: object properties: sale_price: type: integer example: 1500 list_price: type: integer example: 2500 links: type: object properties: first: type: string example: 'api/v2/products?page=1' last: type: string example: 'api/v2/products?page=2405' prev: type: string example: null next: type: string example: 'api/v2/products?page=2' meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 2405 links: type: array example: - url: null label: '« Önceki' active: false - url: 'api/v2/products?page=1' label: '1' active: true - url: 'api/v2/products?page=2' label: '2' active: false - url: 'api/v2/products?page=3' label: '3' active: false - url: 'api/v2/products?page=4' label: '4' active: false - url: 'api/v2/products?page=5' label: '5' active: false - url: 'api/v2/products?page=6' label: '6' active: false - url: 'api/v2/products?page=7' label: '7' active: false - url: 'api/v2/products?page=8' label: '8' active: false - url: 'api/v2/products?page=9' label: '9' active: false - url: 'api/v2/products?page=10' label: '10' active: false - url: null label: ... active: false - url: 'api/v2/products?page=2404' label: '2404' active: false - url: 'api/v2/products?page=2405' label: '2405' active: false - url: 'api/v2/products?page=2' label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: api/v2/products per_page: type: integer example: 2 to: type: integer example: 2 total: type: integer example: 4810 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Katalog Yönetimi' post: summary: 'Ürün Ekle' operationId: rnEkle description: 'Yeni ürün kaydı oluştur' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: array items: type: object example: - title: 'Varyantsız Ürün Örneği' stock_code: SPYAPITEST005 stock: 60 category_id: 415750 desi: 5 tax_rate: 8 sub_title: '' barcode: SPYAPITEST005 brand: Bot tag_id: 213 description: 'Varyantsız Ürün Örneği' images: - 'https://app.sopyo.com/public/products/a3150a3c93a90eb882dbecb5e3d7f8f9.jpg' - 'https://app.sopyo.com/public/products/9e15adb60acffcd98af06e02c7241a8a.jpg' - 'https://app.sopyo.com/public/products/516c4c59ab7a0d900f402c9fb07ef96f.jpg' price_1: - sale_price: 1500 list_price: 2500 - id: 18248770 title: 'Varyantlı Ürün Örneği' sub_title: '' stock: 0 stock_code: HBCV00002Z3YQM barcode: '8683323005482' barcode_2: null tax_rate: 8 currency: TL description: 'Varyantlı Ürün Örneği' brand: 'The North Face' desi: '1' source: sopyo tag_id: 453 category: id: 413616 name: Bot status: false images: - 'https://app.sopyo.com/public/products/a3150a3c93a90eb882dbecb5e3d7f8f9.jpg' - 'https://app.sopyo.com/public/products/9e15adb60acffcd98af06e02c7241a8a.jpg' - 'https://app.sopyo.com/public/products/516c4c59ab7a0d900f402c9fb07ef96f.jpg' - 'https://app.sopyo.com/public/products/ddd0d5d962f4dcf7ad0ac10c713f9fc4.jpg' variants: - id: 14824969 product_id: 18248770 stock_code: HBCV00002Z3WEY stock: 0 barcode: HBCV00002Z3WEY option1: name: 'Ayakkabı Numarası' value: '40' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null - id: 14824972 product_id: 18248770 stock_code: HBCV00002Z3WEZ stock: 0 barcode: HBCV00002Z3WEZ option1: name: 'Ayakkabı Numarası' value: '41' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null - id: 14824975 product_id: 18248770 stock_code: HBCV00002Z3WF0 stock: 0 barcode: HBCV00002Z3WF0 option1: name: 'Ayakkabı Numarası' value: '42' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null 401: description: 'Kimlik Doğrulanmamış' content: text/plain: schema: type: string example: '"status": false,"message": "Unauthenticated."}' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: title: type: string description: 'Ürünün adı. Minumum uzunluğu en az 5 karakter olmalıdır. Maksimum uzunluğu en çok 150 karakter olmalıdır.' example: 'Çamaşır Mandalı' stock_code: type: string description: 'Ürünün stok kodu bilgisi.' example: '87484554' stock: type: integer description: 'Ürünün stok miktarı bilgisi.' example: 45 category_id: type: integer description: 'Ürün kategori bilgisi. Kategori ID yazmanınız gerekmektedir. .' example: 25 desi: type: number description: 'Ürün desi bilgisi.' example: 5.0 tax_rate: type: number description: 'Ürün KDV bilgisi. 0, 1, 8, or 18: bu değerlerden bir tanesini girmelisiniz.' example: 18.0 sub_title: type: string description: 'Ürünün alt başlık bilgisi. Uzunluğu en çok 150 karakter olmalıdır.' example: 'Gökkuşağı temalı çamaşır mandalı' barcode: type: string description: 'Ürünün barkod bilgisi. Maksimum uzunluğu en çok 100 karakter olmalıdır.' example: 5EASDF522 barcode_2: type: string description: 'Ürünün 2. barkod bilgisi. Maksimum uzunluğu en çok 100 karakter olmalıdır.' example: 5EAEF525 brand: type: string description: 'Ürünün marka bilgisi. Maksimum uzunluğu en çok 50 karakter olmalıdır.' example: YILDIZ description: type: string description: 'Ürün açıklaması.' example: 'Gökkuşağı temalı çamaşır mandalları kaliteli malzeme yapısı ile uzun süre kullanılabilir.' price1: type: array description: 'Ürün Fiyat 1 Grubu' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 1 için satış fiyatı.' example: '7' list_price: type: string description: 'Fiyat grubu 1 için liste fiyatı.' example: '3.31' required: - sale_price - list_price price2: type: 'string[]' description: '' example: null price3: type: 'string[]' description: '' example: null price4: type: 'string[]' description: '' example: null price5: type: 'string[]' description: '' example: null price6: type: 'string[]' description: '' example: null price7: type: 'string[]' description: '' example: null price8: type: 'string[]' description: '' example: null price9: type: 'string[]' description: '' example: null price10: type: 'string[]' description: '' example: null variants: type: 'string[]' description: '' example: null price: type: object description: '' example: list_price: '14586' properties: list_price: type: string description: 'Fiyat grubu 2 için liste fiyatı.' example: '14586' required: - title - stock_code - stock - category_id - desi - tax_rate - price1 '/api/v2/products/{id}': get: summary: 'Ürün Göster' operationId: rnGster description: 'Ürün Kaydı Göster' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: id: 18248770 title: 'Varyantlı Ürün Örneği' sub_title: '' stock: 0 stock_code: HBCV00002Z3YQM barcode: '8683323005482' barcode_2: null tax_rate: 8 currency: TL description: 'Varyantlı Ürün Örneği' brand: 'The North Face' desi: '1' source: sopyo tag_id: 453 category: id: 413616 name: Bot status: false images: - 'https://app.sopyo.com/public/products/a3150a3c93a90eb882dbecb5e3d7f8f9.jpg' - 'https://app.sopyo.com/public/products/9e15adb60acffcd98af06e02c7241a8a.jpg' - 'https://app.sopyo.com/public/products/516c4c59ab7a0d900f402c9fb07ef96f.jpg' - 'https://app.sopyo.com/public/products/ddd0d5d962f4dcf7ad0ac10c713f9fc4.jpg' variants: - id: 14824969 product_id: 18248770 stock_code: HBCV00002Z3WEY stock: 0 barcode: HBCV00002Z3WEY option1: name: 'Ayakkabı Numarası' value: '40' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null - id: 14824972 product_id: 18248770 stock_code: HBCV00002Z3WEZ stock: 0 barcode: HBCV00002Z3WEZ option1: name: 'Ayakkabı Numarası' value: '41' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null - id: 14824975 product_id: 18248770 stock_code: HBCV00002Z3WF0 stock: 0 barcode: HBCV00002Z3WF0 option1: name: 'Ayakkabı Numarası' value: '42' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null properties: id: type: integer example: 18248770 description: "Ürün id'si" title: type: string example: 'Varyantlı Ürün Örneği' description: 'Ürün adı' sub_title: type: string example: '' description: 'Ürün alt başlığı' stock: type: integer example: 0 description: 'Ürün stok bilgisi' stock_code: type: string example: HBCV00002Z3YQM description: 'Ürün stok kodu bilgisi' barcode: type: string example: '8683323005482' description: 'Ürün barkod bilgisi' barcode_2: type: string example: null description: 'Ürün ikinci barkod bilgisi' tax_rate: type: integer example: 8 description: 'Ürün KDV oranı bilgisi' currency: type: string example: TL description: 'Ürün satış para birimi bilgisi' description: type: string example: 'Varyantlı Ürün Örneği' description: 'Ürün açıklaması' brand: type: string example: 'The North Face' description: 'Ürün marka bilgisi' desi: type: string example: '1' description: 'Ürün desi bilgisi' source: type: string example: sopyo description: 'Ürünün hangi kaynak üzerinden sisteme eklendiği bilgisini vermektedir' tag_id: type: integer example: 453 category: type: object properties: id: type: integer example: 413616 name: type: string example: Bot status: type: boolean example: false images: type: array example: - 'https://app.sopyo.com/public/products/a3150a3c93a90eb882dbecb5e3d7f8f9.jpg' - 'https://app.sopyo.com/public/products/9e15adb60acffcd98af06e02c7241a8a.jpg' - 'https://app.sopyo.com/public/products/516c4c59ab7a0d900f402c9fb07ef96f.jpg' - 'https://app.sopyo.com/public/products/ddd0d5d962f4dcf7ad0ac10c713f9fc4.jpg' description: 'Ürün resimlerinin URL adres bilgilerini vermektedir.' items: type: string variants: type: array example: - id: 14824969 product_id: 18248770 stock_code: HBCV00002Z3WEY stock: 0 barcode: HBCV00002Z3WEY option1: name: 'Ayakkabı Numarası' value: '40' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null - id: 14824972 product_id: 18248770 stock_code: HBCV00002Z3WEZ stock: 0 barcode: HBCV00002Z3WEZ option1: name: 'Ayakkabı Numarası' value: '41' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null - id: 14824975 product_id: 18248770 stock_code: HBCV00002Z3WF0 stock: 0 barcode: HBCV00002Z3WF0 option1: name: 'Ayakkabı Numarası' value: '42' option2: name: Renk value: 'Siyah - Sarı' price_1: sale_price: 6555 list_price: null price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null description: 'Ürün varyantlarını vermektedir.' items: type: object properties: id: type: integer example: 14824969 product_id: type: integer example: 18248770 stock_code: type: string example: HBCV00002Z3WEY stock: type: integer example: 0 barcode: type: string example: HBCV00002Z3WEY option1: type: object properties: name: type: string example: 'Ayakkabı Numarası' value: type: string example: '40' option2: type: object properties: name: type: string example: Renk value: type: string example: 'Siyah - Sarı' price_1: type: object properties: sale_price: type: integer example: 6555 list_price: type: string example: null price_2: type: string example: null price_3: type: string example: null price_4: type: string example: null price_5: type: string example: null price_6: type: string example: null price_7: type: string example: null price_8: type: string example: null price_9: type: string example: null price_10: type: string example: null 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Ürün Güncelle' operationId: rnGncelle description: 'Ürün Kaydı Güncelle' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: id: 1 title: 'Sırt Çantası' sub_title: null stock: 50 stock_code: SPE80693 barcode: '1234556' barcode_2: null tax_rate: 18 currency: TL description: '' brand: Sopyo desi: '1' source: ankasync price_1: sale_price: 681.08 list_price: 690.08 price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null category: id: 1 name: Çanta status: false images: - 'https://www.app.sopyo.com/images/urunler/sirt-can-5253_1.jpg' variants: [] properties: id: type: integer example: 1 description: "Ürün id'si" title: type: string example: 'Sırt Çantası' description: 'Ürün adı' sub_title: type: string example: null description: 'Ürün alt başlığı' stock: type: integer example: 50 description: 'Ürün stok bilgisi' stock_code: type: string example: SPE80693 description: 'Ürün stok kodu bilgisi' barcode: type: string example: '1234556' description: 'Ürün barkod bilgisi' barcode_2: type: string example: null description: 'Ürün ikinci barkod bilgisi' tax_rate: type: integer example: 18 description: 'Ürün KDV oranı bilgisi' currency: type: string example: TL description: 'Ürün satış para birimi bilgisi' description: type: string example: '' description: 'Ürün açıklaması' brand: type: string example: Sopyo description: 'Ürün marka bilgisi' desi: type: string example: '1' description: 'Ürün desi bilgisi' source: type: string example: ankasync description: 'Ürünün hangi kaynak üzerinden sisteme eklendiği bilgisini vermektedir' price_1: type: object properties: sale_price: type: number example: 681.08 description: 'Fiyat 1 grubunun satış fiyatı bilgisini vermektedir' list_price: type: number example: 690.08 description: 'Fiyat 1 grubunun liste fiyatı bilgisini vermektedir' price_2: type: string example: null description: 'Fiyat 2 grubunun fiyat bilgisini vermektedir' price_3: type: string example: null description: 'Fiyat 3 grubunun fiyat bilgisini vermektedir' price_4: type: string example: null description: 'Fiyat 4 grubunun fiyat bilgisini vermektedir' price_5: type: string example: null description: 'Fiyat 5 grubunun fiyat bilgisini vermektedir' price_6: type: string example: null description: 'Fiyat 6 grubunun fiyat bilgisini vermektedir' price_7: type: string example: null description: 'Fiyat 7 grubunun fiyat bilgisini vermektedir' price_8: type: string example: null description: 'Fiyat 8 grubunun fiyat bilgisini vermektedir' price_9: type: string example: null description: 'Fiyat 9 grubunun fiyat bilgisini vermektedir' price_10: type: string example: null description: 'Fiyat 10 grubunun fiyat bilgisini vermektedir' category: type: object properties: id: type: integer example: 1 name: type: string example: Çanta status: type: boolean example: false images: type: array example: - 'https://www.app.sopyo.com/images/urunler/sirt-can-5253_1.jpg' description: 'Ürün resimlerinin URL adres bilgilerini vermektedir.' items: type: string variants: type: array example: [] description: 'Ürün varyantlarını vermektedir.' 401: description: 'Kimlik Doğrulanmamış' content: text/plain: schema: type: string example: '"status": false,"message": "Unauthenticated."}' 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: false content: application/json: schema: type: object properties: title: type: string description: 'Ürünün adı. Minumum uzunluğu en az 5 karakter olmalıdır. Maksimum uzunluğu en çok 150 karakter olmalıdır.' example: 'Çamaşır Mandalı' stock_code: type: string description: 'Ürünün stok kodu bilgisi. Maksimum uzunluğu en çok 150 karakter olmalıdır.' example: '87484554' stock: type: integer description: 'Ürünün stok miktarı bilgisi.' example: 45 category_id: type: integer description: 'Ürün kategori bilgisi. Kategori id yazmanınız gerekmektedir. .' example: 25 desi: type: number description: 'Ürün desi bilgisi.' example: 5.0 tax_rate: type: number description: 'Ürün KDV bilgisi. 0, 1, 8, or 18 bu değerlerden herhangi biri olmalıdır.' example: 18.0 sub_title: type: string description: 'Ürünün alt başlık bilgisi. Maksimum uzunluğu en çok 150 karakter olmalıdır.' example: 'Gökkuşağı temalı çamaşır mandalı' barcode: type: string description: 'Ürünün barkod bilgisi. Maksimum uzunluğu en çok 100 karakter olmalıdır.' example: 5EASDF522 barcode_2: type: string description: 'Ürünün 2. barkod bilgisi. Maksimum uzunluğu en çok 100 karakter olmalıdır.' example: 5EAEF525 brand: type: string description: 'Ürünün marka bilgisi. Maksimum uzunluğu en çok 50 karakter olmalıdır.' example: YILDIZ description: type: string description: 'Ürün açıklaması.' example: 'Gökkuşağı temalı çamaşır mandalları kaliteli malzeme yapısı ile uzun süre kullanılabilir.' images: type: array description: 'Ürün resimleri için URL olarak göndeririniz. Geçerli bir URL olmalıdır.' example: - 'https://app.sopyo.com/public/2021/11/MANDAL-GOKKUSAGI-1.jpg' - 'https://app.sopyo.com/public/2021/11/MANDAL-GOKKUSAGI-1.jpg' items: type: string price1: type: array description: 'Fiyat 1 Grubu' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 1 için satış fiyatı.' example: '7913.34' list_price: type: string description: 'Fiyat grubu 1 için liste fiyatı.' example: '19.7' required: - sale_price - list_price price2: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 2 için satış fiyatı.' example: '779429' list_price: type: string description: 'Fiyat grubu 2 için liste fiyatı.' example: '1' required: - sale_price price3: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 3 için satış fiyatı.' example: '4' list_price: type: string description: 'Fiyat grubu 3 için liste fiyatı.' example: '4' required: - sale_price price4: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 4 için satış fiyatı.' example: '2' list_price: type: string description: 'Fiyat grubu 4 için liste fiyatı.' example: '00' required: - sale_price price5: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 5 için satış fiyatı.' example: '493' required: - sale_price price6: type: array description: '' example: - [] items: type: object properties: list_price: type: string description: 'Fiyat grubu 6 için liste fiyatı.' example: '994721.68' price7: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 7 için satış fiyatı.' example: '029714.4' list_price: type: string description: 'Fiyat grubu 7 için liste fiyatı.' example: '77' required: - sale_price price8: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 8 için satış fiyatı.' example: '111' list_price: type: string description: 'Fiyat grubu 8 için liste fiyatı.' example: '0.15' required: - sale_price price9: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 9 için satış fiyatı.' example: '893.54' list_price: type: string description: 'Fiyat grubu 9 için liste fiyatı.' example: '3' required: - sale_price price10: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 10 için satış fiyatı.' example: '3628' list_price: type: string description: 'Fiyat grubu 10 için liste fiyatı.' example: '73182.05' required: - sale_price price_5: type: object description: '' example: list_price: '53' properties: list_price: type: string description: 'Fiyat grubu 5 için liste fiyatı.' example: '53' price_6: type: object description: '' example: sale_price: '2.01' properties: sale_price: type: string description: 'Fiyat grubu 6 için satış fiyatı.' example: '2.01' delete: summary: 'Ürün Sil' operationId: rnSil description: 'Ürün Kaydı Sil' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Ürün ID' example: 5 required: true schema: type: integer '/api/v2/products/{id}/variants': get: summary: 'Ürün Seçenek Listesi (Varyant)' operationId: rnSeenekListesiVaryant description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - id: 21 product_id: 2 stock_code: hgfkzm1-1063-020beyazl stock: 50 barcode: '' option1: name: Renk value: Beyaz option2: name: Beden value: L price_1: sale_price: 0 list_price: 0 price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null links: first: '/api/v2/products/2/variants?page=1' last: '/api/v2/products/2/variants?page=1' prev: null next: null meta: current_page: 1 from: 1 last_page: 1 links: - url: null label: '« Önceki' active: false - url: '/api/v2/products/2/variants?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false path: /api/v2/products/2/variants per_page: 100 to: 3 total: 3 properties: data: type: array example: - id: 21 product_id: 2 stock_code: hgfkzm1-1063-020beyazl stock: 50 barcode: '' option1: name: Renk value: Beyaz option2: name: Beden value: L price_1: sale_price: 0 list_price: 0 price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null items: type: object properties: id: type: integer example: 21 product_id: type: integer example: 2 stock_code: type: string example: hgfkzm1-1063-020beyazl stock: type: integer example: 50 barcode: type: string example: '' option1: type: object properties: name: type: string example: Renk value: type: string example: Beyaz option2: type: object properties: name: type: string example: Beden value: type: string example: L price_1: type: object properties: sale_price: type: integer example: 0 list_price: type: integer example: 0 price_2: type: string example: null price_3: type: string example: null price_4: type: string example: null price_5: type: string example: null price_6: type: string example: null price_7: type: string example: null price_8: type: string example: null price_9: type: string example: null price_10: type: string example: null links: type: object properties: first: type: string example: '/api/v2/products/2/variants?page=1' last: type: string example: '/api/v2/products/2/variants?page=1' prev: type: string example: null next: type: string example: null meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 1 links: type: array example: - url: null label: '« Önceki' active: false - url: '/api/v2/products/2/variants?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: /api/v2/products/2/variants per_page: type: integer example: 100 to: type: integer example: 3 total: type: integer example: 3 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Ürün Seçenek Ekle (Varyant)' operationId: rnSeenekEkleVaryant description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 21 product_id: 2 stock_code: hgfkzm1-1063-020beyazl stock: 50 barcode: '' option1: name: Renk value: Beyaz option2: name: Beden value: L price_1: sale_price: 0 list_price: 0 price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null properties: data: type: object properties: id: type: integer example: 21 product_id: type: integer example: 2 stock_code: type: string example: hgfkzm1-1063-020beyazl stock: type: integer example: 50 barcode: type: string example: '' option1: type: object properties: name: type: string example: Renk value: type: string example: Beyaz option2: type: object properties: name: type: string example: Beden value: type: string example: L price_1: type: object properties: sale_price: type: integer example: 0 list_price: type: integer example: 0 price_2: type: string example: null price_3: type: string example: null price_4: type: string example: null price_5: type: string example: null price_6: type: string example: null price_7: type: string example: null price_8: type: string example: null price_9: type: string example: null price_10: type: string example: null 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: stock_code: type: string description: 'Varyant stok kodu gönderiniz.' example: qui stock: type: integer description: 'Varyant stok bilgisi gönderiniz.' example: 3 barcode: type: string description: 'Varyant barkod no gönderiniz.' example: voluptates values: type: array description: '' example: null items: type: object properties: name: type: string description: 'Varyant seçenek adı bilgisi gönderiniz.' example: voluptates value: type: string description: 'Varyant seçenek değer bilgisi gönderiniz.' example: corrupti required: - name - value price_1: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 1 için satış fiyatı.' example: '1643' list_price: type: decimal description: 'Fiyat grubu 1 için liste fiyatı.' example: '3.35' required: - sale_price - list_price price_2: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 2 için satış fiyatı.' example: '715' list_price: type: decimal description: 'Fiyat grubu 2 için liste fiyatı.' example: '0331797.4' required: - sale_price price_3: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 3 için satış fiyatı.' example: '048' list_price: type: decimal description: 'Fiyat grubu 3 için liste fiyatı.' example: '404.54' required: - sale_price price_4: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 4 için satış fiyatı.' example: '2257' list_price: type: decimal description: 'Fiyat grubu 4 için liste fiyatı.' example: '610' required: - sale_price price_5: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 5 için satış fiyatı.' example: '53' list_price: type: string description: 'Fiyat grubu 5 için liste fiyatı.' example: '9' required: - sale_price price_6: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 6 için satış fiyatı.' example: '232957478' list_price: type: decimal description: 'Fiyat grubu 6 için liste fiyatı.' example: '363238.31' required: - sale_price price_7: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 7 için satış fiyatı.' example: '84' list_price: type: decimal description: 'Fiyat grubu 7 için liste fiyatı.' example: '5' required: - sale_price price_8: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 8 için satış fiyatı.' example: '1946042.8' list_price: type: decimal description: 'Fiyat grubu 8 için liste fiyatı.' example: '6944' required: - sale_price price_9: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 9 için satış fiyatı.' example: '2.74' list_price: type: decimal description: 'Fiyat grubu 9 için liste fiyatı.' example: '4890.2' required: - sale_price price_10: type: array description: '' example: null items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 10 için satış fiyatı.' example: '2.48' list_price: type: decimal description: 'Fiyat grubu 10 için liste fiyatı.' example: '3.33' required: - sale_price required: - stock_code - stock - barcode - values - price_1 parameters: - in: path name: id description: 'Ürün Id' example: 1 required: true schema: type: integer '/api/v2/products/{id}/variants/{variant_id}': get: summary: 'Ürün Seçenek Göster (Varyant)' operationId: rnSeenekGsterVaryant description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 21 product_id: 2 stock_code: hgfkzm1-1063-020beyazl stock: 50 barcode: '' option1: name: Renk value: Beyaz option2: name: Beden value: L price_1: sale_price: 0 list_price: 0 price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null properties: data: type: object properties: id: type: integer example: 21 product_id: type: integer example: 2 stock_code: type: string example: hgfkzm1-1063-020beyazl stock: type: integer example: 50 barcode: type: string example: '' option1: type: object properties: name: type: string example: Renk value: type: string example: Beyaz option2: type: object properties: name: type: string example: Beden value: type: string example: L price_1: type: object properties: sale_price: type: integer example: 0 list_price: type: integer example: 0 price_2: type: string example: null price_3: type: string example: null price_4: type: string example: null price_5: type: string example: null price_6: type: string example: null price_7: type: string example: null price_8: type: string example: null price_9: type: string example: null price_10: type: string example: null 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Ürün Seçenek Güncelle (Varyant)' operationId: rnSeenekGncelleVaryant description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 21 product_id: 2 stock_code: hgfkzm1-1063-020beyazl stock: 50 barcode: '' option1: name: Renk value: Beyaz option2: name: Beden value: L price_1: sale_price: 0 list_price: 0 price_2: null price_3: null price_4: null price_5: null price_6: null price_7: null price_8: null price_9: null price_10: null properties: data: type: object properties: id: type: integer example: 21 product_id: type: integer example: 2 stock_code: type: string example: hgfkzm1-1063-020beyazl stock: type: integer example: 50 barcode: type: string example: '' option1: type: object properties: name: type: string example: Renk value: type: string example: Beyaz option2: type: object properties: name: type: string example: Beden value: type: string example: L price_1: type: object properties: sale_price: type: integer example: 0 list_price: type: integer example: 0 price_2: type: string example: null price_3: type: string example: null price_4: type: string example: null price_5: type: string example: null price_6: type: string example: null price_7: type: string example: null price_8: type: string example: null price_9: type: string example: null price_10: type: string example: null 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: stock_code: type: string description: 'Varyant stok kodu gönderiniz.' example: animi stock: type: integer description: 'Varyant stok bilgisi gönderiniz.' example: 5 barcode: type: string description: 'Varyant barkod no gönderiniz.' example: quae values: type: array description: '' example: null items: type: object properties: name: type: string description: 'Varyant seçenek adı bilgisi gönderiniz.' example: et value: type: string description: 'Varyant seçenek değer bilgisi gönderiniz.' example: repellendus required: - name - value price_1: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 1 için satış fiyatı.' example: '7178923.84' list_price: type: string description: 'Fiyat grubu 1 için liste fiyatı.' example: '078547.10' required: - sale_price - list_price price_2: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 2 için satış fiyatı.' example: '8' list_price: type: string description: 'Fiyat grubu 2 için liste fiyatı.' example: '30680.32' required: - sale_price price_3: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 3 için satış fiyatı.' example: '42' list_price: type: string description: 'Fiyat grubu 3 için liste fiyatı.' example: '447.3' required: - sale_price price_4: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 4 için satış fiyatı.' example: '79' list_price: type: string description: 'Fiyat grubu 4 için liste fiyatı.' example: '31590247.19' required: - sale_price price_5: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 5 için satış fiyatı.' example: '00' list_price: type: string description: 'Fiyat grubu 5 için liste fiyatı.' example: '10' required: - sale_price price_6: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 6 için satış fiyatı.' example: '1.31' list_price: type: string description: 'Fiyat grubu 6 için liste fiyatı.' example: '1.82' required: - sale_price price_7: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 7 için satış fiyatı.' example: '09.07' list_price: type: string description: 'Fiyat grubu 7 için liste fiyatı.' example: '1328016' required: - sale_price price_8: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 8 için satış fiyatı.' example: '172750.9' list_price: type: string description: 'Fiyat grubu 8 için liste fiyatı.' example: '8.12' required: - sale_price price_9: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 9 için satış fiyatı.' example: '1.3' list_price: type: string description: 'Fiyat grubu 9 için liste fiyatı.' example: '71600' required: - sale_price price_10: type: array description: '' example: null items: type: object properties: sale_price: type: string description: 'Fiyat grubu 10 için satış fiyatı.' example: '000975.5' list_price: type: string description: 'Fiyat grubu 10 için liste fiyatı.' example: '4' required: - sale_price required: - stock_code - stock - barcode delete: summary: 'Ürün Seçenek Sil (Varyant)' operationId: rnSeenekSilVaryant description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Ürün id' example: 13 required: true schema: type: integer - in: path name: variant_id description: 'Varyant id' example: 1 required: true schema: type: integer '/api/v2/products/{id}/images': get: summary: 'Ürün Resimleri' operationId: rnResimleri description: 'Ürün Resimleri' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - 'https://www.app.sopyo.com/images/urunler/sirt-can-5253_1.jpg' - 'https://www.app.sopyo.com/images/urunler/sirt-can-5253_2.jpg' properties: data: type: array example: - 'https://www.app.sopyo.com/images/urunler/sirt-can-5253_1.jpg' - 'https://www.app.sopyo.com/images/urunler/sirt-can-5253_2.jpg' items: type: string 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Ürün ID' example: 5 required: true schema: type: integer /api/v2/categories: get: summary: 'Kategori Listesi' operationId: kategoriListesi description: '

Kategori Listesi

// Örnek filtrelemeler

/categories?name[eq]=Televizyon
Kategori adına göre filtreleme
(like,eq)
/categories?id[eq]=1
Kategori id"sine filtreleme.
(like,eq,lt,lte,gt,gte)
' parameters: [] responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - id: 1 name: Telefon - id: 2 name: Televizyon links: first: '/api/v2/categories?page=1' last: '/api/v2/categories?page=2' prev: null next: '/api/v2/categories?page=2' meta: current_page: 1 from: 1 last_page: 2 links: - url: null label: '« Önceki' active: false - url: '/api/v2/categories?page=1' label: '1' active: true - url: '/api/v2/categories?page=2' label: '2' active: false - url: '/api/v2/categories?page=2' label: 'Sonraki »' active: false path: /api/v2/categories per_page: 100 to: 100 total: 124 properties: data: type: array example: - id: 1 name: Telefon - id: 2 name: Televizyon items: type: object properties: id: type: integer example: 1 name: type: string example: Telefon links: type: object properties: first: type: string example: '/api/v2/categories?page=1' last: type: string example: '/api/v2/categories?page=2' prev: type: string example: null next: type: string example: '/api/v2/categories?page=2' meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 2 links: type: array example: - url: null label: '« Önceki' active: false - url: '/api/v2/categories?page=1' label: '1' active: true - url: '/api/v2/categories?page=2' label: '2' active: false - url: '/api/v2/categories?page=2' label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: /api/v2/categories per_page: type: integer example: 100 to: type: integer example: 100 total: type: integer example: 124 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Katalog Yönetimi' post: summary: 'Kategori Ekle' operationId: kategoriEkle description: 'Yeni kategori kaydı oluştur' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: Televizyon properties: data: type: object properties: id: type: integer example: 5 name: type: string example: Televizyon 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Kategori ad bilgisi.' example: Televizyon required: - name '/api/v2/categories/{id}': get: summary: 'Kategori Göster' operationId: kategoriGster description: 'Kategori Kaydı Göster' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: Televizyon properties: data: type: object properties: id: type: integer example: 5 name: type: string example: Televizyon 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Kategori Güncelle' operationId: kategoriGncelle description: 'Kategori Kaydı Güncelle' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: Apple properties: data: type: object properties: id: type: integer example: 5 name: type: string example: Apple 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Kategori ad bilgisi.' example: Televizyon required: - name delete: summary: 'Kategori Sil' operationId: kategoriSil description: 'Kategori Kaydı Sil' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Kategori ID' example: 5 required: true schema: type: integer /api/v2/brands: get: summary: 'Marka Listesi' operationId: markaListesi description: '

Marka Listesi

// Örnek filtrelemeler

/brands?name[eq]=Televizyon
Marka adına göre filtreleme
(like,eq)
/brands?id[eq]=1
Marka id"sine filtreleme.
(like,eq,lt,lte,gt,gte)
' parameters: [] responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - id: 1 name: Sopyo - id: 2 name: diğer links: first: '/api/v2/brands?page=1' last: '/api/v2/brands?page=2' prev: null next: '/api/v2/brands?page=2' meta: current_page: 1 from: 1 last_page: 2 links: - url: null label: '« Önceki' active: false - url: '/api/v2/brands?page=1' label: '1' active: true - url: '/api/v2/brands?page=2' label: '2' active: false - url: '/api/v2/brands?page=2' label: 'Sonraki »' active: false path: /api/v2/brands per_page: 100 to: 100 total: 124 properties: data: type: array example: - id: 1 name: Sopyo - id: 2 name: diğer items: type: object properties: id: type: integer example: 1 name: type: string example: Sopyo links: type: object properties: first: type: string example: '/api/v2/brands?page=1' last: type: string example: '/api/v2/brands?page=2' prev: type: string example: null next: type: string example: '/api/v2/brands?page=2' meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 2 links: type: array example: - url: null label: '« Önceki' active: false - url: '/api/v2/brands?page=1' label: '1' active: true - url: '/api/v2/brands?page=2' label: '2' active: false - url: '/api/v2/brands?page=2' label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: /api/v2/brands per_page: type: integer example: 100 to: type: integer example: 100 total: type: integer example: 124 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Katalog Yönetimi' post: summary: 'Marka Ekle' operationId: markaEkle description: 'Yeni marka kaydı oluştur' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: Apple properties: data: type: object properties: id: type: integer example: 5 name: type: string example: Apple 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object nullable: true tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Marka ad bilgisi.' example: Apple required: - name '/api/v2/brands/{id}': get: summary: 'Marka Göster' operationId: markaGster description: 'Marka Kaydı Göster' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: Apple properties: data: type: object properties: id: type: integer example: 5 name: type: string example: Apple 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Marka Güncelle' operationId: markaGncelle description: 'Marka Kaydı Güncelle' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: Apple properties: data: type: object properties: id: type: integer example: 5 name: type: string example: Apple 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Marka ad bilgisi.' example: Samsung required: - name delete: summary: 'Marka Sil' operationId: markaSil description: 'Marka Kaydı Sil' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Marka ID' example: 5 required: true schema: type: integer /api/v2/tags: get: summary: 'Etiket Listesi' operationId: etiketListesi description: 'Etiket Listesi' parameters: [] responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - id: 1 name: test color: '#582d2d' - id: 2 name: 'Test 3' color: black links: first: '/api/v2/tags?page=1' last: '/api/v2/tags?page=1' prev: null next: null meta: current_page: 1 from: 1 last_page: 1 links: - url: null label: '« Önceki' active: false - url: '/api/v2/tags?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false path: /api/v2/tags per_page: 100 to: 4 total: 4 properties: data: type: array example: - id: 1 name: test color: '#582d2d' - id: 2 name: 'Test 3' color: black items: type: object properties: id: type: integer example: 1 name: type: string example: test color: type: string example: '#582d2d' links: type: object properties: first: type: string example: '/api/v2/tags?page=1' last: type: string example: '/api/v2/tags?page=1' prev: type: string example: null next: type: string example: null meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 1 links: type: array example: - url: null label: '« Önceki' active: false - url: '/api/v2/tags?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: /api/v2/tags per_page: type: integer example: 100 to: type: integer example: 4 total: type: integer example: 4 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Katalog Yönetimi' post: summary: 'Etiket Ekle' operationId: etiketEkle description: 'Yeni etiket kaydı oluştur' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: 'Test 3' color: black properties: data: type: object properties: id: type: integer example: 5 name: type: string example: 'Test 3' color: type: string example: black 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object nullable: true tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Etiket ad bilgisi.' example: Popüler color: type: string description: 'Etiket renk kodu bilgisi.' example: black required: - name - color '/api/v2/tags/{id}': get: summary: 'Etiket Göster' operationId: etiketGster description: 'Etiket Kaydı Göster' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: 'Test 3' color: black properties: data: type: object properties: id: type: integer example: 5 name: type: string example: 'Test 3' color: type: string example: black 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object nullable: true 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' put: summary: 'Etiket Güncelle' operationId: etiketGncelle description: 'Etiket Kaydı Güncelle' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 5 name: 'Test 3' color: black properties: data: type: object properties: id: type: integer example: 5 name: type: string example: 'Test 3' color: type: string example: black 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: 'Etiket ad bilgisi.' example: Popüler color: type: string description: 'Etiket renk kodu bilgisi.' example: Popüler required: - name - color delete: summary: 'Etiket Sil' operationId: etiketSil description: 'Etiket Kaydı Sil' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' parameters: - in: path name: id description: 'Etiket ID' example: 5 required: true schema: type: integer '/api/v2/tags/{id}/add-product': post: summary: "Etiket'e Ürün Atama" operationId: etiketernAtama description: 'Etikete Ürün Atama' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: products: type: object description: 'Eklemek istediğiniz ürünlerin id bilgilerini yazınız.' example: - 1 - 2 - 3 - 4 - 5 properties: [] required: - products parameters: - in: path name: id description: 'Etiket ID' example: 5 required: true schema: type: integer '/api/v2/tags/{id}/remove-product': delete: summary: "Etiket'den Ürün Çıkartma" operationId: etiketdenrnkartma description: "Etiket'den Ürün Çıkartma" parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Katalog Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: products: type: object description: 'Çıkartmak istediğiniz ürünlerin id bilgilerini yazınız.' example: - 1 - 2 - 3 - 4 - 5 properties: [] required: - products parameters: - in: path name: id description: 'Etiket ID' example: 5 required: true schema: type: integer /api/v2/orders: get: summary: 'Sipariş Listesi' operationId: sipariListesi description: '

Sipariş Listesi

// Örnek filtrelemeler

/orders?sort=asc
Id ile sıralama.
(asc,desc)
/orders?order_code[eq]=2554
Sipariş koduna göre filtreleme.
(like,eq)
/orders?order_type[eq]=sopyo
Sipariş tipine göre filtreleme
(like,eq)
/orders?erp_transfer_status[eq]=1
Sipariş ERP Aktarım Durumuna Göre Filtreleme
(eq)
/orders?full_name[eq]=Sopyo
Müşteri adına göre filtreleme
(like,eq)
/orders?order_date[eq]=26-09-2022
Sipariş tarihine göre filtreleme
(eq)
/orders?order_date[btw]=01-09-2022,30-09-2022
Sipariş tarihine göre filtreleme
(btw)
/orders?id[eq]=1
Id ile sipariş filtreleme.
(like,eq,lt,lte,gt,gte)
/orders?id[in]=342,432,233
Sipariş Id`lerine göre filtreleme.
(in)
/orders?order_status[eq]=1
Sipariş durumuna göre filtreleme.
(like,eq)
/orders?order_status[in]=1,2,3
Sipariş durumuna göre filtreleme.
(in)
/orders?page=1
Sayfalama ile filtreleme
(eq)
/orders?cargo_tracking_no[eq]=322
Kargo takip num. göre filtreleme.
(eq,like)
' parameters: [] responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: - id: 111 order_code: '1277750982' order_type: trendyol order_date: '2022-08-26 20:50' order_status: 1 market_place_id: '55206377' commission_total: 0 total_price: 100000 customer_info: email: pf+7vw6nvnq@trendyolmail.com shipping_info: full_name: 'Yasin AYDOĞDU' gsm: '1231231212' identification_no: '11111111111' city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: 'Çifte Havuzlar, YTÜ Davutpaşa Kampüsü, Teknopark D:C1 Blok/205, 34220 Esenler/İstanbul Bina No:1 Daire:2 Esenler İstanbul Oms Address Description' billing_info: full_name: 'Proj-e Yazılım' gsm: '1231231212' identification_no: '11111111111' tax_number: '11111111111' tax_office: null city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: null cargo_info: company: null type: 'Satıcı Öder' campaing_no: '7250000006671572' tracking_no: null order_items: - marketplace_id: '4221437' marketplace_product_id: '194768909016' stock_code: M520L11 product_name: 'NB Performance Mens Shoes-Sonay' variant_stock_code: null variant_name: null commission_price: 0 quantity: 2 total_price: 100000 - id: 110 order_code: '1168935936' order_type: trendyol order_date: '2022-08-26 21:11' order_status: 1 market_place_id: '55206382' commission_total: 0 total_price: 1299 customer_info: email: pf+gllw353w@trendyolmail.com shipping_info: full_name: 'Yasin AYDOĞDU' gsm: '1231231212' identification_no: '11111111111' city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: 'Çifte Havuzlar, YTÜ Davutpaşa Kampüsü, Teknopark D:C1 Blok/205, 34220 Esenler/İstanbul Bina No:1 Daire:2 Esenler İstanbul Oms Address Description' billing_info: full_name: 'Proj-e Yazılım' gsm: '1231231212' identification_no: '11111111111' tax_number: '11111111111' tax_office: null city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: null cargo_info: company: null type: 'Satıcı Öder' campaing_no: '7250000006671626' tracking_no: null order_items: - marketplace_id: '4221440' marketplace_product_id: '194182165036' stock_code: M520LN6 product_name: 'New Balance 520' variant_stock_code: null variant_name: null commission_price: 0 quantity: 1 total_price: 1299 - id: 109 order_code: '730729781' order_type: trendyol order_date: '2022-08-26 21:22' order_status: 1 market_place_id: '55206384' commission_total: 0 total_price: 1299 customer_info: email: pf+de2j8m5l@trendyolmail.com shipping_info: full_name: 'Yasin AYDOĞDU' gsm: '1231231212' identification_no: '11111111111' city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: 'Çifte Havuzlar, YTÜ Davutpaşa Kampüsü, Teknopark D:C1 Blok/205, 34220 Esenler/İstanbul Bina No:1 Daire:2 Esenler İstanbul Oms Address Description' billing_info: full_name: 'Proj-e Yazılım' gsm: '1231231212' identification_no: '11111111111' tax_number: '11111111111' tax_office: null city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: null cargo_info: company: null type: 'Satıcı Öder' campaing_no: '7250000006671640' tracking_no: null order_items: - marketplace_id: '4221441' marketplace_product_id: '194182165036' stock_code: M520LN6 product_name: 'New Balance 520' variant_stock_code: null variant_name: null commission_price: 0 quantity: 1 total_price: 1299 links: first: '/api/v2/orders?page=1' last: '/api/v2/orders?page=1' prev: null next: null meta: current_page: 1 from: 1 last_page: 1 links: - url: null label: '« Önceki' active: false - url: '/api/v2/orders?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false path: /api/v2/orders per_page: 100 to: 3 total: 3 properties: data: type: array example: - id: 111 order_code: '1277750982' order_type: trendyol order_date: '2022-08-26 20:50' order_status: 1 market_place_id: '55206377' commission_total: 0 total_price: 100000 customer_info: email: pf+7vw6nvnq@trendyolmail.com shipping_info: full_name: 'Yasin AYDOĞDU' gsm: '1231231212' identification_no: '11111111111' city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: 'Çifte Havuzlar, YTÜ Davutpaşa Kampüsü, Teknopark D:C1 Blok/205, 34220 Esenler/İstanbul Bina No:1 Daire:2 Esenler İstanbul Oms Address Description' billing_info: full_name: 'Proj-e Yazılım' gsm: '1231231212' identification_no: '11111111111' tax_number: '11111111111' tax_office: null city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: null cargo_info: company: null type: 'Satıcı Öder' campaing_no: '7250000006671572' tracking_no: null order_items: - marketplace_id: '4221437' marketplace_product_id: '194768909016' stock_code: M520L11 product_name: 'NB Performance Mens Shoes-Sonay' variant_stock_code: null variant_name: null commission_price: 0 quantity: 2 total_price: 100000 - id: 110 order_code: '1168935936' order_type: trendyol order_date: '2022-08-26 21:11' order_status: 1 market_place_id: '55206382' commission_total: 0 total_price: 1299 customer_info: email: pf+gllw353w@trendyolmail.com shipping_info: full_name: 'Yasin AYDOĞDU' gsm: '1231231212' identification_no: '11111111111' city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: 'Çifte Havuzlar, YTÜ Davutpaşa Kampüsü, Teknopark D:C1 Blok/205, 34220 Esenler/İstanbul Bina No:1 Daire:2 Esenler İstanbul Oms Address Description' billing_info: full_name: 'Proj-e Yazılım' gsm: '1231231212' identification_no: '11111111111' tax_number: '11111111111' tax_office: null city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: null cargo_info: company: null type: 'Satıcı Öder' campaing_no: '7250000006671626' tracking_no: null order_items: - marketplace_id: '4221440' marketplace_product_id: '194182165036' stock_code: M520LN6 product_name: 'New Balance 520' variant_stock_code: null variant_name: null commission_price: 0 quantity: 1 total_price: 1299 - id: 109 order_code: '730729781' order_type: trendyol order_date: '2022-08-26 21:22' order_status: 1 market_place_id: '55206384' commission_total: 0 total_price: 1299 customer_info: email: pf+de2j8m5l@trendyolmail.com shipping_info: full_name: 'Yasin AYDOĞDU' gsm: '1231231212' identification_no: '11111111111' city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: 'Çifte Havuzlar, YTÜ Davutpaşa Kampüsü, Teknopark D:C1 Blok/205, 34220 Esenler/İstanbul Bina No:1 Daire:2 Esenler İstanbul Oms Address Description' billing_info: full_name: 'Proj-e Yazılım' gsm: '1231231212' identification_no: '11111111111' tax_number: '11111111111' tax_office: null city: İstanbul district: Esenler neighborhood: Esenler postal_code: '01010' address: null cargo_info: company: null type: 'Satıcı Öder' campaing_no: '7250000006671640' tracking_no: null order_items: - marketplace_id: '4221441' marketplace_product_id: '194182165036' stock_code: M520LN6 product_name: 'New Balance 520' variant_stock_code: null variant_name: null commission_price: 0 quantity: 1 total_price: 1299 items: type: object properties: id: type: integer example: 111 order_code: type: string example: '1277750982' order_type: type: string example: trendyol order_date: type: string example: '2022-08-26 20:50' order_status: type: integer example: 1 market_place_id: type: string example: '55206377' commission_total: type: integer example: 0 total_price: type: integer example: 100000 customer_info: type: object properties: email: type: string example: pf+7vw6nvnq@trendyolmail.com shipping_info: type: object properties: full_name: type: string example: 'Yasin AYDOĞDU' gsm: type: string example: '1231231212' identification_no: type: string example: '11111111111' city: type: string example: İstanbul district: type: string example: Esenler neighborhood: type: string example: Esenler postal_code: type: string example: '01010' address: type: string example: 'Çifte Havuzlar, YTÜ Davutpaşa Kampüsü, Teknopark D:C1 Blok/205, 34220 Esenler/İstanbul Bina No:1 Daire:2 Esenler İstanbul Oms Address Description' billing_info: type: object properties: full_name: type: string example: 'Proj-e Yazılım' gsm: type: string example: '1231231212' identification_no: type: string example: '11111111111' tax_number: type: string example: '11111111111' tax_office: type: string example: null city: type: string example: İstanbul district: type: string example: Esenler neighborhood: type: string example: Esenler postal_code: type: string example: '01010' address: type: string example: null cargo_info: type: object properties: company: type: string example: null type: type: string example: 'Satıcı Öder' campaing_no: type: string example: '7250000006671572' tracking_no: type: string example: null order_items: type: array example: - marketplace_id: '4221437' marketplace_product_id: '194768909016' stock_code: M520L11 product_name: 'NB Performance Mens Shoes-Sonay' variant_stock_code: null variant_name: null commission_price: 0 quantity: 2 total_price: 100000 items: type: object properties: marketplace_id: type: string example: '4221437' marketplace_product_id: type: string example: '194768909016' stock_code: type: string example: M520L11 product_name: type: string example: 'NB Performance Mens Shoes-Sonay' variant_stock_code: type: string example: null variant_name: type: string example: null commission_price: type: integer example: 0 quantity: type: integer example: 2 total_price: type: integer example: 100000 links: type: object properties: first: type: string example: '/api/v2/orders?page=1' last: type: string example: '/api/v2/orders?page=1' prev: type: string example: null next: type: string example: null meta: type: object properties: current_page: type: integer example: 1 from: type: integer example: 1 last_page: type: integer example: 1 links: type: array example: - url: null label: '« Önceki' active: false - url: '/api/v2/orders?page=1' label: '1' active: true - url: null label: 'Sonraki »' active: false items: type: object properties: url: type: string example: null label: type: string example: '« Önceki' active: type: boolean example: false path: type: string example: /api/v2/orders per_page: type: integer example: 100 to: type: integer example: 3 total: type: integer example: 3 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Sipariş Yönetimi' post: summary: 'Sipariş Oluştur' operationId: sipariOlutur description: '' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 198 order_code: 881448484 order_type: SOPYOAPI order_date: '2022-11-10 12:34' order_status: 1 erp_transfer_status: 0 market_place_id: null commission_total: 0 total_price: 0 customer_info: id: 169 name: 'Sinan Gülsever' email: sinan@sopyo.com phone: null tax_no: null tax_office: null shipping_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: '0525841' city: BURSA district: Demirtaş neighborhood: Demirtaş postal_code: null address: BURSA billing_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: null tax_number: 5588 tax_office: Nilüfer city: BURSA district: Demirtaş neighborhood: null postal_code: null address: BURSA cargo_info: company: null type: null campaing_no: null tracking_no: null order_items: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 properties: data: type: object properties: id: type: integer example: 198 order_code: type: integer example: 881448484 order_type: type: string example: SOPYOAPI order_date: type: string example: '2022-11-10 12:34' order_status: type: integer example: 1 erp_transfer_status: type: integer example: 0 market_place_id: type: string example: null commission_total: type: integer example: 0 total_price: type: integer example: 0 customer_info: type: object properties: id: type: integer example: 169 name: type: string example: 'Sinan Gülsever' email: type: string example: sinan@sopyo.com phone: type: string example: null tax_no: type: string example: null tax_office: type: string example: null shipping_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: '0525841' city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: Demirtaş postal_code: type: string example: null address: type: string example: BURSA billing_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: null tax_number: type: integer example: 5588 tax_office: type: string example: Nilüfer city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: null postal_code: type: string example: null address: type: string example: BURSA cargo_info: type: object properties: company: type: string example: null type: type: string example: null campaing_no: type: string example: null tracking_no: type: string example: null order_items: type: array example: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 items: type: object properties: marketplace_id: type: string example: null marketplace_product_id: type: string example: null stock_code: type: string example: '7070' product_name: type: string example: 'Test ürün' variant_stock_code: type: string example: null variant_name: type: string example: null commission_price: type: string example: null quantity: type: integer example: 1 total_price: type: integer example: 780 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. tags: - 'Sipariş Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: order_code: type: string description: 'Sipariş kodu bilgisi' example: null order_status: type: integer description: 'Sipariş durum bilgisi.(0,1,2,3 değerlerinden birini içermelidir)' example: null total_price: type: decimal description: 'Sipariş toplam tutar bilgisi' example: null commission_total: type: decimal description: 'Toplam komisyon tutarı bilgisi' example: null customer_info: type: object description: 'Müşteri bilgisi' example: null properties: email: type: string description: 'Müşteri e-posta bilgisi' example: null name: type: string description: 'Müşteri ad soyad bilgisi.' example: null phone: type: string description: 'Müşteri telefon bilgisi.' example: null tax_no: type: string description: 'Müşteri vergi numarası bilgisi.' example: null tax_office: type: string description: 'Müşteri vergi dairesi bilgisi.' example: null shipping_info: type: object description: 'Sipariş teslimat bilgisi.' example: null properties: full_name: type: string description: 'Sipariş teslimat müşteri ad soyad bilgisi.' example: null gsm: type: string description: 'Sipariş teslimat müşteri telefon bilgisi.' example: null identification_no: type: string description: 'Sipariş teslimat müşteri T.C kimlik no bilgisi.' example: null city: type: string description: 'Sipariş teslimat şehir bilgisi.' example: null district: type: string description: 'Sipariş teslimat ilçe bilgisi.' example: null neighborhood: type: string description: 'Sipariş teslimat mahalle bilgisi.' example: null postal_code: type: string description: 'Sipariş teslimat posta kodu bilgisi.' example: null address: type: string description: 'Sipariş teslimat adres bilgisi.' example: null billing_info: type: object description: 'Sipariş fatura bilgisi.' example: null properties: full_name: type: string description: 'Müşteri ad soyad bilgisi.' example: null gsm: type: string description: 'Fatura müşteri telefon bilgisi.' example: null tax_number: type: string description: 'Müşteri vergi no bilgisi.' example: null tax_office: type: string description: 'Müşteri vergi dairesi bilgisi.' example: null identification_no: type: string description: 'Müşteri T.C kimlik no bilgisi.' example: null city: type: string description: 'Müşteri şehir bilgisi.' example: null district: type: string description: 'Müşteri ilçe bilgisi.' example: null neighborhood: type: string description: 'Müşteri mahalle bilgisi.' example: null postal_code: type: string description: 'Müşteri adres posta kodu bilgisi.' example: null address: type: string description: 'Müşteri adres bilgisi.' example: null cargo_info: type: object description: 'Sipariş kargo bilgisi.' example: null properties: company: type: string description: 'Kargo firma bilgisi.' example: null type: type: string description: 'Kargo tipi bilgisi. (Alıcı Öder/Gönderici Öder)' example: null campaing_no: type: string description: 'Kargo kapmanya kodu bilgisi' example: null tracking_no: type: string description: 'Kargo takip kodu bilgisi' example: null order_items: type: 'string[]' description: 'Sipariş verilen ürünlerin bilgisi.' example: null required: - order_code - order_status - total_price - customer_info - shipping_info - billing_info - order_items '/api/v2/orders/{id}': get: summary: 'Sipariş Göster' operationId: sipariGster description: '' parameters: [] responses: 201: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 198 order_code: 881448484 order_type: SOPYOAPI order_date: '2022-11-10 12:34' order_status: 1 market_place_id: null commission_total: 0 total_price: 0 customer_info: id: 169 name: 'Sinan Gülsever' email: sinan@sopyo.com phone: null tax_no: null tax_office: null shipping_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: '0525841' city: BURSA district: Demirtaş neighborhood: Demirtaş postal_code: null address: BURSA billing_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: null tax_number: 5588 tax_office: Nilüfer city: BURSA district: Demirtaş neighborhood: null postal_code: null address: BURSA cargo_info: company: null type: null campaing_no: null tracking_no: null order_items: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 properties: data: type: object properties: id: type: integer example: 198 order_code: type: integer example: 881448484 order_type: type: string example: SOPYOAPI order_date: type: string example: '2022-11-10 12:34' order_status: type: integer example: 1 market_place_id: type: string example: null commission_total: type: integer example: 0 total_price: type: integer example: 0 customer_info: type: object properties: id: type: integer example: 169 name: type: string example: 'Sinan Gülsever' email: type: string example: sinan@sopyo.com phone: type: string example: null tax_no: type: string example: null tax_office: type: string example: null shipping_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: '0525841' city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: Demirtaş postal_code: type: string example: null address: type: string example: BURSA billing_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: null tax_number: type: integer example: 5588 tax_office: type: string example: Nilüfer city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: null postal_code: type: string example: null address: type: string example: BURSA cargo_info: type: object properties: company: type: string example: null type: type: string example: null campaing_no: type: string example: null tracking_no: type: string example: null order_items: type: array example: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 items: type: object properties: marketplace_id: type: string example: null marketplace_product_id: type: string example: null stock_code: type: string example: '7070' product_name: type: string example: 'Test ürün' variant_stock_code: type: string example: null variant_name: type: string example: null commission_price: type: string example: null quantity: type: integer example: 1 total_price: type: integer example: 780 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Sipariş Yönetimi' delete: summary: 'Sipariş Kaydı Sil' operationId: sipariKaydSil description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Sipariş Yönetimi' parameters: - in: path name: id description: 'Sipariş ID' example: null required: true schema: type: integer '/api/v2/orders/orderCode/{orderCode}': put: summary: 'Siparişi Sipariş Kodu ile Güncelle' operationId: sipariiSipariKoduIleGncelle description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 198 order_code: 881448484 order_type: SOPYOAPI order_date: '2022-11-10 12:34' order_status: 1 market_place_id: null commission_total: 0 total_price: 0 customer_info: id: 169 name: 'Sinan Gülsever' email: sinan@sopyo.com phone: null tax_no: null tax_office: null shipping_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: '0525841' city: BURSA district: Demirtaş neighborhood: Demirtaş postal_code: null address: BURSA billing_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: null tax_number: 5588 tax_office: Nilüfer city: BURSA district: Demirtaş neighborhood: null postal_code: null address: BURSA cargo_info: company: null type: null campaing_no: null tracking_no: null order_items: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 properties: data: type: object properties: id: type: integer example: 198 order_code: type: integer example: 881448484 order_type: type: string example: SOPYOAPI order_date: type: string example: '2022-11-10 12:34' order_status: type: integer example: 1 market_place_id: type: string example: null commission_total: type: integer example: 0 total_price: type: integer example: 0 customer_info: type: object properties: id: type: integer example: 169 name: type: string example: 'Sinan Gülsever' email: type: string example: sinan@sopyo.com phone: type: string example: null tax_no: type: string example: null tax_office: type: string example: null shipping_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: '0525841' city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: Demirtaş postal_code: type: string example: null address: type: string example: BURSA billing_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: null tax_number: type: integer example: 5588 tax_office: type: string example: Nilüfer city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: null postal_code: type: string example: null address: type: string example: BURSA cargo_info: type: object properties: company: type: string example: null type: type: string example: null campaing_no: type: string example: null tracking_no: type: string example: null order_items: type: array example: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 items: type: object properties: marketplace_id: type: string example: null marketplace_product_id: type: string example: null stock_code: type: string example: '7070' product_name: type: string example: 'Test ürün' variant_stock_code: type: string example: null variant_name: type: string example: null commission_price: type: string example: null quantity: type: integer example: 1 total_price: type: integer example: 780 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Not Found' properties: status: type: boolean example: false message: type: string example: 'Not Found' tags: - 'Sipariş Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: order_status: type: number description: 'Sipariş durumu, 1,2,3,4 değerleri içermelidir' example: null erp_transfer_status: type: number description: 'Sipariş erp aktarım durumu 0,1 değerleri içermelidir' example: null cargo_info: type: object description: 'Sipariş kargo bilgisi' example: null properties: company: type: string description: 'Kargo firma bilgisi.' example: null type: type: string description: 'Kargo tipi bilgisi. (Alıcı Öder/Gönderici Öder)' example: null campaing_no: type: string description: 'Kargo kapmanya kodu bilgisi' example: null tracking_no: type: string description: 'Kargo takip kodu bilgisi' example: null required: - cargo_info parameters: - in: path name: orderCode description: 'Sipariş Kodu' example: null required: true schema: type: string '/api/v2/orders/id/{id}': put: summary: 'Siparişi Sipariş ID ile Güncelle' operationId: sipariiSipariIDIleGncelle description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: data: id: 198 order_code: 881448484 order_type: SOPYOAPI order_date: '2022-11-10 12:34' order_status: 1 market_place_id: null commission_total: 0 total_price: 0 customer_info: id: 169 name: 'Sinan Gülsever' email: sinan@sopyo.com phone: null tax_no: null tax_office: null shipping_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: '0525841' city: BURSA district: Demirtaş neighborhood: Demirtaş postal_code: null address: BURSA billing_info: full_name: 'Sinan Gülsever' gsm: '5346656326' identification_no: null tax_number: 5588 tax_office: Nilüfer city: BURSA district: Demirtaş neighborhood: null postal_code: null address: BURSA cargo_info: company: null type: null campaing_no: null tracking_no: null order_items: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 properties: data: type: object properties: id: type: integer example: 198 order_code: type: integer example: 881448484 order_type: type: string example: SOPYOAPI order_date: type: string example: '2022-11-10 12:34' order_status: type: integer example: 1 market_place_id: type: string example: null commission_total: type: integer example: 0 total_price: type: integer example: 0 customer_info: type: object properties: id: type: integer example: 169 name: type: string example: 'Sinan Gülsever' email: type: string example: sinan@sopyo.com phone: type: string example: null tax_no: type: string example: null tax_office: type: string example: null shipping_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: '0525841' city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: Demirtaş postal_code: type: string example: null address: type: string example: BURSA billing_info: type: object properties: full_name: type: string example: 'Sinan Gülsever' gsm: type: string example: '5346656326' identification_no: type: string example: null tax_number: type: integer example: 5588 tax_office: type: string example: Nilüfer city: type: string example: BURSA district: type: string example: Demirtaş neighborhood: type: string example: null postal_code: type: string example: null address: type: string example: BURSA cargo_info: type: object properties: company: type: string example: null type: type: string example: null campaing_no: type: string example: null tracking_no: type: string example: null order_items: type: array example: - marketplace_id: null marketplace_product_id: null stock_code: '7070' product_name: 'Test ürün' variant_stock_code: null variant_name: null commission_price: null quantity: 1 total_price: 780 items: type: object properties: marketplace_id: type: string example: null marketplace_product_id: type: string example: null stock_code: type: string example: '7070' product_name: type: string example: 'Test ürün' variant_stock_code: type: string example: null variant_name: type: string example: null commission_price: type: string example: null quantity: type: integer example: 1 total_price: type: integer example: 780 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Not Found' properties: status: type: boolean example: false message: type: string example: 'Not Found' tags: - 'Sipariş Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: order_status: type: number description: 'Sipariş durumu, 1,2,3,4 değerleri içermelidir' example: null erp_transfer_status: type: number description: 'Sipariş erp aktarım durumu 0,1 değerleri içermelidir' example: null cargo_info: type: object description: 'Sipariş kargo bilgisi' example: null properties: company: type: string description: 'Kargo firma bilgisi.' example: null type: type: string description: 'Kargo tipi bilgisi. (Alıcı Öder/Gönderici Öder)' example: null campaing_no: type: string description: 'Kargo kapmanya kodu bilgisi' example: null tracking_no: type: string description: 'Kargo takip kodu bilgisi' example: null required: - cargo_info '/api/v2/orders/sendOrderMarketPlace/{order_code}': post: summary: 'Sipariş Fatura İletimi' operationId: sipariFaturaletimi description: '' parameters: - in: header name: Authorization description: '' example: 'Bearer {YOUR_AUTH_KEY}' schema: type: string responses: 200: description: 'İşlem Başarılı' content: application/json: schema: type: object example: status: true message: 'İşlem başarılı' properties: status: type: boolean example: true message: type: string example: 'İşlem başarılı' 401: description: 'Kimlik Doğrulanmamış' content: application/json: schema: type: object example: status: false message: Unauthenticated. properties: status: type: boolean example: false message: type: string example: Unauthenticated. 404: description: 'Kayıt Bulunamadı' content: application/json: schema: type: object example: status: false message: 'Kayıt Bulunamadı !' properties: status: type: boolean example: false message: type: string example: 'Kayıt Bulunamadı !' tags: - 'Sipariş Yönetimi' requestBody: required: false content: application/json: schema: type: object properties: base64: type: string description: 'Siparişe ait faturanın pdfinin base64 hali' example: null parameters: - in: path name: order_code description: 'Sipariş Kodu' example: 1 required: true schema: type: string /api/v2/process/price-and-stock: post: summary: 'Stok & Fiyat Güncelle' operationId: stokFiyatGncelle description: 'Stok ve fiyat güncelleme işlemi' parameters: [] responses: 200: description: Ok content: application/json: schema: type: object example: status: true message: '' success: [] errors: [] success_count: 0 error_count: 0 properties: status: type: boolean example: true message: type: string example: '' success: type: array example: [] description: 'Başarılı güncellemelerin stok kodu bilgisini vermektedir.' errors: type: array example: [] description: 'Başarısız işlemleri, içerisinde stok kodu ve başarısız bilgi mesajı ile birlikte vermektedir.' success_count: type: integer example: 0 description: 'Başarılı olan işlemlerin toplam sayısını vermektedir.' error_count: type: integer example: 0 description: 'Başarısız olan işlemlerini toplam sayısını vermektedir.' tags: - 'Stok & Fiyat Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: items: type: object description: 'Fiyat ve stok güncelleme yapacağınız ürünleri items değeri ile gönderiniz.
Ürün veya fiyat güncellemek için fiyat grublarına `(price_2,price_2...)`, stok bilgisi güncellemek için `stock` bilgisi gönderebilirsiniz.' example: null properties: stock_code: type: string description: 'Ürün veya varyant stok kodu gönderiniz.' example: '584854854' type: type: string description: 'Tip olarak ürün ise `product` varyant ise `variant` şeklinde gönderiniz.' example: product stock: type: integer description: 'Ürün veya varyant stok bilgisi gönderiniz.' example: 60 price_1: type: array description: '' example: - [] items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 1 için satış fiyatı.' example: '7' list_price: type: decimal description: 'Fiyat grubu 1 için liste fiyatı.' example: '3.31' required: - sale_price price_2: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 2 için satış fiyatı.' example: '72810' list_price: type: string description: 'Fiyat grubu 2 için liste fiyatı.' example: '14586' required: - sale_price price_3: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 3 için satış fiyatı.' example: '7.1' list_price: type: string description: 'Fiyat grubu 3 için liste fiyatı.' example: '0.27' required: - sale_price price_4: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 4 için satış fiyatı.' example: '494' list_price: type: string description: 'Fiyat grubu 4 için liste fiyatı.' example: '83' required: - sale_price price_5: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 5 için satış fiyatı.' example: '03' list_price: type: string description: 'Fiyat grubu 5 için liste fiyatı.' example: '3.6' required: - sale_price price_6: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 6 için satış fiyatı.' example: '0.39' list_price: type: string description: 'Fiyat grubu 6 için liste fiyatı.' example: '4.40' required: - sale_price price_7: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 7 için satış fiyatı.' example: '883537.9' list_price: type: string description: 'Fiyat grubu 7 için liste fiyatı.' example: '69770' required: - sale_price price_8: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 8 için satış fiyatı.' example: '80.8' list_price: type: string description: 'Fiyat grubu 8 için liste fiyatı.' example: '74.7' required: - sale_price price_9: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 9 için satış fiyatı.' example: '0391' list_price: type: string description: 'Fiyat grubu 9 için liste fiyatı.' example: '4' required: - sale_price price_10: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 10 için satış fiyatı.' example: '71336328.3' list_price: type: string description: 'Fiyat grubu 10 için liste fiyatı.' example: '2' required: - sale_price required: - items /api/v2/process/price: post: summary: 'Fiyat Güncelle' operationId: fiyatGncelle description: 'Ürün ve varyant fiyat güncelleme işlemi' parameters: [] responses: 200: description: Ok content: application/json: schema: type: object example: status: true message: '' success: [] errors: [] success_count: 0 error_count: 0 properties: status: type: boolean example: true message: type: string example: '' success: type: array example: [] description: 'Başarılı güncellemelerin stok kodu bilgisini vermektedir.' errors: type: array example: [] description: 'Başarısız işlemleri, içerisinde stok kodu ve başarısız bilgi mesajı ile birlikte vermektedir.' success_count: type: integer example: 0 description: 'Başarılı olan işlemlerin toplam sayısını vermektedir.' error_count: type: integer example: 0 description: 'Başarısız olan işlemlerini toplam sayısını vermektedir.' tags: - 'Stok & Fiyat Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: items: type: object description: 'Fiyat güncelleme yapacağınız ürünleri items değeri ile gönderiniz' example: null properties: stock_code: type: string description: 'Ürün veya varyant stok kodu gönderiniz.' example: '584854854' type: type: string description: 'Tip olarak ürün ise `product` varyant ise `variant` şeklinde gönderiniz.' example: product price_1: type: array description: '' example: - [] items: type: object properties: sale_price: type: decimal description: 'Fiyat grubu 1 için satış fiyatı.' example: '7' list_price: type: decimal description: 'Fiyat grubu 1 için liste fiyatı.' example: '3.31' required: - sale_price price_2: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 2 için satış fiyatı.' example: '72810' list_price: type: string description: 'Fiyat grubu 2 için liste fiyatı.' example: '14586' required: - sale_price price_3: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 3 için satış fiyatı.' example: '7.1' list_price: type: string description: 'Fiyat grubu 3 için liste fiyatı.' example: '0.27' required: - sale_price price_4: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 4 için satış fiyatı.' example: '494' list_price: type: string description: 'Fiyat grubu 4 için liste fiyatı.' example: '83' required: - sale_price price_5: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 5 için satış fiyatı.' example: '03' list_price: type: string description: 'Fiyat grubu 5 için liste fiyatı.' example: '3.6' required: - sale_price price_6: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 6 için satış fiyatı.' example: '0.39' list_price: type: string description: 'Fiyat grubu 6 için liste fiyatı.' example: '4.40' required: - sale_price price_7: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 7 için satış fiyatı.' example: '883537.9' list_price: type: string description: 'Fiyat grubu 7 için liste fiyatı.' example: '69770' required: - sale_price price_8: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 8 için satış fiyatı.' example: '80.8' list_price: type: string description: 'Fiyat grubu 8 için liste fiyatı.' example: '74.7' required: - sale_price price_9: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 9 için satış fiyatı.' example: '0391' list_price: type: string description: 'Fiyat grubu 9 için liste fiyatı.' example: '4' required: - sale_price price_10: type: array description: '' example: - [] items: type: object properties: sale_price: type: string description: 'Fiyat grubu 10 için satış fiyatı.' example: '71336328.3' list_price: type: string description: 'Fiyat grubu 10 için liste fiyatı.' example: '2' required: - sale_price required: - items /api/v2/process/stock: post: summary: 'Stok Güncelle' operationId: stokGncelle description: 'Ürün ve varyant stok güncelleme işlemi' parameters: [] responses: 200: description: Ok content: application/json: schema: type: object example: status: true message: '' success: [] errors: [] success_count: 0 error_count: 0 properties: status: type: boolean example: true message: type: string example: '' success: type: array example: [] description: 'Başarılı güncellemelerin stok kodu bilgisini vermektedir.' errors: type: array example: [] description: 'Başarısız işlemleri, içerisinde stok kodu ve başarısız bilgi mesajı ile birlikte vermektedir.' success_count: type: integer example: 0 description: 'Başarılı olan işlemlerin toplam sayısını vermektedir.' error_count: type: integer example: 0 description: 'Başarısız olan işlemlerini toplam sayısını vermektedir.' tags: - 'Stok & Fiyat Yönetimi' requestBody: required: true content: application/json: schema: type: object properties: items: type: object description: 'Stok güncelleme yapacağınız ürünleri items değeri ile gönderiniz.' example: null properties: stock_code: type: string description: 'Ürün veya varyant stok kodu gönderiniz.' example: '584854854' type: type: string description: 'Tip olarak ürün ise `product` varyant ise `variant` şeklinde gönderiniz.' example: product stock: type: integer description: 'Ürün veya varyant stok bilgisi gönderiniz.' example: 60 required: - items tags: - name: 'Giriş İşlemleri' description: Login - name: 'Katalog Yönetimi' description: null - name: 'Sipariş Yönetimi' description: 'Sipariş ile ilgili işlemleri bu bölümde yapabilirsiniz.' - name: 'Stok & Fiyat Yönetimi' description: 'Stok ve Fiyat güncelleme işlemleri bu bölümde yapabilirsiniz.'